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 42741138330 for ; Thu, 29 Sep 2016 14:13:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C978521C08B; Thu, 29 Sep 2016 14:13:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AD97321C08A for ; Thu, 29 Sep 2016 14:13:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8C2EA34067D for ; Thu, 29 Sep 2016 14:13:24 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9116824A0 for ; Thu, 29 Sep 2016 14:13:22 +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: <1475158380.f7c5c167f9202aefedeee67a779322bc0663e0e8.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/clang/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/clang/clang-9999.ebuild X-VCS-Directories: sys-devel/clang/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: f7c5c167f9202aefedeee67a779322bc0663e0e8 X-VCS-Branch: master Date: Thu, 29 Sep 2016 14:13:22 +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-Archives-Salt: dbd6215c-9175-4229-9945-0e3085024b6a X-Archives-Hash: 5c3c9773938f336e849446b6672e7363 commit: f7c5c167f9202aefedeee67a779322bc0663e0e8 Author: Michał Górny gentoo org> AuthorDate: Sat Sep 24 19:42:23 2016 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Sep 29 14:13:00 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7c5c167 sys-devel/clang: Use LLVM_TARGETS flags sys-devel/clang/clang-9999.ebuild | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/sys-devel/clang/clang-9999.ebuild b/sys-devel/clang/clang-9999.ebuild index d13919f..61a172b 100644 --- a/sys-devel/clang/clang-9999.ebuild +++ b/sys-devel/clang/clang-9999.ebuild @@ -17,14 +17,20 @@ SRC_URI="" EGIT_REPO_URI="http://llvm.org/git/clang.git https://github.com/llvm-mirror/clang.git" +# Keep in sync with sys-devel/llvm +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_}" ) +LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?} + LICENSE="UoI-NCSA" SLOT="0/${PV%.*}" KEYWORDS="" IUSE="debug default-compiler-rt default-libcxx +doc multitarget python - +static-analyzer test xml video_cards_radeon elibc_musl kernel_FreeBSD" + +static-analyzer test xml elibc_musl kernel_FreeBSD ${ALL_LLVM_TARGETS[*]}" RDEPEND=" - ~sys-devel/llvm-${PV}:=[debug=,multitarget?,video_cards_radeon?,${MULTILIB_USEDEP}] + ~sys-devel/llvm-${PV}:=[debug=,${LLVM_TARGET_USEDEPS// /,},${MULTILIB_USEDEP}] static-analyzer? ( dev-lang/perl:* ) xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) !