Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mesa still depending on LLVM_COMPAT 19 [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1491
Location: Berlin, Germany

PostPosted: Sat Jun 07, 2025 8:37 am    Post subject: mesa still depending on LLVM_COMPAT 19 [SOLVED] Reply with quote

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
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4805
Location: Germany

PostPosted: Sat Jun 07, 2025 9:49 am    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31697
Location: here

PostPosted: Sat Jun 07, 2025 9:53 am    Post subject: Reply with quote

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
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1491
Location: Berlin, Germany

PostPosted: Sat Jun 07, 2025 12:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



OSZAR »