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/llvm/
Date: Mon, 16 Sep 2019 15:05:38
Message-Id: 1568646327.17d10010f7e4578ed704a2672c952b18f569727c.mgorny@gentoo
1 commit: 17d10010f7e4578ed704a2672c952b18f569727c
2 Author: stefson <herrtimson <AT> yahoo <DOT> de>
3 AuthorDate: Mon Sep 16 07:00:02 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 16 15:05:27 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17d10010
7
8 sys-devel/llvm: move dev-lang/perl to BDEPEND wrt #694460
9
10 dev-lang/perl is a build time dependency of llvm, only during cross
11 compile it must be run by the host (CBUILD) and not the target (CHOST).
12 Moving it to BDEPEND solves the issue of dev-lang/perl and friends
13 getting pulled into the dependency graph as compile time dependencies
14 during cross compile. BDEPEND has been introduced in EAPI=7, so the fix
15 is only possible for >=llvm-9.x
16
17 Closes: https://bugs.gentoo.org/694460
18 Signed-off-by: Steffen Kuhn <nielson2 <AT> yandex.com>
19 Closes: https://github.com/gentoo/gentoo/pull/12941
20 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
21
22 sys-devel/llvm/llvm-10.0.0.9999.ebuild | 2 +-
23 sys-devel/llvm/llvm-9.0.0.9999.ebuild | 2 +-
24 2 files changed, 2 insertions(+), 2 deletions(-)
25
26 diff --git a/sys-devel/llvm/llvm-10.0.0.9999.ebuild b/sys-devel/llvm/llvm-10.0.0.9999.ebuild
27 index 0fbb96cebb2..bacec8033f4 100644
28 --- a/sys-devel/llvm/llvm-10.0.0.9999.ebuild
29 +++ b/sys-devel/llvm/llvm-10.0.0.9999.ebuild
30 @@ -55,7 +55,6 @@ RDEPEND="
31 z3? ( >=sci-mathematics/z3-4.7.1:0=[${MULTILIB_USEDEP}] )"
32 # configparser-3.2 breaks the build (3.3 or none at all are fine)
33 DEPEND="${RDEPEND}
34 - dev-lang/perl
35 || ( >=sys-devel/gcc-3.0 >=sys-devel/llvm-3.5
36 ( >=sys-freebsd/freebsd-lib-9.1-r10 sys-libs/libcxx )
37 )
38 @@ -75,6 +74,7 @@ DEPEND="${RDEPEND}
39 # installed means llvm-config there will take precedence.
40 RDEPEND="${RDEPEND}
41 !sys-devel/llvm:0"
42 +BDEPEND="dev-lang/perl"
43 PDEPEND="sys-devel/llvm-common
44 gold? ( >=sys-devel/llvmgold-${SLOT} )"
45
46
47 diff --git a/sys-devel/llvm/llvm-9.0.0.9999.ebuild b/sys-devel/llvm/llvm-9.0.0.9999.ebuild
48 index abd71ac5d2c..f294d093706 100644
49 --- a/sys-devel/llvm/llvm-9.0.0.9999.ebuild
50 +++ b/sys-devel/llvm/llvm-9.0.0.9999.ebuild
51 @@ -53,7 +53,6 @@ RDEPEND="
52 z3? ( >=sci-mathematics/z3-4.7.1:0=[${MULTILIB_USEDEP}] )"
53 # configparser-3.2 breaks the build (3.3 or none at all are fine)
54 DEPEND="${RDEPEND}
55 - dev-lang/perl
56 || ( >=sys-devel/gcc-3.0 >=sys-devel/llvm-3.5
57 ( >=sys-freebsd/freebsd-lib-9.1-r10 sys-libs/libcxx )
58 )
59 @@ -73,6 +72,7 @@ DEPEND="${RDEPEND}
60 # installed means llvm-config there will take precedence.
61 RDEPEND="${RDEPEND}
62 !sys-devel/llvm:0"
63 +BDEPEND="dev-lang/perl"
64 PDEPEND="sys-devel/llvm-common
65 gold? ( >=sys-devel/llvmgold-${SLOT} )"