PIPIPIG233666 / gentoo_pppig

Gentoo custom ebuild
0 stars 0 forks source link

hipcc #4

Closed PIPIPIG233666 closed 1 year ago

PIPIPIG233666 commented 1 year ago

Apparently clang still doesn't know where rocm device libs and hip runtime are

PIPIPIG233666 commented 1 year ago

https://github.com/ROCm-Developer-Tools/HIP/blob/9837883d6998a87f9d978d216342f54a0ab0d566/hip-lang-config.cmake.in#L93

PIPIPIG233666 commented 1 year ago

no hipcc is fine its clang itself not being able to see the path https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1896416.html

fix: https://github.com/llvm/llvm-project/commit/082593ff7aff68060bd66dccfa43493d07d9c255

PIPIPIG233666 commented 1 year ago

or here https://github.com/littlewu2508/gentoo/commit/fee535924a57c3873f489872fe26648e0820d8de#diff-c5f64b7199be4ddedeff48eca91972b7c82a5cd62dfa5f2e928046cbc5799e54 for a manual fix instead of the upstream one

PIPIPIG233666 commented 1 year ago

Uh after doing so hipcc failed to build anything so some sort of conflict is happening

PIPIPIG233666 commented 1 year ago

24599bc2a4e841ecea8b8b17cea147b911aa09c0 fixed