diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-06-20 23:08:37 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-06-23 20:30:48 +0200 |
commit | 55cfb32030b360487d4473098d3bbba974dd713e (patch) | |
tree | 617d929fe483570f75c3bbd94c4f9966999389fd /dev-util | |
parent | dev-python/clang-python: Dedupe with new eclass code (diff) | |
download | gentoo-55cfb32030b360487d4473098d3bbba974dd713e.tar.gz gentoo-55cfb32030b360487d4473098d3bbba974dd713e.tar.bz2 gentoo-55cfb32030b360487d4473098d3bbba974dd713e.zip |
dev-util/lldb: Dedupe with new eclass code
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/lldb/lldb-10.0.1.9999.ebuild | 15 | ||||
-rw-r--r-- | dev-util/lldb/lldb-10.0.1_rc1.ebuild | 15 | ||||
-rw-r--r-- | dev-util/lldb/lldb-11.0.0.9999.ebuild | 15 |
3 files changed, 6 insertions, 39 deletions
diff --git a/dev-util/lldb/lldb-10.0.1.9999.ebuild b/dev-util/lldb/lldb-10.0.1.9999.ebuild index ecdb75359b11..2dfe01834ca3 100644 --- a/dev-util/lldb/lldb-10.0.1.9999.ebuild +++ b/dev-util/lldb/lldb-10.0.1.9999.ebuild @@ -4,8 +4,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{6..9} ) -inherit cmake llvm llvm.org multiprocessing python-single-r1 \ - toolchain-funcs +inherit cmake llvm llvm.org python-single-r1 toolchain-funcs DESCRIPTION="The LLVM debugger" HOMEPAGE="https://llvm.org/" @@ -43,21 +42,11 @@ BDEPEND=" sys-devel/lld ) ${PYTHON_DEPS}" -# least intrusive of all -CMAKE_BUILD_TYPE=RelWithDebInfo - pkg_setup() { LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup python-single-r1_pkg_setup } -src_prepare() { - # cmake eclasses suck by forcing ${S} here - CMAKE_USE_DIR=${S} \ - S=${WORKDIR} \ - cmake_src_prepare -} - src_configure() { local mycmakeargs=( -DLLDB_ENABLE_CURSES=$(usex ncurses) @@ -87,7 +76,7 @@ src_configure() { -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit" - -DLLVM_LIT_ARGS="-vv;-j;${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}" + -DLLVM_LIT_ARGS="$(get_lit_flags)" ) cmake_src_configure diff --git a/dev-util/lldb/lldb-10.0.1_rc1.ebuild b/dev-util/lldb/lldb-10.0.1_rc1.ebuild index ecdb75359b11..2dfe01834ca3 100644 --- a/dev-util/lldb/lldb-10.0.1_rc1.ebuild +++ b/dev-util/lldb/lldb-10.0.1_rc1.ebuild @@ -4,8 +4,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{6..9} ) -inherit cmake llvm llvm.org multiprocessing python-single-r1 \ - toolchain-funcs +inherit cmake llvm llvm.org python-single-r1 toolchain-funcs DESCRIPTION="The LLVM debugger" HOMEPAGE="https://llvm.org/" @@ -43,21 +42,11 @@ BDEPEND=" sys-devel/lld ) ${PYTHON_DEPS}" -# least intrusive of all -CMAKE_BUILD_TYPE=RelWithDebInfo - pkg_setup() { LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup python-single-r1_pkg_setup } -src_prepare() { - # cmake eclasses suck by forcing ${S} here - CMAKE_USE_DIR=${S} \ - S=${WORKDIR} \ - cmake_src_prepare -} - src_configure() { local mycmakeargs=( -DLLDB_ENABLE_CURSES=$(usex ncurses) @@ -87,7 +76,7 @@ src_configure() { -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit" - -DLLVM_LIT_ARGS="-vv;-j;${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}" + -DLLVM_LIT_ARGS="$(get_lit_flags)" ) cmake_src_configure diff --git a/dev-util/lldb/lldb-11.0.0.9999.ebuild b/dev-util/lldb/lldb-11.0.0.9999.ebuild index ecdb75359b11..2dfe01834ca3 100644 --- a/dev-util/lldb/lldb-11.0.0.9999.ebuild +++ b/dev-util/lldb/lldb-11.0.0.9999.ebuild @@ -4,8 +4,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{6..9} ) -inherit cmake llvm llvm.org multiprocessing python-single-r1 \ - toolchain-funcs +inherit cmake llvm llvm.org python-single-r1 toolchain-funcs DESCRIPTION="The LLVM debugger" HOMEPAGE="https://llvm.org/" @@ -43,21 +42,11 @@ BDEPEND=" sys-devel/lld ) ${PYTHON_DEPS}" -# least intrusive of all -CMAKE_BUILD_TYPE=RelWithDebInfo - pkg_setup() { LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup python-single-r1_pkg_setup } -src_prepare() { - # cmake eclasses suck by forcing ${S} here - CMAKE_USE_DIR=${S} \ - S=${WORKDIR} \ - cmake_src_prepare -} - src_configure() { local mycmakeargs=( -DLLDB_ENABLE_CURSES=$(usex ncurses) @@ -87,7 +76,7 @@ src_configure() { -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit" - -DLLVM_LIT_ARGS="-vv;-j;${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}" + -DLLVM_LIT_ARGS="$(get_lit_flags)" ) cmake_src_configure |