Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

installing llvm/6.0.0 and 3.9.1 at the same time


seaofash

Question

OK, when I query the available slots I get this:

$ eix -e sys-devel/llvm

[I] sys-devel/llvm
     Available versions:  
     (0)    ~*3.4.2-r100(0/3.4)[2] ~*3.5.2-r100(0/3.5)[2] ~*3.6.2-r100(0/3.6)[2] 3.7.1-r3(0/3.7.1)[2] 3.9.1-r1(0/3.9.1){tbz2}[2]
     (4)    4.0.1-r1{tbz2}[1] 4.0.1-r1{tbz2}[2]
     (5)    5.0.1{tbz2}[2]
     (6)    (~)6.0.0^t{tbz2}[2]
       {clang debug default-compiler-rt default-libcxx doc gold libedit +libffi lldb multitarget ncurses ocaml python +sanitize +static-analyzer test xar xml ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" ELIBC="musl" KERNEL="Darwin FreeBSD linux" LLVM_TARGETS="AArch64 AMDGPU ARM BPF Hexagon Lanai MSP430 Mips NVPTX PowerPC RISCV Sparc SystemZ X86 XCore" PYTHON_TARGETS="python2_7" VIDEO_CARDS="radeon"}
     Installed versions:  5.0.1(5){tbz2}[2](09:20:15 PM 08/19/2018)(gold libffi ncurses -debug -doc -libedit -test ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32" KERNEL="linux -Darwin" LLVM_TARGETS="BPF NVPTX X86 -AArch64 -AMDGPU -ARM -Hexagon -Lanai -MSP430 -Mips -PowerPC -Sparc -SystemZ -XCore") 6.0.0(6)^t{tbz2}[2](08:13:12 PM 08/19/2018)(gold libffi ncurses xml -debug -doc -libedit -test -xar ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32" KERNEL="-Darwin" LLVM_TARGETS="BPF NVPTX X86 -AArch64 -AMDGPU -ARM -Hexagon -Lanai -MSP430 -Mips -PowerPC -Sparc -SystemZ -XCore")
     Homepage:            https://llvm.org/
     Description:         Low Level Virtual Machine

[1] /var/git/overlay/local
[2] "llvm-kit" /var/git/meta-repo/kits/llvm-kit

$ eix -e sys-devel/clang
[I] sys-devel/clang
     Available versions:  
     (0)    ~*3.4.2-r100(0/3.4)[2] ~*3.5.2-r100(0/3.5)[2] ~*3.6.2-r100(0/3.6)[2] 3.7.1-r100(0/3.7)[2] 3.9.1-r100(0/3.9.1){tbz2}[2]
     (4)    4.0.1{tbz2}[1] 4.0.1{tbz2}[2]
     (5)    5.0.1{tbz2}[2]
     (6)    (~)6.0.0^t{tbz2}[2] (~)6.0.0-r1^t{tbz2}[2]
       {debug default-compiler-rt default-libcxx doc multitarget python +static-analyzer test xml z3 ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" ELIBC="musl" KERNEL="FreeBSD" LLVM_TARGETS="AArch64 AMDGPU ARM BPF Hexagon Lanai MSP430 Mips NVPTX PowerPC RISCV Sparc SystemZ X86 XCore" PYTHON_TARGETS="python2_7"}
     Installed versions:  6.0.0-r1(6)^t{tbz2}[2](08:57:48 PM 08/19/2018)(default-compiler-rt default-libcxx static-analyzer xml -debug -doc -test -z3 ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" KERNEL="-FreeBSD" LLVM_TARGETS="BPF NVPTX X86 -AArch64 -AMDGPU -ARM -Hexagon -Lanai -MSP430 -Mips -PowerPC -Sparc -SystemZ -XCore" PYTHON_TARGETS="python2_7")
     Homepage:            https://llvm.org/
     Description:         C language family frontend for LLVM

[1] /var/git/overlay/local
[2] "llvm-kit" /var/git/meta-repo/kits/llvm-kit

 

I have llvm/clang 6.0.0 installed already. Then I do:

$ emerge -atuv sys-devel/clang:0/3.9.1 sys-devel/llvm:0/3.9.1

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  NS    ] sys-devel/clang-3.9.1-r100:0/3.9.1::llvm-kit [6.0.0-r1:6::llvm-kit] USE="python static-analyzer -debug -multitarget" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="BPF NVPTX (X86) -AArch64 -AMDGPU -ARM -Hexagon -MSP430 -Mips -PowerPC -Sparc -SystemZ -XCore" 0 KiB
[ebuild  NS    ]  sys-devel/llvm-3.9.1-r1:0/3.9.1::llvm-kit [5.0.1:5::llvm-kit, 6.0.0:6::llvm-kit] USE="clang gold libffi ncurses python sanitize static-analyzer xml -debug -default-compiler-rt -default-libcxx -doc -libedit (-lldb) -multitarget -ocaml -test" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="BPF NVPTX (X86) -AArch64 -AMDGPU -ARM -Hexagon -MSP430 -Mips -PowerPC -Sparc -SystemZ -XCore" PYTHON_TARGETS="python2_7" 17 KiB
[ebuild  NS    ]   sys-devel/clang-runtime-3.9.1:0::llvm-kit [6.0.0:6.0.0::llvm-kit] USE="libcxx openmp" ABI_X86="(64) -32 (-x32)" 0 KiB
[blocks B      ] <sys-devel/llvm-4.0 ("<sys-devel/llvm-4.0" is blocking dev-util/lldb-6.0.0)
[blocks B      ] <sys-devel/llvm-4.0.0_rc:0 ("<sys-devel/llvm-4.0.0_rc:0" is blocking sys-devel/clang-6.0.0-r1)
[blocks B      ] sys-devel/llvm:0 ("sys-devel/llvm:0" is blocking sys-devel/llvm-6.0.0, sys-devel/llvmgold-6, sys-devel/llvm-common-6.0.0, sys-devel/llvm-5.0.1)
[blocks B      ] sys-devel/clang:0 ("sys-devel/clang:0" is blocking sys-devel/clang-6.0.0-r1)

Total: 3 packages (3 in new slots), Size of downloads: 17 KiB
Conflict: 4 blocks (4 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-devel/llvm-3.9.1-r1:0/3.9.1::llvm-kit, ebuild scheduled for merge) pulled in by
    sys-devel/llvm:0/3.9.1
    ~sys-devel/llvm-3.9.1[clang(-),debug=,python?,static-analyzer?,llvm_targets_AArch64?,llvm_targets_AMDGPU?,llvm_targets_ARM?,llvm_targets_BPF?,llvm_targets_Hexagon?,llvm_targets_Mips?,llvm_targets_MSP430?,llvm_targets_NVPTX?,llvm_targets_PowerPC?,llvm_targets_Sparc?,llvm_targets_SystemZ?,llvm_targets_X86?,llvm_targets_XCore?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (~sys-devel/llvm-3.9.1[clang(-),-debug,python,static-analyzer,llvm_targets_BPF,llvm_targets_NVPTX,llvm_targets_X86,abi_x86_64(-)]) required by (sys-devel/clang-3.9.1-r100:0/3.9.1::llvm-kit, ebuild scheduled for merge)

  (dev-util/lldb-6.0.0:0/0::llvm-kit, installed) pulled in by
    dev-util/lldb required by @selected

  (sys-devel/clang-3.9.1-r100:0/3.9.1::llvm-kit, ebuild scheduled for merge) pulled in by
    sys-devel/clang:0/3.9.1
    sys-devel/clang required by @selected
    =sys-devel/clang-3.9.1-r100 required by (sys-devel/llvm-3.9.1-r1:0/3.9.1::llvm-kit, ebuild scheduled for merge)

  (sys-devel/llvm-5.0.1:5/5::llvm-kit, installed) pulled in by
    <sys-devel/llvm-6:5/5=[abi_x86_32(-),abi_x86_64(-)] required by (media-libs/mesa-17.2.8:0/0::xorg-kit, installed)
    <sys-devel/llvm-6:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (<sys-devel/llvm-6:=[abi_x86_32(-),abi_x86_64(-)]) required by (media-libs/mesa-17.2.8:0/0::xorg-kit, installed)
    sys-devel/llvm:5[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (sys-devel/llvm:5[abi_x86_32(-),abi_x86_64(-)]) required by (media-libs/mesa-17.2.8:0/0::xorg-kit, installed)

  (sys-devel/llvm-6.0.0:6/6::llvm-kit, installed) pulled in by
    sys-devel/llvm required by @selected
    >=sys-devel/llvm-6 required by (sys-libs/compiler-rt-sanitizers-6.0.0:6.0.0/6.0.0::llvm-kit, installed)
    >=sys-devel/llvm-6 required by (sys-libs/llvm-libunwind-6.0.0:0/0::llvm-kit, installed)
    >=sys-devel/llvm-6 required by (sys-libs/libcxxabi-6.0.0:0/0::llvm-kit, installed)
    >=sys-devel/llvm-6 required by (sys-libs/libcxx-6.0.0:0/0::llvm-kit, installed)
    sys-devel/llvm:6[gold] required by (sys-devel/llvmgold-6:0/0::llvm-kit, installed)
    >=sys-devel/llvm-6 required by (sys-libs/compiler-rt-6.0.0:6.0.0/6.0.0::llvm-kit, installed)
    >=sys-devel/llvm-4.0.1 required by (www-client/firefox-62.0-r1:0/0::net-kit, installed)
    ~sys-devel/llvm-6.0.0 required by (sys-devel/lld-6.0.0:0/0::llvm-kit, installed)
    ~sys-devel/llvm-6.0.0:6=[debug=,llvm_targets_AArch64?,llvm_targets_AMDGPU?,llvm_targets_ARM?,llvm_targets_BPF?,llvm_targets_Hexagon?,llvm_targets_Lanai?,llvm_targets_Mips?,llvm_targets_MSP430?,llvm_targets_NVPTX?,llvm_targets_PowerPC?,llvm_targets_Sparc?,llvm_targets_SystemZ?,llvm_targets_X86?,llvm_targets_XCore?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (~sys-devel/llvm-6.0.0:6=[-debug,llvm_targets_BPF,llvm_targets_NVPTX,llvm_targets_X86,abi_x86_64(-)]) required by (sys-devel/clang-6.0.0-r1:6/6::llvm-kit, installed)
    ~sys-devel/llvm-6.0.0 required by (dev-util/lldb-6.0.0:0/0::llvm-kit, installed)
    >=sys-devel/llvm-3.5 required by (sys-devel/llvm-3.9.1-r1:0/3.9.1::llvm-kit, ebuild scheduled for merge)
    ~sys-devel/llvm-6.0.0:6/6=[-debug,llvm_targets_BPF,llvm_targets_NVPTX,llvm_targets_X86,abi_x86_64(-)] required by (sys-devel/clang-6.0.0-r1:6/6::llvm-kit, installed)

  (sys-devel/clang-6.0.0-r1:6/6::llvm-kit, installed) pulled in by
    >=sys-devel/clang-5 required by (www-client/chromium-68.0.3440.106:0/0::net-kit, installed)
    sys-devel/clang required by (sys-libs/compiler-rt-sanitizers-6.0.0:6.0.0/6.0.0::llvm-kit, installed)
    >=sys-devel/clang-3.9:* required by (dev-qt/qt-creator-4.5.0:0/0::kde-kit, installed)
    sys-devel/clang required by @selected
    >=sys-devel/clang-3.9:6/6= required by (dev-qt/qt-creator-4.5.0:0/0::kde-kit, installed)
    sys-devel/clang:* required by (sys-devel/clang-common-6.0.0:0/0::llvm-kit, installed)
    >=sys-devel/clang-3.9:= required by (dev-qt/qt-creator-4.5.0:0/0::kde-kit, installed)
    sys-devel/clang required by (sys-libs/compiler-rt-6.0.0:6.0.0/6.0.0::llvm-kit, installed)
    >=sys-devel/clang-4.0.1 required by (www-client/firefox-62.0-r1:0/0::net-kit, installed)
    ~sys-devel/clang-6.0.0[xml] required by (dev-util/lldb-6.0.0:0/0::llvm-kit, installed)


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages

 

Is there any easy way to install 3.9.1 and 6.0.0 slots together?

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...