Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/llvm-ocaml/
Date: Tue, 21 Sep 2021 08:20:14
Message-Id: 1632210862.2cb4b5a232ae489fb2d17595cebcb9cb6cae7f8f.mgorny@gentoo
1 commit: 2cb4b5a232ae489fb2d17595cebcb9cb6cae7f8f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 21 06:51:56 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 21 07:54:22 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cb4b5a2
7
8 dev-ml/llvm-ocaml: Forward port target changes to 13.0.0_rc3
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-ml/llvm-ocaml/llvm-ocaml-13.0.0_rc3.ebuild | 16 ++--------------
13 1 file changed, 2 insertions(+), 14 deletions(-)
14
15 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
16 index d082ba50ed2..d0039fc6ae9 100644
17 --- a/dev-ml/llvm-ocaml/llvm-ocaml-13.0.0_rc3.ebuild
18 +++ b/dev-ml/llvm-ocaml/llvm-ocaml-13.0.0_rc3.ebuild
19 @@ -9,18 +9,10 @@ inherit cmake llvm llvm.org python-any-r1
20 DESCRIPTION="OCaml bindings for LLVM"
21 HOMEPAGE="https://llvm.org/"
22
23 -# Keep in sync with sys-devel/llvm
24 -ALL_LLVM_EXPERIMENTAL_TARGETS=( ARC CSKY M68k VE )
25 -ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM AVR BPF Hexagon Lanai Mips MSP430
26 - NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore
27 - "${ALL_LLVM_EXPERIMENTAL_TARGETS[@]}" )
28 -ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
29 -
30 LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
31 SLOT="0/${PV}"
32 KEYWORDS=""
33 -IUSE="debug test ${ALL_LLVM_TARGETS[*]}"
34 -REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )"
35 +IUSE="debug test"
36 RESTRICT="!test? ( test )"
37
38 RDEPEND="
39 @@ -28,11 +20,6 @@ RDEPEND="
40 dev-ml/ocaml-ctypes:=
41 ~sys-devel/llvm-${PV}:=[debug?]
42 !sys-devel/llvm[ocaml(-)]"
43 -for x in "${ALL_LLVM_TARGETS[@]}"; do
44 - RDEPEND+="
45 - ${x}? ( ~sys-devel/llvm-${PV}[${x}] )"
46 -done
47 -unset x
48
49 DEPEND="${RDEPEND}"
50 BDEPEND="
51 @@ -43,6 +30,7 @@ BDEPEND="
52 ${PYTHON_DEPS}"
53
54 LLVM_COMPONENTS=( llvm )
55 +LLVM_USE_TARGETS=llvm
56 llvm.org_set_globals
57
58 pkg_setup() {