View previous topic :: View next topic |
Author |
Message |
ExecutorElassus Veteran


Joined: 11 Mar 2004 Posts: 1491 Location: Berlin, Germany
|
Posted: Sat Jun 07, 2025 8:37 am Post subject: mesa still depending on LLVM_COMPAT 19 [SOLVED] |
|
|
So, I'd very much like to do away with having clang, clang-runtime, rt-compiler, etc having slotted installs of both -19.* and -20*. The dependency appears to be media-libs/mesa, but looking at mesa's ebuild shows that it is in fact compatible with LLVM_COMPAT-20.
However, trying 'emerge -pvc clang' gives this:
Code: | # emerge -pvc clang clang-runtime compiler-rt compiler-rt-sanitizers libclc clang-toolchain-symlinks
Calculating dependencies... done!
llvm-core/clang-19.1.7 pulled in by:
llvm-core/clang-toolchain-symlinks-19 requires llvm-core/clang:19
llvm-core/libclc-19.1.7 requires llvm-core/clang:19
llvm-runtimes/compiler-rt-19.1.7 requires llvm-core/clang:19
llvm-runtimes/compiler-rt-sanitizers-19.1.7 requires llvm-core/clang:19
media-libs/mesa-25.1.2 requires llvm-core/clang:19[llvm_targets_AMDGPU(+),abi_x86_32(-),abi_x86_64(-)]
|
In my make.conf I have only this for LLVM:
Code: |
LLVM_TARGETS="AMDGPU X86"
|
So how do I resolve this dependency to be able to remove the :19 version of all the LLVM packages?
Cheers,
EE
Last edited by ExecutorElassus on Sat Jun 07, 2025 12:22 pm; edited 1 time in total |
|
Back to top |
|
 |
Josef.95 Advocate

Joined: 03 Sep 2007 Posts: 4805 Location: Germany
|
Posted: Sat Jun 07, 2025 9:49 am Post subject: |
|
|
You can try in package.use: | llvm-core/libclc -llvm_slot_19 llvm_slot_20
media-libs/mesa -llvm_slot_19 llvm_slot_20 |
Code: | emerge -avuDU @world
emerge -a --depclean |
|
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31697 Location: here
|
Posted: Sat Jun 07, 2025 9:53 am Post subject: |
|
|
You should unmask a libclc version greater than 19.1.7. _________________ Questions are guaranteed in life; Answers aren't.
"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968 |
|
Back to top |
|
 |
ExecutorElassus Veteran


Joined: 11 Mar 2004 Posts: 1491 Location: Berlin, Germany
|
Posted: Sat Jun 07, 2025 12:10 pm Post subject: |
|
|
fedeliallalinea wrote: | You should unmask a libclc version greater than 19.1.7. |
It's unmasked but won't build because of the mesa dependency. I'll try Josef's suggestion and see how that works.
UPDATE: that did the trick. I've now unmerged all the LLVM-19 packages.
Cheers,
EE |
|
Back to top |
|
 |
|