summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-11-29 09:55:13 +0100
committerMichał Górny <mgorny@gentoo.org>2020-11-29 09:58:54 +0100
commit02f2de40dd71c4991832d06e64b9ea358c14e7f5 (patch)
tree1a8b87b62375369ded14d5034cc06645a98fe61d /dev-util/lldb
parentdev-python/clang-python: Delay llvm.org_set_globals after vars (diff)
downloadgentoo-02f2de40dd71c4991832d06e64b9ea358c14e7f5.tar.gz
gentoo-02f2de40dd71c4991832d06e64b9ea358c14e7f5.tar.bz2
gentoo-02f2de40dd71c4991832d06e64b9ea358c14e7f5.zip
dev-util/lldb: Delay llvm.org_set_globals after vars
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-util/lldb')
-rw-r--r--dev-util/lldb/lldb-11.0.0.9999.ebuild10
-rw-r--r--dev-util/lldb/lldb-12.0.0.9999.ebuild10
2 files changed, 12 insertions, 8 deletions
diff --git a/dev-util/lldb/lldb-11.0.0.9999.ebuild b/dev-util/lldb/lldb-11.0.0.9999.ebuild
index f16add65dbfc..e3f6cc1ae822 100644
--- a/dev-util/lldb/lldb-11.0.0.9999.ebuild
+++ b/dev-util/lldb/lldb-11.0.0.9999.ebuild
@@ -8,9 +8,6 @@ inherit cmake llvm llvm.org python-single-r1 toolchain-funcs
DESCRIPTION="The LLVM debugger"
HOMEPAGE="https://llvm.org/"
-LLVM_COMPONENTS=( lldb )
-LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support llvm/utils/unittest )
-llvm.org_set_globals
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
SLOT="0"
@@ -40,9 +37,14 @@ BDEPEND="
$(python_gen_cond_dep "
~dev-python/lit-${PV}[\${PYTHON_MULTI_USEDEP}]
")
- sys-devel/lld )
+ sys-devel/lld
+ )
${PYTHON_DEPS}"
+LLVM_COMPONENTS=( lldb )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support llvm/utils/unittest )
+llvm.org_set_globals
+
pkg_setup() {
LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup
python-single-r1_pkg_setup
diff --git a/dev-util/lldb/lldb-12.0.0.9999.ebuild b/dev-util/lldb/lldb-12.0.0.9999.ebuild
index 9e83aa0a2497..bcf3d783cb74 100644
--- a/dev-util/lldb/lldb-12.0.0.9999.ebuild
+++ b/dev-util/lldb/lldb-12.0.0.9999.ebuild
@@ -8,9 +8,6 @@ inherit cmake llvm llvm.org python-single-r1 toolchain-funcs
DESCRIPTION="The LLVM debugger"
HOMEPAGE="https://llvm.org/"
-LLVM_COMPONENTS=( lldb )
-LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support llvm/utils/unittest )
-llvm.org_set_globals
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
SLOT="0"
@@ -40,9 +37,14 @@ BDEPEND="
$(python_gen_cond_dep "
~dev-python/lit-${PV}[\${PYTHON_MULTI_USEDEP}]
")
- sys-devel/lld )
+ sys-devel/lld
+ )
${PYTHON_DEPS}"
+LLVM_COMPONENTS=( lldb )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support llvm/utils/unittest )
+llvm.org_set_globals
+
pkg_setup() {
LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup
python-single-r1_pkg_setup