From bbb81adbfb550e7e4a71329b2e11f5aa79953428 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 24 Sep 2016 21:37:11 +0200 Subject: sys-devel/llvm: Use LLVM_TARGETS flags --- sys-devel/llvm/llvm-9999.ebuild | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'sys-devel') diff --git a/sys-devel/llvm/llvm-9999.ebuild b/sys-devel/llvm/llvm-9999.ebuild index 4c8d6da5ab84..526f2530464f 100644 --- a/sys-devel/llvm/llvm-9999.ebuild +++ b/sys-devel/llvm/llvm-9999.ebuild @@ -18,11 +18,16 @@ SRC_URI="" EGIT_REPO_URI="http://llvm.org/git/llvm.git https://github.com/llvm-mirror/llvm.git" +# 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_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" ) + LICENSE="UoI-NCSA" SLOT="0/${PV%.*}" KEYWORDS="" IUSE="debug +doc gold libedit +libffi multitarget ncurses ocaml test - video_cards_radeon elibc_musl kernel_Darwin" + elibc_musl kernel_Darwin ${ALL_LLVM_TARGETS[*]}" RDEPEND=" sys-libs/zlib:0= @@ -49,7 +54,9 @@ DEPEND="${RDEPEND} !!