diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-05 18:44:56 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-05 18:44:56 +0000 |
commit | 29aabba0ea759c6a2864ff5631735b67ee38e5e0 (patch) | |
tree | ab466b4dfa7abecb401b2f8039d08af4689306bb /dev-util/lldb | |
parent | d42200bec37eef2a7478d88988ff00addd0a9202 (diff) |
gentoo resync : 05.02.2020
Diffstat (limited to 'dev-util/lldb')
-rw-r--r-- | dev-util/lldb/Manifest | 8 | ||||
-rw-r--r-- | dev-util/lldb/lldb-10.0.0.9999.ebuild | 3 | ||||
-rw-r--r-- | dev-util/lldb/lldb-10.0.0_rc1.ebuild | 94 | ||||
-rw-r--r-- | dev-util/lldb/lldb-11.0.0.9999.ebuild | 3 | ||||
-rw-r--r-- | dev-util/lldb/lldb-9.0.1.ebuild | 2 |
5 files changed, 102 insertions, 8 deletions
diff --git a/dev-util/lldb/Manifest b/dev-util/lldb/Manifest index 8b59e9659672..4f126f6849cb 100644 --- a/dev-util/lldb/Manifest +++ b/dev-util/lldb/Manifest @@ -2,10 +2,12 @@ DIST lldb-7.1.0.src.tar.xz 19384976 BLAKE2B a1d5afea255f06221516e21e80120cb35d87 DIST lldb-8.0.1.src.tar.xz 19586288 BLAKE2B afb20a8303dcbdaf76ef1d78aa3165f87713f1c16121905d7a5f71e770ceafdff40d9d19e0a983d9290da2d4eb3acd0987d50607bea17efdb7dc0127d7f5cf8a SHA512 eb031985ad4d08226ec47a90fe32c1e6d070948971ca5235fd431cf7d5b7ea20f5d5131237bf83a6419773d18c339590bf9672e7b4f884304497e63c1030988f DIST llvm-7.1.0.src.tar.xz 28313784 BLAKE2B b78d9a7fc5ef6e352e77d339e5c4eef5ccedf67c05e7abd949e72619aa8a5ed65e7e5e2008354be8e7916d75581719b99f34227838fcc86c5d0080913c2fb22c SHA512 a7dbd5693d1f2dae6b6e52893a100f9349cbfcfb25c5fdcad46364acbff0dbd3573f8fbc026c68eb9fd56335198aa94b866cc3dd7ea0cbd2cbfb5f8fe3444a7a DIST llvm-8.0.1.src.tar.xz 30477608 BLAKE2B 4319c837b36111401e3b0f9659b8d875c89463bcc7816df1aefe1e3ff989860bbaa92504718f8e15416cfd9f3491c13777cd5cb661877b237b342b0e515b93f5 SHA512 82e120be5cabdfd5111aebbea68a663fe229c8861d73802d6ab09a3bf48f60de333e07e61f8fb61beaa14ac2bea24fcd74fa6f761acaf62469f536b79fcb1e16 +DIST llvmorg-10.0.0-rc1.tar.gz 120755822 BLAKE2B a729d37d96ba498cb865c6f708734dccb796b2caabb69167b9aa3b0e12c788f2a5980a048b99d5603da3d26af909fb31f406b4f4743cabae56c45f829a7bf695 SHA512 27137fc700971147c00ded6787eaae9f0bcf98c938fe227a5a559b38d983736f3d086f4ff6772d802c5f48a7d97a97c293261e4af88fcb5a720693b9cb5a4f02 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f SHA512 fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59 -EBUILD lldb-10.0.0.9999.ebuild 2432 BLAKE2B 8f37d1c268866deaf96fae901539abfd99cc9c606c0debeb90029d096c65c5184d839c048fab8c9997cf990d1c63d78e5f7de1d60806b528bbc01f8bf1e051ee SHA512 f19fe7f0f3231de291b7b4aa826136662fa186cd8508213b51585ab895d164c08a1b5d0ef73c05497cd0384eaa5a894e0cab80134c0519b00e7821f0407857eb -EBUILD lldb-11.0.0.9999.ebuild 2432 BLAKE2B 8f37d1c268866deaf96fae901539abfd99cc9c606c0debeb90029d096c65c5184d839c048fab8c9997cf990d1c63d78e5f7de1d60806b528bbc01f8bf1e051ee SHA512 f19fe7f0f3231de291b7b4aa826136662fa186cd8508213b51585ab895d164c08a1b5d0ef73c05497cd0384eaa5a894e0cab80134c0519b00e7821f0407857eb +EBUILD lldb-10.0.0.9999.ebuild 2382 BLAKE2B 5daf2ebbcac5611bc6c4f3532de45717dcbada6938d5be50fd993288dac115009258c43cf42523dec4db1b54927c12aaf49802a223d4f761cf20d7877f314678 SHA512 5e558304588a243f9618055778e5398c7a78a5e718ff2671df68f949d3cb17d2cac722f5c50353a6fcd6dcad4d69463d83cdf648a1f13f015d23a0e3058ad667 +EBUILD lldb-10.0.0_rc1.ebuild 2382 BLAKE2B 5daf2ebbcac5611bc6c4f3532de45717dcbada6938d5be50fd993288dac115009258c43cf42523dec4db1b54927c12aaf49802a223d4f761cf20d7877f314678 SHA512 5e558304588a243f9618055778e5398c7a78a5e718ff2671df68f949d3cb17d2cac722f5c50353a6fcd6dcad4d69463d83cdf648a1f13f015d23a0e3058ad667 +EBUILD lldb-11.0.0.9999.ebuild 2382 BLAKE2B 5daf2ebbcac5611bc6c4f3532de45717dcbada6938d5be50fd993288dac115009258c43cf42523dec4db1b54927c12aaf49802a223d4f761cf20d7877f314678 SHA512 5e558304588a243f9618055778e5398c7a78a5e718ff2671df68f949d3cb17d2cac722f5c50353a6fcd6dcad4d69463d83cdf648a1f13f015d23a0e3058ad667 EBUILD lldb-7.1.0.ebuild 3088 BLAKE2B 246fc131cd7b629ffe3e541c8f108f3f0ef63b28e68c887c503b2bf55987ccd4ec8dfc4a13763ff42a0a237487d2aee58cba7a72471d2f55359c0514e9f24cdf SHA512 52de6ecdfe24cea6f24f78f7d279ccce295189209b1d99a8bf6fb656f7f2a4c8284a03745f0bdf18bb061bd7eea82afe20d93b926e819b2bbd2f64f89e636db0 EBUILD lldb-8.0.1.ebuild 3078 BLAKE2B ab71eaa79f68bb2023b3a1376920fb423e9ecd643bdd9421924889ceb370c549fea57f6d8513e2b41305729f0380d62940656023f098c4773f834fb41d591ed9 SHA512 0d78eaadb05dccb38a8e02ddd9b0c7740be3438f65d17766cea26112d74c91ecc204d4eba80eb39a80009276d8baf8166e59987eebe13674eafe5794381d3189 -EBUILD lldb-9.0.1.ebuild 2319 BLAKE2B 6d9cdb1639a29f215070b58324f62ded2163f0e3b3347d58850a44ff7fafa9c729421364d8ae481222e4bac2dad635b001892b994dba4450b8150c933ed3332c SHA512 10695980c13edc1e294d9f4f34df9e1d31937d3329da52605b09fe39af4492372e649e885df7611670456f63a3fe01ccb9e2031363a4602fe25fbaedebecdae7 +EBUILD lldb-9.0.1.ebuild 2318 BLAKE2B 74047aad559a58ece8df8682d9f237e1a1e4b655869ba78a5d2379cf5ef16429058d0728fe6851666c79cab9bcc90319a6f5b3366da4e085267af17c644f6c50 SHA512 1e24bb6c916bd2e85aac3d83c687532a063fe70f9c4b327e42877dca0606ecbfaed34bb7359114ae896693f5e21542c317403e0c8e3b0af4e880ab151519a8fa MISC metadata.xml 216 BLAKE2B fe5e49887842aa513fbf1f2e09bed09a884d531fd21bdaeb2d389e8bf590b6c0e7063f0af98f66e2db129308ab0f0804ba327c3c752bbb4c900c59ac109d99aa SHA512 3485598147c953e72e1785693a489a7e7d73d59620b76054db9c0ce95d8bfa0e8ffec29da7f7a9d73a32e5b77eac07ca3306c56a972dc57fd89d477edaebf3d5 diff --git a/dev-util/lldb/lldb-10.0.0.9999.ebuild b/dev-util/lldb/lldb-10.0.0.9999.ebuild index de7777bae713..332d07439b76 100644 --- a/dev-util/lldb/lldb-10.0.0.9999.ebuild +++ b/dev-util/lldb/lldb-10.0.0.9999.ebuild @@ -70,8 +70,7 @@ src_configure() { 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++)" + -DLLDB_TEST_COMPILER="$(type -P clang)" -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit" diff --git a/dev-util/lldb/lldb-10.0.0_rc1.ebuild b/dev-util/lldb/lldb-10.0.0_rc1.ebuild new file mode 100644 index 000000000000..332d07439b76 --- /dev/null +++ b/dev-util/lldb/lldb-10.0.0_rc1.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_{6,7}} ) +inherit cmake-utils llvm llvm.org multiprocessing 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" +KEYWORDS="" +IUSE="libedit lzma ncurses +python test" +REQUIRED_USE=${PYTHON_REQUIRED_USE} +RESTRICT="!test? ( test )" + +RDEPEND=" + libedit? ( dev-libs/libedit:0= ) + lzma? ( app-arch/xz-utils:= ) + 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}" +BDEPEND=" + python? ( >=dev-lang/swig-3.0.11 ) + test? ( + ~dev-python/lit-${PV}[${PYTHON_USEDEP}] + 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_configure() { + local mycmakeargs=( + -DLLDB_ENABLE_CURSES=$(usex ncurses) + -DLLDB_ENABLE_LIBEDIT=$(usex libedit) + -DLLDB_ENABLE_PYTHON=$(usex python) + -DLLDB_ENABLE_LZMA=$(usex lzma) + -DLLDB_USE_SYSTEM_SIX=1 + -DLLVM_ENABLE_TERMINFO=$(usex ncurses) + + -DLLDB_INCLUDE_TESTS=$(usex test) + + -DCLANG_LINK_CLANG_DYLIB=ON + # 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_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() { + local -x LIT_PRESERVES_TMP=1 + cmake-utils_src_make check-lldb-lit + use python && cmake-utils_src_make check-lldb +} + +src_install() { + cmake-utils_src_install + find "${D}" -name '*.a' -delete || die + + use python && python_optimize +} diff --git a/dev-util/lldb/lldb-11.0.0.9999.ebuild b/dev-util/lldb/lldb-11.0.0.9999.ebuild index de7777bae713..332d07439b76 100644 --- a/dev-util/lldb/lldb-11.0.0.9999.ebuild +++ b/dev-util/lldb/lldb-11.0.0.9999.ebuild @@ -70,8 +70,7 @@ src_configure() { 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++)" + -DLLDB_TEST_COMPILER="$(type -P clang)" -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit" diff --git a/dev-util/lldb/lldb-9.0.1.ebuild b/dev-util/lldb/lldb-9.0.1.ebuild index 2c745d19c7c4..20d744e17b96 100644 --- a/dev-util/lldb/lldb-9.0.1.ebuild +++ b/dev-util/lldb/lldb-9.0.1.ebuild @@ -15,7 +15,7 @@ llvm.org_set_globals LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" +KEYWORDS="amd64 arm ~arm64 x86" IUSE="libedit ncurses +python test" REQUIRED_USE=${PYTHON_REQUIRED_USE} RESTRICT="!test? ( test )" |