View previous topic :: View next topic |
Author |
Message |
RIA77 Guru
Joined: 24 Feb 2016 Posts: 399
|
Posted: Wed Dec 11, 2024 6:43 pm Post subject: Clang profile, two llvm versions |
|
|
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 |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22877
|
Posted: Wed Dec 11, 2024 7:21 pm Post subject: |
|
|
Try it and see. What is the output of emerge --ask --verbose --depclean sys-devel/llvm? |
|
Back to top |
|
|
RIA77 Guru
Joined: 24 Feb 2016 Posts: 399
|
Posted: Wed Dec 11, 2024 8:03 pm Post subject: |
|
|
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 |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1777 Location: South America
|
Posted: Wed Dec 11, 2024 8:50 pm Post subject: |
|
|
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 |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2528
|
Posted: Wed Dec 11, 2024 9:13 pm Post subject: Re: Clang profile, two llvm versions |
|
|
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 |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3461 Location: Canada
|
Posted: Thu Dec 12, 2024 12:09 am Post subject: Re: Clang profile, two llvm versions |
|
|
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 |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3461 Location: Canada
|
Posted: Thu Dec 12, 2024 12:15 am Post subject: |
|
|
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 |
|
|
bstaletic Guru
Joined: 05 Apr 2014 Posts: 408
|
Posted: Thu Dec 12, 2024 1:04 am Post subject: |
|
|
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 |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2528
|
Posted: Thu Dec 12, 2024 4:50 am Post subject: |
|
|
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 |
|
|
bstaletic Guru
Joined: 05 Apr 2014 Posts: 408
|
Posted: Thu Dec 12, 2024 8:32 am Post subject: |
|
|
I should have been more careful with my wording, but in my defense, it was almost 03:00 and I should have been asleep.
I've ran the tests with LLVM_SLOT=19 set on libclc, intel_clc and mesa. All tests pass, but I only have VIDEO_CARDS=intel, so I don't know if my testing is enough for the bug report.
I've been running with only llvm:19 on my system for a few months now. |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2528
|
Posted: Thu Dec 12, 2024 9:00 am Post subject: |
|
|
Look at the stabilization bugs. Your input might still be useful.
Best Regards,
Georgi |
|
Back to top |
|
|
RIA77 Guru
Joined: 24 Feb 2016 Posts: 399
|
Posted: Thu Dec 12, 2024 6:28 pm Post subject: |
|
|
Can I force rebuild of mesa with llvm 18 and not 19 ? |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22877
|
Posted: Thu Dec 12, 2024 6:45 pm Post subject: |
|
|
As I understand it, Mesa is already using LLVM 18, so there is nothing to force. There was discussion here of whether LLVM 19 would be viable for Mesa. |
|
Back to top |
|
|
RIA77 Guru
Joined: 24 Feb 2016 Posts: 399
|
Posted: Thu Dec 12, 2024 7:31 pm Post subject: |
|
|
Yes, sorry.
Force rebuild with llvm 19 and remove llvm 18.
Or rebuild whole world with 18 and remove 19 ? |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1777 Location: South America
|
Posted: Thu Dec 12, 2024 8:11 pm Post subject: |
|
|
Unless you want to create a maintenance problem, leave both versions alone.
LLVM 18 is needed for Mesa. Some of its components link to this version's libraries, so you can't get rid of it for now.
And you'll have LLVM 19 because you are on an LLVM profile, 19 is the latest stable, and Gentoo is rolling release. _________________
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 |
|
|
|