Summary: | sys-devel/llvm-15.0.0_rc2: llvm-config --cmakedir returns incorrect path, dependent packages can't find LLVMConfig.cmake | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Petr Polezhaev <NightNord> |
Component: | Current packages | Assignee: | LLVM support project <llvm> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | mgorny, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://reviews.llvm.org/D131878 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
compiler-rt-14.0.6-r1 fail build.log
Add LLVM_INSTALL_PACKAGE_DIR variable |
Description
Petr Polezhaev
2022-08-14 20:35:22 UTC
Created attachment 799627 [details]
compiler-rt-14.0.6-r1 fail build.log
Actually, I lied, compiler-rt still fails, it just needs a complete env update, and then it can't find the llvm cmake modules anymore
So, this is actually a non-minor bug. There is a workaround - remove llvm:15, update env, install llvm:15 again (from binpkg) and then everything works, but links with llvm:14
Created attachment 799633 [details, diff]
Add LLVM_INSTALL_PACKAGE_DIR variable
As I suspected, setting LLVM_INSTALL_PACKAGE_DIR fixes the issue. It is still affected by #850646 after that, but that one also has a working fix/workaround
The default LLVM_INSTALL_PACKAGE_DIR is correct. Something else goes wrong along the way. This is a regression from https://reviews.llvm.org/D130539. I'm working on a patch. This has been merged to main and release/15.x branches now. If you wish, you can confirm by installing 15.0.0.9999. Otherwise, it'll be part of _rc3. |