xuhuisheng / rocm-build

build scripts for ROCm
Apache License 2.0
181 stars 35 forks source link

11.llvm-amdgpu.sh fails with recent linux kernel, cyclades removed from kernel headers #20

Closed kroll-j closed 2 years ago

kroll-j commented 2 years ago

Environment

Hardware description
GPU gfx803
CPU ryzen7
Software version
OS debian bookworm
ROCm 4.3
Python 3.9.9
Linux 5.15.0-1-amd64

What is the expected behavior

What actually happens

How to reproduce

There is a dependency on something called cyclades in llvm. Cyclades has been removed from the linux kernel headers. With a recent kernel, the llvm build will fail.

I applied this manually: https://reviews.llvm.org/rG68d5235cb58f988c71b403334cd9482d663841ab

and it seems to be building now.

xuhuisheng commented 2 years ago

I have met this issue on ubuntu-21.04 dialy build with kernel-5.13, too. Ubuntu-20.04 with kernel-5.11 compiled well.

xuhuisheng commented 2 years ago

Looks like ROCm-5.0.0 had resolved this problem.

xuhuisheng commented 2 years ago

I will close this issue, if you still meet the problem, please reopen it.