summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-14 07:28:20 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-14 08:51:16 +0100
commit27c81bd54d4966bb4b15792a3ddc725521b0978d (patch)
treebfd243f2632e9b9d3025a2459683ef06d7a7c81c /sys-devel
parentsys-libs/libcxx: Remove libcxxrt from 10+ (diff)
downloadgentoo-27c81bd54d4966bb4b15792a3ddc725521b0978d.tar.gz
gentoo-27c81bd54d4966bb4b15792a3ddc725521b0978d.tar.bz2
gentoo-27c81bd54d4966bb4b15792a3ddc725521b0978d.zip
sys-devel/llvm: Remove broken VE target from 10.0.0_rc2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/llvm/llvm-10.0.0_rc2.ebuild37
1 files changed, 1 insertions, 36 deletions
diff --git a/sys-devel/llvm/llvm-10.0.0_rc2.ebuild b/sys-devel/llvm/llvm-10.0.0_rc2.ebuild
index 390a59d0ac4..02213e0d5f9 100644
--- a/sys-devel/llvm/llvm-10.0.0_rc2.ebuild
+++ b/sys-devel/llvm/llvm-10.0.0_rc2.ebuild
@@ -13,7 +13,7 @@ LLVM_COMPONENTS=( llvm )
llvm.org_set_globals
# Those are in lib/Targets, without explicit CMakeLists.txt mention
-ALL_LLVM_EXPERIMENTAL_TARGETS=( ARC AVR VE )
+ALL_LLVM_EXPERIMENTAL_TARGETS=( ARC AVR )
# Keep in sync with CMakeLists.txt
ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430
NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore
@@ -84,38 +84,6 @@ python_check_deps() {
has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]"
}
-check_live_ebuild() {
- local prod_targets=(
- $(sed -n -e '/set(LLVM_ALL_TARGETS/,/)/p' CMakeLists.txt \
- | tail -n +2 | head -n -1)
- )
- local all_targets=(
- lib/Target/*/
- )
- all_targets=( "${all_targets[@]#lib/Target/}" )
- all_targets=( "${all_targets[@]%/}" )
-
- local exp_targets=() i
- for i in "${all_targets[@]}"; do
- has "${i}" "${prod_targets[@]}" || exp_targets+=( "${i}" )
- done
- # reorder
- all_targets=( "${prod_targets[@]}" "${exp_targets[@]}" )
-
- if [[ ${exp_targets[*]} != ${ALL_LLVM_EXPERIMENTAL_TARGETS[*]} ]]; then
- eqawarn "ALL_LLVM_EXPERIMENTAL_TARGETS is outdated!"
- eqawarn " Have: ${ALL_LLVM_EXPERIMENTAL_TARGETS[*]}"
- eqawarn "Expected: ${exp_targets[*]}"
- eqawarn
- fi
-
- if [[ ${all_targets[*]} != ${ALL_LLVM_TARGETS[*]#llvm_targets_} ]]; then
- eqawarn "ALL_LLVM_TARGETS is outdated!"
- eqawarn " Have: ${ALL_LLVM_TARGETS[*]#llvm_targets_}"
- eqawarn "Expected: ${all_targets[*]}"
- fi
-}
-
check_distribution_components() {
if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then
local all_targets=() my_targets=() l
@@ -185,9 +153,6 @@ src_prepare() {
# User patches + QA
cmake-utils_src_prepare
-
- # Verify that the live ebuild is up-to-date
- check_live_ebuild
}
# Is LLVM being linked against libc++?