Skip to content

Commit

Permalink
sys-libs/llvm-libunwind: Delay llvm.org_set_globals after vars
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Górny <[email protected]>
  • Loading branch information
mgorny committed Nov 29, 2020
1 parent 4ce5b6e commit 70d84a4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 6 additions & 4 deletions sys-libs/llvm-libunwind/llvm-libunwind-11.0.0.9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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}]"
Expand Down
10 changes: 6 additions & 4 deletions sys-libs/llvm-libunwind/llvm-libunwind-12.0.0.9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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}]"
Expand Down

0 comments on commit 70d84a4

Please sign in to comment.