sys-devel/llvm: Remove experimental targets from the release branch
authorMichał Górny <mgorny@gentoo.org>
Tue, 9 Jan 2018 14:32:17 +0000 (15:32 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 9 Jan 2018 14:34:39 +0000 (15:34 +0100)
sys-devel/llvm/llvm-6.0.9999.ebuild

index 0164813c3fc00391cf734a6121ad6211ae9db32b..c349ca3d09a447e6e7e1459561026187acce1d9d 100644 (file)
@@ -18,12 +18,9 @@ EGIT_REPO_URI="https://git.llvm.org/git/llvm.git
        https://github.com/llvm-mirror/llvm.git"
 EGIT_BRANCH="release_60"
 
-# Those are in lib/Targets, without explicit CMakeLists.txt mention
-ALL_LLVM_EXPERIMENTAL_TARGETS=( AVR Nios2 RISCV WebAssembly )
 # Keep in sync with CMakeLists.txt
 ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430
-       NVPTX PowerPC Sparc SystemZ X86 XCore
-       "${ALL_LLVM_EXPERIMENTAL_TARGETS[@]}" )
+       NVPTX PowerPC Sparc SystemZ X86 XCore )
 ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
 
 # Additional licenses:
@@ -102,10 +99,7 @@ multilib_src_configure() {
                -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
 
                -DBUILD_SHARED_LIBS=ON
-               # cheap hack: LLVM combines both anyway, and the only difference
-               # is that the former list is explicitly verified at cmake time
-               -DLLVM_TARGETS_TO_BUILD=""
-               -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
+               -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
                -DLLVM_BUILD_TESTS=$(usex test)
 
                -DLLVM_ENABLE_FFI=$(usex libffi)