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 B6BBC138332 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 16B8321C08F; Thu, 29 Sep 2016 14:13:27 +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 EBC3821C08F for ; Thu, 29 Sep 2016 14:13:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 26A4634067D for ; Thu, 29 Sep 2016 14:13:26 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EA25A24A6 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: <1475158395.d7d357f8b36cac4f8f02c6d68b8cf41b193f0058.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-3.9.0-r100.ebuild X-VCS-Directories: sys-devel/clang/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: d7d357f8b36cac4f8f02c6d68b8cf41b193f0058 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: ecdb6052-26de-4ada-ba5a-94a791771545 X-Archives-Hash: e97195ccf2aa89cef2e6d27d082db233 commit: d7d357f8b36cac4f8f02c6d68b8cf41b193f0058 Author: Michał Górny gentoo org> AuthorDate: Sun Sep 25 18:18:48 2016 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Sep 29 14:13:15 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7d357f8 sys-devel/clang: Backport LLVM_TARGETS to 3.9.0 sys-devel/clang/clang-3.9.0-r100.ebuild | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/sys-devel/clang/clang-3.9.0-r100.ebuild b/sys-devel/clang/clang-3.9.0-r100.ebuild index dd53806..283db07 100644 --- a/sys-devel/clang/clang-3.9.0-r100.ebuild +++ b/sys-devel/clang/clang-3.9.0-r100.ebuild @@ -10,13 +10,23 @@ DESCRIPTION="C language family frontend for LLVM (meta-ebuild)" HOMEPAGE="http://clang.llvm.org/" SRC_URI="" +# Keep in sync with sys-devel/llvm +ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon 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" # keep in sync with sys-devel/llvm! SLOT="0/${PV}" KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos" -IUSE="debug multitarget python +static-analyzer" +IUSE="debug multitarget python +static-analyzer ${ALL_LLVM_TARGETS[*]}" + +RDEPEND="~sys-devel/llvm-${PV}[clang(-),debug=,python?,static-analyzer?,${LLVM_TARGET_USEDEPS// /,},${MULTILIB_USEDEP}]" -RDEPEND="~sys-devel/llvm-${PV}[clang(-),debug=,multitarget?,python?,static-analyzer?,${MULTILIB_USEDEP}]" +REQUIRED_USE=" + || ( ${ALL_LLVM_TARGETS[*]} ) + multitarget? ( ${ALL_LLVM_TARGETS[*]} )" # Please keep this package around since it's quite likely that we'll # return to separate LLVM & clang ebuilds when the cmake build system