summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-09-21 08:51:56 +0200
committerMichał Górny <mgorny@gentoo.org>2021-09-21 09:54:22 +0200
commit2cb4b5a232ae489fb2d17595cebcb9cb6cae7f8f (patch)
treef25328c611f71e01b9a53630a156c58e4fd3999c /dev-ml/llvm-ocaml
parentsys-devel/clang: Forward port target changes to 13.0.0_rc3 (diff)
downloadgentoo-2cb4b5a232ae489fb2d17595cebcb9cb6cae7f8f.tar.gz
gentoo-2cb4b5a232ae489fb2d17595cebcb9cb6cae7f8f.tar.bz2
gentoo-2cb4b5a232ae489fb2d17595cebcb9cb6cae7f8f.zip
dev-ml/llvm-ocaml: Forward port target changes to 13.0.0_rc3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-ml/llvm-ocaml')
-rw-r--r--dev-ml/llvm-ocaml/llvm-ocaml-13.0.0_rc3.ebuild16
1 files changed, 2 insertions, 14 deletions
diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-13.0.0_rc3.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-13.0.0_rc3.ebuild
index d082ba50ed27..d0039fc6ae95 100644
--- a/dev-ml/llvm-ocaml/llvm-ocaml-13.0.0_rc3.ebuild
+++ b/dev-ml/llvm-ocaml/llvm-ocaml-13.0.0_rc3.ebuild
@@ -9,18 +9,10 @@ inherit cmake llvm llvm.org python-any-r1
DESCRIPTION="OCaml bindings for LLVM"
HOMEPAGE="https://llvm.org/"
-# Keep in sync with sys-devel/llvm
-ALL_LLVM_EXPERIMENTAL_TARGETS=( ARC CSKY M68k VE )
-ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM AVR BPF Hexagon Lanai Mips MSP430
- NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore
- "${ALL_LLVM_EXPERIMENTAL_TARGETS[@]}" )
-ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
-
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
SLOT="0/${PV}"
KEYWORDS=""
-IUSE="debug test ${ALL_LLVM_TARGETS[*]}"
-REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )"
+IUSE="debug test"
RESTRICT="!test? ( test )"
RDEPEND="
@@ -28,11 +20,6 @@ RDEPEND="
dev-ml/ocaml-ctypes:=
~sys-devel/llvm-${PV}:=[debug?]
!sys-devel/llvm[ocaml(-)]"
-for x in "${ALL_LLVM_TARGETS[@]}"; do
- RDEPEND+="
- ${x}? ( ~sys-devel/llvm-${PV}[${x}] )"
-done
-unset x
DEPEND="${RDEPEND}"
BDEPEND="
@@ -43,6 +30,7 @@ BDEPEND="
${PYTHON_DEPS}"
LLVM_COMPONENTS=( llvm )
+LLVM_USE_TARGETS=llvm
llvm.org_set_globals
pkg_setup() {