diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-11-29 09:56:20 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-11-29 09:58:56 +0100 |
commit | 70d84a44b50e96c5a314a174dadeab2604312f72 (patch) | |
tree | c85d2a66be4fe5714d7a281b12f567ca9f3ae4d4 /sys-libs | |
parent | sys-libs/compiler-rt-sanitizers: Delay llvm.org_set_globals after vars (diff) | |
download | gentoo-70d84a44b50e96c5a314a174dadeab2604312f72.tar.gz gentoo-70d84a44b50e96c5a314a174dadeab2604312f72.tar.bz2 gentoo-70d84a44b50e96c5a314a174dadeab2604312f72.zip |
sys-libs/llvm-libunwind: Delay llvm.org_set_globals after vars
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/llvm-libunwind/llvm-libunwind-11.0.0.9999.ebuild | 10 | ||||
-rw-r--r-- | sys-libs/llvm-libunwind/llvm-libunwind-12.0.0.9999.ebuild | 10 |
2 files changed, 12 insertions, 8 deletions
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 index fff362b926dc..38385b9304f5 100644 --- a/sys-libs/llvm-libunwind/llvm-libunwind-11.0.0.9999.ebuild +++ b/sys-libs/llvm-libunwind/llvm-libunwind-11.0.0.9999.ebuild @@ -9,9 +9,6 @@ inherit cmake-multilib llvm llvm.org python-any-r1 DESCRIPTION="C++ runtime stack unwinder from LLVM" HOMEPAGE="https://github.com/llvm-mirror/libunwind" -LLVM_COMPONENTS=( libunwind ) -LLVM_TEST_COMPONENTS=( libcxx{,abi} llvm/cmake ) -llvm.org_set_globals LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )" SLOT="0" @@ -25,7 +22,12 @@ DEPEND=" >=sys-devel/llvm-6" BDEPEND=" test? ( >=sys-devel/clang-3.9.0 - $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') )" + $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') + )" + +LLVM_COMPONENTS=( libunwind ) +LLVM_TEST_COMPONENTS=( libcxx{,abi} llvm/cmake ) +llvm.org_set_globals python_check_deps() { has_version "dev-python/lit[${PYTHON_USEDEP}]" 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 index fff362b926dc..38385b9304f5 100644 --- a/sys-libs/llvm-libunwind/llvm-libunwind-12.0.0.9999.ebuild +++ b/sys-libs/llvm-libunwind/llvm-libunwind-12.0.0.9999.ebuild @@ -9,9 +9,6 @@ inherit cmake-multilib llvm llvm.org python-any-r1 DESCRIPTION="C++ runtime stack unwinder from LLVM" HOMEPAGE="https://github.com/llvm-mirror/libunwind" -LLVM_COMPONENTS=( libunwind ) -LLVM_TEST_COMPONENTS=( libcxx{,abi} llvm/cmake ) -llvm.org_set_globals LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )" SLOT="0" @@ -25,7 +22,12 @@ DEPEND=" >=sys-devel/llvm-6" BDEPEND=" test? ( >=sys-devel/clang-3.9.0 - $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') )" + $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') + )" + +LLVM_COMPONENTS=( libunwind ) +LLVM_TEST_COMPONENTS=( libcxx{,abi} llvm/cmake ) +llvm.org_set_globals python_check_deps() { has_version "dev-python/lit[${PYTHON_USEDEP}]" |