View previous topic :: View next topic |
Author |
Message |
saski4711 Apprentice
Joined: 24 Jun 2004 Posts: 201
|
Posted: Fri Nov 01, 2024 10:20 am Post subject: Two llvm versiones installed, how can I see dependencies |
|
|
Hello,
I have kind of a noob question. Currently I have two llvm versions on my system and updating both takes an awful lot of time and resources.
Code: |
eshowkw llvm
Keywords for sys-devel/llvm:
| | u |
| a a p s a l r | n |
| m r h p p l o m i s m | e u s | r
| d a m p p c a x p o i s 3 6 | a s l | e
| 6 r 6 p p 6 r 8 h n p c 9 8 | p e o | p
| 4 m 4 a c 4 c 6 a g s v 0 k | i d t | o
----------------------+-----------------------------+---------------------------+-------
15.0.7-r3 | + + + o + + + + o o o ~ o o | 8 o 15/15 | gentoo
15.0.7-r7 | ~ ~ ~ o ~ ~ ~ ~ o o o ~ o o | 8 o | gentoo
----------------------+-----------------------------+---------------------------+-------
16.0.6 | + + + o + + + + o ~ o ~ o o | 8 o 16/16 | gentoo
16.0.6-r5 | ~ ~ ~ o ~ ~ ~ ~ o ~ o ~ o o | 8 o | gentoo
----------------------+-----------------------------+---------------------------+-------
17.0.6 | + + + o + + + + o ~ o ~ o o | 8 o 17/17 | gentoo
17.0.6-r3 | ~ ~ ~ o ~ ~ ~ ~ o ~ o ~ o o | 8 o | gentoo
----------------------+-----------------------------+---------------------------+-------
18.1.8-r1 | + + + o + + + + o ~ ~ ~ o o | 8 o 18/18.1 | gentoo
18.1.8-r4 | ~ ~ ~ o ~ ~ ~ ~ o ~ ~ ~ o o | 8 # | gentoo
[I]18.1.8-r6 | ~ ~ ~ o ~ ~ ~ ~ o ~ ~ ~ o o | 8 o | gentoo
----------------------+-----------------------------+---------------------------+-------
19.1.2 | ~ ~ ~ o ~ ~ ~ ~ o ~ ~ ~ o o | 8 # 19/19.1 | gentoo
[I]19.1.3 | ~ ~ ~ o ~ ~ ~ ~ o ~ ~ ~ o o | 8 o | gentoo
----------------------+-----------------------------+---------------------------+-------
20.0.0_pre20241015 | o o o o o o o o o o o o o o | 8 o 20/20.0.0_pre20241015 | gentoo
----------------------+-----------------------------+---------------------------+-------
20.0.0_pre20241023 | o o o o o o o o o o o o o o | 8 o 20/20.0.0_pre20241023 | gentoo
----------------------+-----------------------------+---------------------------+-------
20.0.0_pre20241029 | o o o o o o o o o o o o o o | 8 o 20/20.0.0_pre20241029 | gentoo
----------------------+-----------------------------+---------------------------+-------
20.0.0.9999 | o o o o o o o o o o o o o o | 8 o 20/20.0.0.9999 | gentoo
|
My first idea was to get rid of one of them. My question is how can I tell what package depends on either llvm-18 and llvm-19? So far I failed to get that info using equery depends. I'd apprechiate if someone could help me out here.
Cheers,
Saski |
|
Back to top |
|
|
sMueggli Guru
Joined: 03 Sep 2022 Posts: 486
|
Posted: Fri Nov 01, 2024 10:24 am Post subject: |
|
|
For example
Code: | emerge --pretend --verbose --depclean llvm |
|
|
Back to top |
|
|
saski4711 Apprentice
Joined: 24 Jun 2004 Posts: 201
|
Posted: Fri Nov 01, 2024 10:35 am Post subject: |
|
|
sMueggli wrote: | For example
Code: | emerge --pretend --verbose --depclean llvm |
|
Oh yeah that's a clue, thanks! But I'm not sure how to read that:
Code: |
Calculating dependencies... done!
sys-devel/llvm-18.1.8-r6 pulled in by:
dev-util/intel_clc-24.2.6 requires sys-devel/llvm:18/18.1=, sys-devel/llvm:18=
dev-util/spirv-llvm-translator-18.1.4 requires sys-devel/llvm:18/18.1=, sys-devel/llvm:18=[abi_x86_64(-)]
sys-devel/clang-18.1.8-r6 requires ~sys-devel/llvm-18.1.8[llvm_targets_AVR], ~sys-devel/llvm-18.1.8:18/18.1=[-debug,abi_x86_64(-)], ~sys-devel/llvm-18.1.8[llvm_targets_SystemZ], >=sys-devel/llvm-18.1.8-r6:18/18.1=[-debug,abi_x86_64(-)], ~sys-devel/llvm-18.1.8[llvm_targets_WebAssembly], ~sys-devel/llvm-18.1.8[llvm_targets_BPF], ~sys-devel/llvm-18.1.8[llvm_targets_RISCV], ~sys-devel/llvm-18.1.8[llvm_targets_VE], >=sys-devel/llvm-18.1.8-r6:18=[-debug,abi_x86_64(-)], ~sys-devel/llvm-18.1.8[llvm_targets_Hexagon], ~sys-devel/llvm-18.1.8[llvm_targets_Sparc], ~sys-devel/llvm-18.1.8[llvm_targets_ARM], ~sys-devel/llvm-18.1.8[llvm_targets_AArch64], ~sys-devel/llvm-18.1.8:18=[-debug,abi_x86_64(-)], ~sys-devel/llvm-18.1.8[llvm_targets_XCore], ~sys-devel/llvm-18.1.8[llvm_targets_LoongArch], ~sys-devel/llvm-18.1.8[llvm_targets_MSP430], ~sys-devel/llvm-18.1.8[llvm_targets_NVPTX], ~sys-devel/llvm-18.1.8[llvm_targets_AMDGPU], ~sys-devel/llvm-18.1.8[llvm_targets_PowerPC], ~sys-devel/llvm-18.1.8[llvm_targets_Mips], ~sys-devel/llvm-18.1.8[llvm_targets_Lanai], ~sys-devel/llvm-18.1.8[llvm_targets_X86]
sys-devel/llvm-toolchain-symlinks-18-r1 requires sys-devel/llvm:18
sys-libs/compiler-rt-18.1.8-r1 requires sys-devel/llvm:18
sys-libs/compiler-rt-sanitizers-18.1.8-r6 requires sys-devel/llvm:18
sys-devel/llvm-19.1.3 pulled in by:
sys-devel/llvm-toolchain-symlinks-19 requires sys-devel/llvm:19
sys-devel/llvmgold-19 requires sys-devel/llvm:19[binutils-plugin]
|
It seems that llvm-19.1.3 has no dependencies other than to it's own. Does that mean I can safely remove llvm-19 without breaking any in-tree-packages? |
|
Back to top |
|
|
sMueggli Guru
Joined: 03 Sep 2022 Posts: 486
|
Posted: Fri Nov 01, 2024 12:56 pm Post subject: |
|
|
If you remove llvm:19, it would be reinstalled again, because you are allowing unstable packages.
I think it is possible to remove llvm:19, but you will need to mask it and recompile packages, that depend on llvm:19. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22584
|
Posted: Fri Nov 01, 2024 2:06 pm Post subject: |
|
|
You might get more useful output if you expand the depclean: emerge --pretend --verbose --depclean sys-devel/llvm:19 sys-devel/llvm-toolchain-symlinks:19 '=sys-devel/llvmgold-19*'. Building on sMueggli's comment, and observing that llvmgold is not slotted, my guess would be that you allowed unstable llvmgold, so that upgraded you to llvmgold-19, which in turn required llvm:19. If you did not allow unstable llvmgold, you might avoid installing llvm:19 (at least until those both go stable).
If you want to be very aggressive, you could also use --with-bdeps=n, but beware that this will only add packages to the removal set that you will need back as soon as you update certain other packages. This might be fine for a binhost-only system, but if you are concerned about build times, then I think this is not a binhost-only system. |
|
Back to top |
|
|
|
|
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
|
|