summaryrefslogtreecommitdiff
path: root/dev-util/lldb
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/lldb')
-rw-r--r--dev-util/lldb/Manifest11
-rw-r--r--dev-util/lldb/lldb-7.0.1.ebuild118
-rw-r--r--dev-util/lldb/lldb-7.1.0.ebuild8
-rw-r--r--dev-util/lldb/lldb-8.0.0.ebuild2
-rw-r--r--dev-util/lldb/lldb-8.0.9999.ebuild6
-rw-r--r--dev-util/lldb/lldb-9999.ebuild6
6 files changed, 18 insertions, 133 deletions
diff --git a/dev-util/lldb/Manifest b/dev-util/lldb/Manifest
index cfc6a8e244e0..df0df53259d8 100644
--- a/dev-util/lldb/Manifest
+++ b/dev-util/lldb/Manifest
@@ -1,12 +1,9 @@
-DIST lldb-7.0.1.src.tar.xz 19384628 BLAKE2B 4720aa85afb90b84264f53736ca8a225bfc807cd84271f8be35a06437e718fb40a0f5090f213e203ffb746b254583f59e912d00300635e78f43aeb75a8dc4048 SHA512 7e98c3148ac34b42404e5aaaff91728d19e9062110a333f0bc7a62ec324fbb6d033ea44b56e144dc1e94febb2107cfb33c71bb3602c2168a6270dd807a2cc5ff
DIST lldb-7.1.0.src.tar.xz 19384976 BLAKE2B a1d5afea255f06221516e21e80120cb35d870ec447aff774d8c610c889c8f28228c7c8e93eec160fc5424736666fcaac8ed42d9181373d266202c9f8aa4c3061 SHA512 773f79939c540f349f1c85d6b1d89fa312488c4c70f100f05cb6250f62e8d6a05832d57c02750439ede905fa69e1380a73ddde0d3ad2f99a0910acd1011559df
DIST lldb-8.0.0.src.tar.xz 19602332 BLAKE2B 85a51b3ccae8fd0074b0f5b54e35d2eb020770246b13a0ec52a4647d30f23a6620ce410af7e49604947ff60f789ecab0bfeddfc3598642c9096cf3362d88b5bf SHA512 5192d6d6d1759db28569de929ba8db2a80283000f1bf8453d9cf172ac85574c8eacc13f9fe64ecabea0533bfc49c0f58ea8fb29b1f4d88c065d905d553f2e60c
-DIST llvm-7.0.1.src.tar.xz 28311056 BLAKE2B 737aa6144a415e41a4ff2c8bd5a727d6f14d7b1810c62cbefa5a25fe642c98cddf8a28e35c7e9783373aa3b96f5c0943229e229ad1b43e56e9ed6db0f27ab128 SHA512 ac43a3cb71a53deb55e3693653847cf20bf6f5d9056f224e6956c96d63bc59ebee9404f088eec9cabe65337b4607a905ef931354b373cf64e0004c6905a6b5df
DIST llvm-7.1.0.src.tar.xz 28313784 BLAKE2B b78d9a7fc5ef6e352e77d339e5c4eef5ccedf67c05e7abd949e72619aa8a5ed65e7e5e2008354be8e7916d75581719b99f34227838fcc86c5d0080913c2fb22c SHA512 a7dbd5693d1f2dae6b6e52893a100f9349cbfcfb25c5fdcad46364acbff0dbd3573f8fbc026c68eb9fd56335198aa94b866cc3dd7ea0cbd2cbfb5f8fe3444a7a
DIST llvm-8.0.0.src.tar.xz 30503732 BLAKE2B d89bdeb0ec7d885e49cfe5ae025da84f00502d409710c0807a3cdd58dbd47c50cf6a635593569483150f7f2ecb0de0310bd6785cb7625219bf9f6224a0d68e1c SHA512 1602343b451b964f5d8c2d6b0654d89384c80d45883498c5f0e2f4196168dd4a1ed2a4dadb752076020243df42ffe46cb31d82ffc145d8e5874163cbb9686a1f
-EBUILD lldb-7.0.1.ebuild 3010 BLAKE2B 9d82e23d83a5726a5c966d14e4660e7199e03716597c2be0bf2adf33037c1fb4cd459fda2ab44230e18efc681690f16e25753de7b3bca2932b1081e6feff887a SHA512 92a937daf00ab27650045dad8fae9e7a1e9e2b014b37ee9e13c8452f25fa58a78196711b0e5a41a65f12947a1a9fd85ddbf9c360c4036478a699417501c2c02f
-EBUILD lldb-7.1.0.ebuild 3010 BLAKE2B 3df47e43fda7564f0e86afe317e3489deba983ec81a349cba2886a13edf70e07e6367ecc85b06aa94a2044763db4357382cdad59ae720dac40c58d546c71391a SHA512 75974325d1a8883f8487725eb0144b5cf6f7e188abf9365dee2983c800cb508bd08e8aa8d017368c4805f87934c8df779aa6ec40e1b35a47c5bf226de7714a53
-EBUILD lldb-8.0.0.ebuild 3010 BLAKE2B 3df47e43fda7564f0e86afe317e3489deba983ec81a349cba2886a13edf70e07e6367ecc85b06aa94a2044763db4357382cdad59ae720dac40c58d546c71391a SHA512 75974325d1a8883f8487725eb0144b5cf6f7e188abf9365dee2983c800cb508bd08e8aa8d017368c4805f87934c8df779aa6ec40e1b35a47c5bf226de7714a53
-EBUILD lldb-8.0.9999.ebuild 2960 BLAKE2B 39990504c70cab7761ae1e465bf257558488f3c90b5e07fcaa72e9b4c6e874e62e4d15ddadcb0fdb3924af3aaecec8f14b1747e1e3cf837c0b77b77b1b44f906 SHA512 68d1ff044126076e1962eb1a09eb0621a313ed92a7ba2fff6a9959f00f39b219ac6478113c641f0c55f3b687ea9ce7cf23ac7c6ebaad51788f162f639598fc94
-EBUILD lldb-9999.ebuild 2914 BLAKE2B e3a93e6587132df4ab3dd5def2f42df76842c0c0c10ca5509f4aa9637cf864fadc7cf7c49b19794a5c588788f1d6389214583ad13a26c5fbd63aae6a38a7f2d2 SHA512 f75c95ce2ed842b8c132ee192cdde8aab6bbba63089888774f5f4827e2f557e7ddcb0782477a580140806d6b3b62be98684cec66d5c5db74337f888a38653c5a
+EBUILD lldb-7.1.0.ebuild 3089 BLAKE2B ef67ee69a939f95d3cae8c43a84e13fc9a7c07618688da377a41f0d311a115c4bbe2974ef1ff55ace8edae236bf04f6dbdd06754e01a9994d23d776059744bb4 SHA512 11876b8c84239cc16b91da46258f9d302542fb87103362c1ef55243ff884046ee0385ddc1dbe2bc9f77baaa70f17d43c922c6a3f854b60761d08911050e448f6
+EBUILD lldb-8.0.0.ebuild 3011 BLAKE2B c4d28d2f72f001ccfeb108732d073e6c8c52db8dcf7988f4ac282981bc7317c723cd6e4afa695fb072cb321b976a05869f03a8a9062bb06f80e4ebac11bc892a SHA512 86fbe8fb7402865ffb8410751325bcd71fa0d830c562855042fb2029da24026879df77b2f974139a2e3b49bf539a1ab789becaa8342b94f70038f5c60be92e4e
+EBUILD lldb-8.0.9999.ebuild 2979 BLAKE2B 1d326097cba41690f29b2a709331915589030836d858dc61c4df834225742b56c9dbff3f253fdb5b5e3d50c124bab36358eeb0525769944ad8bbdcfe5bc408db SHA512 7ddd2db9997696bc32eb5d906cf409ac34c25f1b970a9c75e8e3e6a92fd8ddd1088d0b24a9ecda286a874dd79a916c93c73bb841a4604aa61fc54c295c3cf248
+EBUILD lldb-9999.ebuild 2933 BLAKE2B d9990b5ef013aa2954b4026b0cfa716bf1ad198f097fd5dfa89f121b423e234e361c7ab075d4db4195723ed508142b7cd7a51bfbe2cf92813b757e41c900906e SHA512 2aa9be404ca8246cf72d0a09ddc7cbf07cdbca4d6396db76ccbe3387c4b98f840b3250a8f89435ced72f4c1cb253cee2f25a762b91d2b9cd625af801145b4f8a
MISC metadata.xml 216 BLAKE2B fe5e49887842aa513fbf1f2e09bed09a884d531fd21bdaeb2d389e8bf590b6c0e7063f0af98f66e2db129308ab0f0804ba327c3c752bbb4c900c59ac109d99aa SHA512 3485598147c953e72e1785693a489a7e7d73d59620b76054db9c0ce95d8bfa0e8ffec29da7f7a9d73a32e5b77eac07ca3306c56a972dc57fd89d477edaebf3d5
diff --git a/dev-util/lldb/lldb-7.0.1.ebuild b/dev-util/lldb/lldb-7.0.1.ebuild
deleted file mode 100644
index e0f87be71fe8..000000000000
--- a/dev-util/lldb/lldb-7.0.1.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
-# (needed due to CMAKE_BUILD_TYPE != Gentoo)
-CMAKE_MIN_VERSION=3.7.0-r1
-PYTHON_COMPAT=( python2_7 )
-
-inherit cmake-utils llvm multiprocessing python-single-r1 \
- toolchain-funcs
-
-MY_P=${P/_/}.src
-LLVM_P=llvm-${PV/_/}.src
-
-DESCRIPTION="The LLVM debugger"
-HOMEPAGE="https://llvm.org/"
-SRC_URI="https://releases.llvm.org/${PV/_//}/${MY_P}.tar.xz
- test? ( https://releases.llvm.org/${PV/_//}/${LLVM_P}.tar.xz )"
-
-LICENSE="UoI-NCSA"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="libedit ncurses python test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- libedit? ( dev-libs/libedit:0= )
- ncurses? ( >=sys-libs/ncurses-5.9-r3:0= )
- python? ( dev-python/six[${PYTHON_USEDEP}]
- ${PYTHON_DEPS} )
- ~sys-devel/clang-${PV}[xml]
- ~sys-devel/llvm-${PV}
- !<sys-devel/llvm-4.0"
-DEPEND="${RDEPEND}
- python? ( >=dev-lang/swig-3.0.11 )
- test? ( ~dev-python/lit-${PV}[${PYTHON_USEDEP}] )
- ${PYTHON_DEPS}"
-
-REQUIRED_USE=${PYTHON_REQUIRED_USE}
-
-S=${WORKDIR}/${MY_P}
-
-# least intrusive of all
-CMAKE_BUILD_TYPE=RelWithDebInfo
-
-pkg_setup() {
- LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup
- python-single-r1_pkg_setup
-}
-
-src_unpack() {
- einfo "Unpacking ${MY_P}.tar.xz ..."
- tar -xf "${DISTDIR}/${MY_P}.tar.xz" || die
-
- if use test; then
- einfo "Unpacking parts of ${LLVM_P}.tar.xz ..."
- tar -xf "${DISTDIR}/${LLVM_P}.tar.xz" \
- "${LLVM_P}"/{lib/Testing/Support,utils/unittest} || die
- mv "${LLVM_P}" llvm || die
- fi
-}
-
-src_configure() {
- local mycmakeargs=(
- -DLLDB_DISABLE_CURSES=$(usex !ncurses)
- -DLLDB_DISABLE_LIBEDIT=$(usex !libedit)
- -DLLDB_DISABLE_PYTHON=$(usex !python)
- -DLLDB_USE_SYSTEM_SIX=1
- -DLLVM_ENABLE_TERMINFO=$(usex ncurses)
-
- -DLLDB_INCLUDE_TESTS=$(usex test)
-
- # TODO: fix upstream to detect this properly
- -DHAVE_LIBDL=ON
- -DHAVE_LIBPTHREAD=ON
-
- # normally we'd have to set LLVM_ENABLE_TERMINFO, HAVE_TERMINFO
- # and TERMINFO_LIBS... so just force FindCurses.cmake to use
- # ncurses with complete library set (including autodetection
- # of -ltinfo)
- -DCURSES_NEED_NCURSES=ON
- )
- use test && mycmakeargs+=(
- -DLLVM_BUILD_TESTS=$(usex test)
- # compilers for lit tests
- -DLLDB_TEST_C_COMPILER="$(type -P clang)"
- -DLLDB_TEST_CXX_COMPILER="$(type -P clang++)"
-
- -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)")}"
- )
-
- cmake-utils_src_configure
-}
-
-src_test() {
- cmake-utils_src_make check-lldb-lit
- use python && cmake-utils_src_make check-lldb
-}
-
-src_install() {
- cmake-utils_src_install
-
- # oh my...
- if use python; then
- # remove custom readline.so for now
- # TODO: figure out how to deal with it
- # upstream is basically building a custom readline.so with -ledit
- # to avoid symbol collisions between readline and libedit...
- rm "${D}$(python_get_sitedir)/readline.so" || die
-
- # byte-compile the modules
- python_optimize
- fi
-}
diff --git a/dev-util/lldb/lldb-7.1.0.ebuild b/dev-util/lldb/lldb-7.1.0.ebuild
index 1da6e6ba172b..566d4192ce16 100644
--- a/dev-util/lldb/lldb-7.1.0.ebuild
+++ b/dev-util/lldb/lldb-7.1.0.ebuild
@@ -21,9 +21,11 @@ SRC_URI="https://releases.llvm.org/${PV/_//}/${MY_P}.tar.xz
LICENSE="UoI-NCSA"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="libedit ncurses python test"
-RESTRICT="!test? ( test )"
+KEYWORDS="~amd64 arm64 x86"
+IUSE="libedit ncurses +python test"
+# Tests are known to fail, and we are not going to address the failures
+# in this version.
+RESTRICT="test"
RDEPEND="
libedit? ( dev-libs/libedit:0= )
diff --git a/dev-util/lldb/lldb-8.0.0.ebuild b/dev-util/lldb/lldb-8.0.0.ebuild
index 1da6e6ba172b..c484dbe87baf 100644
--- a/dev-util/lldb/lldb-8.0.0.ebuild
+++ b/dev-util/lldb/lldb-8.0.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="https://releases.llvm.org/${PV/_//}/${MY_P}.tar.xz
LICENSE="UoI-NCSA"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="libedit ncurses python test"
+IUSE="libedit ncurses +python test"
RESTRICT="!test? ( test )"
RDEPEND="
diff --git a/dev-util/lldb/lldb-8.0.9999.ebuild b/dev-util/lldb/lldb-8.0.9999.ebuild
index d16b057b1e95..42ab87c3fa40 100644
--- a/dev-util/lldb/lldb-8.0.9999.ebuild
+++ b/dev-util/lldb/lldb-8.0.9999.ebuild
@@ -21,7 +21,7 @@ EGIT_BRANCH="release_80"
LICENSE="UoI-NCSA"
SLOT="0"
KEYWORDS=""
-IUSE="libedit ncurses python test"
+IUSE="libedit ncurses +python test"
RESTRICT="!test? ( test )"
RDEPEND="
@@ -34,7 +34,9 @@ RDEPEND="
!<sys-devel/llvm-4.0"
DEPEND="${RDEPEND}
python? ( >=dev-lang/swig-3.0.11 )
- test? ( ~dev-python/lit-${PV}[${PYTHON_USEDEP}] )
+ test? (
+ ~dev-python/lit-${PV}[${PYTHON_USEDEP}]
+ sys-devel/lld )
${PYTHON_DEPS}"
REQUIRED_USE=${PYTHON_REQUIRED_USE}
diff --git a/dev-util/lldb/lldb-9999.ebuild b/dev-util/lldb/lldb-9999.ebuild
index 983a4d03efe7..3f43283685fb 100644
--- a/dev-util/lldb/lldb-9999.ebuild
+++ b/dev-util/lldb/lldb-9999.ebuild
@@ -20,7 +20,7 @@ EGIT_REPO_URI="https://git.llvm.org/git/lldb.git
LICENSE="UoI-NCSA"
SLOT="0"
KEYWORDS=""
-IUSE="libedit ncurses python test"
+IUSE="libedit ncurses +python test"
RESTRICT="!test? ( test )"
RDEPEND="
@@ -33,7 +33,9 @@ RDEPEND="
!<sys-devel/llvm-4.0"
DEPEND="${RDEPEND}
python? ( >=dev-lang/swig-3.0.11 )
- test? ( ~dev-python/lit-${PV}[${PYTHON_USEDEP}] )
+ test? (
+ ~dev-python/lit-${PV}[${PYTHON_USEDEP}]
+ sys-devel/lld )
${PYTHON_DEPS}"
REQUIRED_USE=${PYTHON_REQUIRED_USE}