From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C5E7E158011 for ; Mon, 20 Sep 2021 13:41:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1FE0DE0935; Mon, 20 Sep 2021 13:41:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D36C7E0935 for ; Mon, 20 Sep 2021 13:41:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 03A653430D2 for ; Mon, 20 Sep 2021 13:41:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 788FB107 for ; Mon, 20 Sep 2021 13:41:28 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1632145281.e69f3a4746de500271379aaa704124ecb3048f27.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/llvm-ocaml/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/llvm-ocaml/llvm-ocaml-13.0.0.9999.ebuild dev-ml/llvm-ocaml/llvm-ocaml-13.0.0_rc2.ebuild dev-ml/llvm-ocaml/llvm-ocaml-14.0.0.9999.ebuild X-VCS-Directories: dev-ml/llvm-ocaml/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e69f3a4746de500271379aaa704124ecb3048f27 X-VCS-Branch: master Date: Mon, 20 Sep 2021 13:41:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8080f2d0-8183-4484-bf18-6fd6609fd426 X-Archives-Hash: fe8254c97fd0efb28d437cd31977f533 commit: e69f3a4746de500271379aaa704124ecb3048f27 Author: Michał Górny gentoo org> AuthorDate: Mon Sep 13 20:38:53 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Sep 20 13:41:21 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e69f3a47 dev-ml/llvm-ocaml: Switch 13+ to new targets API Signed-off-by: Michał Górny gentoo.org> dev-ml/llvm-ocaml/llvm-ocaml-13.0.0.9999.ebuild | 16 ++-------------- dev-ml/llvm-ocaml/llvm-ocaml-13.0.0_rc2.ebuild | 16 ++-------------- dev-ml/llvm-ocaml/llvm-ocaml-14.0.0.9999.ebuild | 16 ++-------------- 3 files changed, 6 insertions(+), 42 deletions(-) diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-13.0.0.9999.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-13.0.0.9999.ebuild index d082ba50ed2..d0039fc6ae9 100644 --- a/dev-ml/llvm-ocaml/llvm-ocaml-13.0.0.9999.ebuild +++ b/dev-ml/llvm-ocaml/llvm-ocaml-13.0.0.9999.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() { diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-13.0.0_rc2.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-13.0.0_rc2.ebuild index d082ba50ed2..d0039fc6ae9 100644 --- a/dev-ml/llvm-ocaml/llvm-ocaml-13.0.0_rc2.ebuild +++ b/dev-ml/llvm-ocaml/llvm-ocaml-13.0.0_rc2.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() { diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-14.0.0.9999.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-14.0.0.9999.ebuild index d082ba50ed2..d0039fc6ae9 100644 --- a/dev-ml/llvm-ocaml/llvm-ocaml-14.0.0.9999.ebuild +++ b/dev-ml/llvm-ocaml/llvm-ocaml-14.0.0.9999.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() {