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-libs/llvm-libunwind/
Date: Sun, 29 Nov 2020 08:59:38
Message-Id: 1606640336.70d84a44b50e96c5a314a174dadeab2604312f72.mgorny@gentoo
1 commit: 70d84a44b50e96c5a314a174dadeab2604312f72
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 29 08:56:20 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 29 08:58:56 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70d84a44
7
8 sys-libs/llvm-libunwind: Delay llvm.org_set_globals after vars
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 sys-libs/llvm-libunwind/llvm-libunwind-11.0.0.9999.ebuild | 10 ++++++----
13 sys-libs/llvm-libunwind/llvm-libunwind-12.0.0.9999.ebuild | 10 ++++++----
14 2 files changed, 12 insertions(+), 8 deletions(-)
15
16 diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-11.0.0.9999.ebuild b/sys-libs/llvm-libunwind/llvm-libunwind-11.0.0.9999.ebuild
17 index fff362b926d..38385b9304f 100644
18 --- a/sys-libs/llvm-libunwind/llvm-libunwind-11.0.0.9999.ebuild
19 +++ b/sys-libs/llvm-libunwind/llvm-libunwind-11.0.0.9999.ebuild
20 @@ -9,9 +9,6 @@ inherit cmake-multilib llvm llvm.org python-any-r1
21
22 DESCRIPTION="C++ runtime stack unwinder from LLVM"
23 HOMEPAGE="https://github.com/llvm-mirror/libunwind"
24 -LLVM_COMPONENTS=( libunwind )
25 -LLVM_TEST_COMPONENTS=( libcxx{,abi} llvm/cmake )
26 -llvm.org_set_globals
27
28 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
29 SLOT="0"
30 @@ -25,7 +22,12 @@ DEPEND="
31 >=sys-devel/llvm-6"
32 BDEPEND="
33 test? ( >=sys-devel/clang-3.9.0
34 - $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') )"
35 + $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
36 + )"
37 +
38 +LLVM_COMPONENTS=( libunwind )
39 +LLVM_TEST_COMPONENTS=( libcxx{,abi} llvm/cmake )
40 +llvm.org_set_globals
41
42 python_check_deps() {
43 has_version "dev-python/lit[${PYTHON_USEDEP}]"
44
45 diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-12.0.0.9999.ebuild b/sys-libs/llvm-libunwind/llvm-libunwind-12.0.0.9999.ebuild
46 index fff362b926d..38385b9304f 100644
47 --- a/sys-libs/llvm-libunwind/llvm-libunwind-12.0.0.9999.ebuild
48 +++ b/sys-libs/llvm-libunwind/llvm-libunwind-12.0.0.9999.ebuild
49 @@ -9,9 +9,6 @@ inherit cmake-multilib llvm llvm.org python-any-r1
50
51 DESCRIPTION="C++ runtime stack unwinder from LLVM"
52 HOMEPAGE="https://github.com/llvm-mirror/libunwind"
53 -LLVM_COMPONENTS=( libunwind )
54 -LLVM_TEST_COMPONENTS=( libcxx{,abi} llvm/cmake )
55 -llvm.org_set_globals
56
57 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
58 SLOT="0"
59 @@ -25,7 +22,12 @@ DEPEND="
60 >=sys-devel/llvm-6"
61 BDEPEND="
62 test? ( >=sys-devel/clang-3.9.0
63 - $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') )"
64 + $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
65 + )"
66 +
67 +LLVM_COMPONENTS=( libunwind )
68 +LLVM_TEST_COMPONENTS=( libcxx{,abi} llvm/cmake )
69 +llvm.org_set_globals
70
71 python_check_deps() {
72 has_version "dev-python/lit[${PYTHON_USEDEP}]"