summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-02-10 11:57:49 +0100
committerMichał Górny <mgorny@gentoo.org>2024-02-10 12:13:06 +0100
commitc5ab9bebd0a5f16fdd6f870fd6e6b99fecd4a398 (patch)
tree5f584373393abbfdbab843a168b4b57d64416bf5 /dev-debug
parentsys-devel/clang: Migrate to llvm-utils (diff)
downloadgentoo-c5ab9bebd0a5f16fdd6f870fd6e6b99fecd4a398.tar.gz
gentoo-c5ab9bebd0a5f16fdd6f870fd6e6b99fecd4a398.tar.bz2
gentoo-c5ab9bebd0a5f16fdd6f870fd6e6b99fecd4a398.zip
dev-debug/lldb: Migrate to llvm-utils
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-debug')
-rw-r--r--dev-debug/lldb/lldb-18.1.0_rc2.ebuild9
-rw-r--r--dev-debug/lldb/lldb-19.0.0.9999.ebuild9
-rw-r--r--dev-debug/lldb/lldb-19.0.0_pre20240203.ebuild9
3 files changed, 9 insertions, 18 deletions
diff --git a/dev-debug/lldb/lldb-18.1.0_rc2.ebuild b/dev-debug/lldb/lldb-18.1.0_rc2.ebuild
index eb67407b87fc..6d10771e220b 100644
--- a/dev-debug/lldb/lldb-18.1.0_rc2.ebuild
+++ b/dev-debug/lldb/lldb-18.1.0_rc2.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
-inherit cmake llvm llvm.org python-single-r1
+inherit cmake llvm.org llvm-utils python-single-r1
DESCRIPTION="The LLVM debugger"
HOMEPAGE="https://llvm.org/"
@@ -51,12 +51,9 @@ LLVM_COMPONENTS=( lldb cmake llvm/utils )
LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
llvm.org_set_globals
-pkg_setup() {
- LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
- python-single-r1_pkg_setup
-}
-
src_configure() {
+ llvm_prepend_path "${LLVM_MAJOR}"
+
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
diff --git a/dev-debug/lldb/lldb-19.0.0.9999.ebuild b/dev-debug/lldb/lldb-19.0.0.9999.ebuild
index eb67407b87fc..6d10771e220b 100644
--- a/dev-debug/lldb/lldb-19.0.0.9999.ebuild
+++ b/dev-debug/lldb/lldb-19.0.0.9999.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
-inherit cmake llvm llvm.org python-single-r1
+inherit cmake llvm.org llvm-utils python-single-r1
DESCRIPTION="The LLVM debugger"
HOMEPAGE="https://llvm.org/"
@@ -51,12 +51,9 @@ LLVM_COMPONENTS=( lldb cmake llvm/utils )
LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
llvm.org_set_globals
-pkg_setup() {
- LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
- python-single-r1_pkg_setup
-}
-
src_configure() {
+ llvm_prepend_path "${LLVM_MAJOR}"
+
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
diff --git a/dev-debug/lldb/lldb-19.0.0_pre20240203.ebuild b/dev-debug/lldb/lldb-19.0.0_pre20240203.ebuild
index eb67407b87fc..6d10771e220b 100644
--- a/dev-debug/lldb/lldb-19.0.0_pre20240203.ebuild
+++ b/dev-debug/lldb/lldb-19.0.0_pre20240203.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
-inherit cmake llvm llvm.org python-single-r1
+inherit cmake llvm.org llvm-utils python-single-r1
DESCRIPTION="The LLVM debugger"
HOMEPAGE="https://llvm.org/"
@@ -51,12 +51,9 @@ LLVM_COMPONENTS=( lldb cmake llvm/utils )
LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
llvm.org_set_globals
-pkg_setup() {
- LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
- python-single-r1_pkg_setup
-}
-
src_configure() {
+ llvm_prepend_path "${LLVM_MAJOR}"
+
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"