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: sys-devel/clang/
Date: Wed, 30 Aug 2017 14:33:03
Message-Id: 1504103575.c5d554e9a206b2e7e2549f98ea5ef637497689ee.mgorny@gentoo
1 commit: c5d554e9a206b2e7e2549f98ea5ef637497689ee
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 30 10:24:51 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 30 14:32:55 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5d554e9
7
8 sys-devel/clang: Fix unused LLVM_EXPERIMENTAL... warning
9
10 Revert back to using LLVM_TARGETS_TO_BUILD since
11 LLVM_EXPERIMENTAL_TARGETS_TO_BUILD logic is not implemented in clang
12 (or the installed LLVM CMake files). However, the target check is not
13 implemented either, so we can just push the experimental targets into
14 the regular variable.
15
16 sys-devel/clang/clang-9999.ebuild | 5 +----
17 1 file changed, 1 insertion(+), 4 deletions(-)
18
19 diff --git a/sys-devel/clang/clang-9999.ebuild b/sys-devel/clang/clang-9999.ebuild
20 index 730d965f126..5b40e22d5a5 100644
21 --- a/sys-devel/clang/clang-9999.ebuild
22 +++ b/sys-devel/clang/clang-9999.ebuild
23 @@ -122,10 +122,7 @@ multilib_src_configure() {
24 -DCLANG_RESOURCE_DIR="../../../../lib/clang/${clang_version}"
25
26 -DBUILD_SHARED_LIBS=ON
27 - # cheap hack: LLVM combines both anyway, and the only difference
28 - # is that the former list is explicitly verified at cmake time
29 - -DLLVM_TARGETS_TO_BUILD=""
30 - -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
31 + -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
32 -DLLVM_BUILD_TESTS=$(usex test)
33
34 # these are not propagated reliably, so redefine them