Closed gerion0 closed 3 years ago
Hello @gerion0, I had the issue too when trying to prepare an ebuild for 1.12.0. The reason are the changes in clang library packaging (c.f. https://archives.gentoo.org/gentoo-dev/message/6d3cf88d858fcf3fbb11818ce5d6ea42). These changes need some more fixes in the build system.
Hmm, then the quick fix (for 1.12) would be to force the Clang version to <=9.
I have the same issue, and have found that the llvm eclass does not limit the version of llvm used in the build. I will look into this soon as I need ispc to compile for testing oidn with blender
I have altered the ebuild to patch cmake/LLVMConfig.cmake so that it searches for the appropriate LLVM version. This fixes the issue for me
I have no issues with 1.14.0 in the tree, closing this for now
I got this error:
I have the clang libraries installed.
I tried to fix this myself, but failed. However, I have a few comments:
CMAKE_BUILD_TYPE
to beRelease
,Debug
orRelWithDebInfo
, while Gentoo setsGentoo
asCMAKE_BUILD_TYPE
by default. I could fix that by adopting the same lines as in llvm-ocaml.