Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Clang profile, two llvm versions
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
RIA77
Guru
Guru


Joined: 24 Feb 2016
Posts: 393

PostPosted: Wed Dec 11, 2024 6:43 pm    Post subject: Clang profile, two llvm versions Reply with quote

Can I remove one LLVM ?
I have llvm 18 and 19.
I have been using stable Gentoo.

Code:
alculating dependencies... done!
  media-libs/mesa-24.2.6-r2 pulled in by:
    x11-base/xorg-server-21.1.14 requires >=media-libs/mesa-18[X(+),egl(+),gbm(+)]
    x11-drivers/xf86-video-ati-22.0.0 requires media-libs/mesa


Can I remove 18 ?
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22806

PostPosted: Wed Dec 11, 2024 7:21 pm    Post subject: Reply with quote

Try it and see. What is the output of emerge --ask --verbose --depclean sys-devel/llvm?
Back to top
View user's profile Send private message
RIA77
Guru
Guru


Joined: 24 Feb 2016
Posts: 393

PostPosted: Wed Dec 11, 2024 8:03 pm    Post subject: Reply with quote

Code:
  sys-devel/llvm-18.1.8-r1 pulled in by:
    @system requires sys-devel/llvm
    media-libs/mesa-24.2.6-r2 requires sys-devel/llvm:18[llvm_targets_AMDGPU(+),abi_x86_64(-)]
    sys-devel/llvm-toolchain-symlinks-18-r1 requires sys-devel/llvm:18

  sys-devel/llvm-19.1.4 pulled in by:
    @system requires sys-devel/llvm
    sys-devel/clang-19.1.4 requires ~sys-devel/llvm-19.1.4:19/19.1=[-debug,abi_x86_64(-)], ~sys-devel/llvm-19.1.4[llvm_targets_Lanai], ~sys-devel/llvm-19.1.4[llvm_targets_Sparc], ~sys-devel/llvm-19.1.4[llvm_targets_BPF], ~sys-devel/llvm-19.1.4[llvm_targets_AArch64], ~sys-devel/llvm-19.1.4[llvm_targets_X86], ~sys-devel/llvm-19.1.4[llvm_targets_MSP430], ~sys-devel/llvm-19.1.4[llvm_targets_AVR], ~sys-devel/llvm-19.1.4[llvm_targets_PowerPC], ~sys-devel/llvm-19.1.4[llvm_targets_ARM], ~sys-devel/llvm-19.1.4:19=[-debug,abi_x86_64(-)], ~sys-devel/llvm-19.1.4[llvm_targets_SystemZ], ~sys-devel/llvm-19.1.4[llvm_targets_NVPTX], ~sys-devel/llvm-19.1.4[llvm_targets_VE], ~sys-devel/llvm-19.1.4[llvm_targets_Hexagon], ~sys-devel/llvm-19.1.4[llvm_targets_RISCV], ~sys-devel/llvm-19.1.4[llvm_targets_LoongArch], ~sys-devel/llvm-19.1.4[llvm_targets_XCore], ~sys-devel/llvm-19.1.4[llvm_targets_WebAssembly], ~sys-devel/llvm-19.1.4[llvm_targets_AMDGPU], ~sys-devel/llvm-19.1.4[llvm_targets_Mips]
    sys-devel/lld-19.1.4 requires ~sys-devel/llvm-19.1.4[-debug,-zstd], sys-devel/llvm:19
    sys-devel/llvm-toolchain-symlinks-19 requires sys-devel/llvm:19
    sys-libs/compiler-rt-19.1.4 requires sys-devel/llvm:19
    sys-libs/libcxx-19.1.4 requires sys-devel/llvm:19
    sys-libs/libcxxabi-19.1.4 requires sys-devel/llvm:19
    sys-libs/llvm-libunwind-19.1.4 requires sys-devel/llvm:19
Back to top
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1760
Location: South America

PostPosted: Wed Dec 11, 2024 8:50 pm    Post subject: Reply with quote

RIA77 wrote:
Can I remove 18 ?

No. Mesa specifically needs 18, at least for now:

RIA77 wrote:
Code:
media-libs/mesa-24.2.6-r2 requires sys-devel/llvm:18[llvm_targets_AMDGPU(+),abi_x86_64(-)]

_________________
NeddySeagoon wrote:
I'm not a witch, I'm a retired electronics engineer :)
Ionen wrote:
As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2503

PostPosted: Wed Dec 11, 2024 9:13 pm    Post subject: Re: Clang profile, two llvm versions Reply with quote

RIA77 wrote:

Can I remove 18 ?


If emerge --depclean does not want to clean it, something holds on to it. GDH-Gentoo has already given you the answer to what it is.

You don't need to remove it, it won't do much for you. It won't even free significant amount of space and it doesn't run by itself, so you don't have a good reason to want to remove it until emerge --depclean decides so.

Best Regards,
Georgi
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3449
Location: Canada

PostPosted: Thu Dec 12, 2024 12:09 am    Post subject: Re: Clang profile, two llvm versions Reply with quote

logrusx wrote:
RIA77 wrote:

Can I remove 18 ?


If emerge --depclean does not want to clean it, something holds on to it. GDH-Gentoo has already given you the answer to what it is.

You don't need to remove it, it won't do much for you. It won't even free significant amount of space and it doesn't run by itself, so you don't have a good reason to want to remove it until emerge --depclean decides so.

Best Regards,
Georgi


But then you may be recompiling the version you do not use if it is updated, and clang with llvm is a non-trivial compilation. Recent introduction of 19 and update of 18 took my laptop few hours to deal with.
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3449
Location: Canada

PostPosted: Thu Dec 12, 2024 12:15 am    Post subject: Reply with quote

GDH-gentoo wrote:
RIA77 wrote:
Can I remove 18 ?

No. Mesa specifically needs 18, at least for now:

RIA77 wrote:
Code:
media-libs/mesa-24.2.6-r2 requires sys-devel/llvm:18[llvm_targets_AMDGPU(+),abi_x86_64(-)]



Also qttools it seems. Actually nothing needs 19 version :)
Back to top
View user's profile Send private message
bstaletic
Guru
Guru


Joined: 05 Apr 2014
Posts: 398

PostPosted: Thu Dec 12, 2024 1:04 am    Post subject: Reply with quote

media-libs/mesa (and intel_clc) works find with LLVM_SLOT=19. It's just the ebuids that are missing an update.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2503

PostPosted: Thu Dec 12, 2024 4:50 am    Post subject: Reply with quote

bstaletic wrote:
media-libs/mesa (and intel_clc) works find with LLVM_SLOT=19. It's just the ebuids that are missing an update.

If you're sure about that, file a bug.

Best Regards,
Georgi
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