diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-12-25 23:06:25 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-12-25 23:06:25 +0000 |
commit | 441d1370330332b7d78f238d2f5e13f7aed5e4e0 (patch) | |
tree | 6a5171dd615dfeee62a45044144c66e864738fb0 /dev-util/lldb | |
parent | ab3da91fb6c91a9df52fff8f991570f456fd3c7a (diff) |
gentoo christmass resync : 25.12.2020
Diffstat (limited to 'dev-util/lldb')
-rw-r--r-- | dev-util/lldb/Manifest | 6 | ||||
-rw-r--r-- | dev-util/lldb/lldb-11.0.1.9999.ebuild | 8 | ||||
-rw-r--r-- | dev-util/lldb/lldb-11.0.1_rc2.ebuild | 100 | ||||
-rw-r--r-- | dev-util/lldb/lldb-12.0.0.9999.ebuild | 8 |
4 files changed, 110 insertions, 12 deletions
diff --git a/dev-util/lldb/Manifest b/dev-util/lldb/Manifest index 5f6b535cc86b..3bb21baeedf8 100644 --- a/dev-util/lldb/Manifest +++ b/dev-util/lldb/Manifest @@ -1,11 +1,13 @@ DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 30f19f56c4d1f6abcda5fec76256219d1e3c8a6ff1a1f152f94bfe362c07884339fe571ff7fe903ed3b3deb150b2fa868c387887a0dea2930dc08b81db71a5b1 SHA512 48078fff9293a87f1a973f3348f79506f04c3da774295f5eb67d74dd2d1aa94f0973f8ced3f4ab9e8339902071f82c603b43d5608ad7227046c4da769c5d2151 DIST llvmorg-11.0.0.tar.gz 122743665 BLAKE2B 3f95570240789fd68ddb747df817f5c6cdc9da40911bbe9ee3531c15ada9165e5002b1c2f778cf8735858485ea05a8754e3d3a5f4b15bdd6cb33d64a14692984 SHA512 b6d38871ccce0e086e27d35e42887618d68e57d8274735c59e3eabc42dee352412489296293f8d5169fe0044936345915ee7da61ebdc64ec10f7737f6ecd90f2 DIST llvmorg-11.0.1-rc1.tar.gz 122777435 BLAKE2B 23b520d33cf4b641027ee52bb10c6171d60356c9167d5b94012929e6e547c526cda1a6177c295ed19592dfb83b020f63b2cef4cabc70ce9a2a8e098fe654a3cd SHA512 605c7bbff1610f335be8ea4f1204df797fed21185a54c77565f6ff2d00794d1967e9c5fab7c87633e242f2f999bdffb76da83f756d261c1ca476114599409ae1 +DIST llvmorg-11.0.1-rc2.tar.gz 122793330 BLAKE2B 5d42f7bd7ba253ac3ca08cf9901c79db5b51b86f0f66c8e63f4f9808ca5fb72cacccfad098b4f6701a34b0d77bdd66fe3839a3962a251eae53776240a2e13b06 SHA512 acda5a5be38cc8aae730c34cd1bb8f29a82e2ed3dd9734ca293ff092d5b30c8c255ab3054245b8f6ed541d5dbf8bc674b744bb2f81788db8826f69a204dda0c3 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f SHA512 fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59 EBUILD lldb-10.0.1.ebuild 2335 BLAKE2B 1e8212cd840aa2898451bca1c2670f443707738b4c8ca9c673f9e940fa918d0f742b04273f9d2899791aebb2db499bf210605f9ed90479029d4c25add49a310c SHA512 86f5ded28593601e21abf270a0dd0ff703c1ef863534cae87ec72f67ddf8de4fc3394b7088be9d38dfb39a79c1593a57b3df4f5a167e96e6aa1a34c2b1c8f656 EBUILD lldb-11.0.0.ebuild 2383 BLAKE2B 86df01e0663b79c93b5816c6cbf4ec9a995cded9350d100bbdbad9b9ab7529fedf0244274718a919a003209ad0c48580192a06aeb19f3ca4c06bea0c9d35f9b7 SHA512 ddc49fda9558b794f08ed9c3b0f91ea3fffc67ab171354a7f229790a7b2f05d0b144da8bbc686571a5f9dc1f0fbf5fc502bf99ec3f8897d4537b0ba9ad69a7e4 -EBUILD lldb-11.0.1.9999.ebuild 2377 BLAKE2B 24e812157bf567f7fe15f3cfd87be257d497f3718344d811289268e8dbc88a3fef3f5c93fb40b05b3f7d2c967e7eb8c995d558c5d735ffc770c2d2ae20a35c99 SHA512 84be51f4c642347a8d9210aab04c5de8c990c8cd413fc575aa3a8d4eadf8b83ea5c0f3df41d60b41deab20b1cde465ee9262a17e7f6cf9eca44f20210dc17c5f +EBUILD lldb-11.0.1.9999.ebuild 2334 BLAKE2B eb83c7d886da89e955f8408a7a706d0ef79297dab2a211d8c281838b8862c603b9671afc9148fa24caea9d02362dc7bffd186014f6242ecdfbff39575da9fed4 SHA512 3f4c67a05a9c153486946e619834a50ab62b61a0e0f1f98b39a0c4bf53aba590c858a5be833ac0151164cf752579b922a844927cfab55e06cee63ba69dea290c EBUILD lldb-11.0.1_rc1.ebuild 2377 BLAKE2B 24e812157bf567f7fe15f3cfd87be257d497f3718344d811289268e8dbc88a3fef3f5c93fb40b05b3f7d2c967e7eb8c995d558c5d735ffc770c2d2ae20a35c99 SHA512 84be51f4c642347a8d9210aab04c5de8c990c8cd413fc575aa3a8d4eadf8b83ea5c0f3df41d60b41deab20b1cde465ee9262a17e7f6cf9eca44f20210dc17c5f -EBUILD lldb-12.0.0.9999.ebuild 2366 BLAKE2B 4dc3eb12f0168e7915b6baaee930a79ff514e2ea900562c3ed46c01e6d115bd7bfeff34ae1f65e46fc8b6d142b7de63b848b38d35f0306c185793ead33cdf752 SHA512 61b66d649f28a0dea7805ebec036ea6c805c76d4bc9cf8c9ba778cdd6f7568c6c3d5c803f6510374fbb2f483c24056e6bd0a01b338bed30cab9f98d39d260622 +EBUILD lldb-11.0.1_rc2.ebuild 2334 BLAKE2B eb83c7d886da89e955f8408a7a706d0ef79297dab2a211d8c281838b8862c603b9671afc9148fa24caea9d02362dc7bffd186014f6242ecdfbff39575da9fed4 SHA512 3f4c67a05a9c153486946e619834a50ab62b61a0e0f1f98b39a0c4bf53aba590c858a5be833ac0151164cf752579b922a844927cfab55e06cee63ba69dea290c +EBUILD lldb-12.0.0.9999.ebuild 2323 BLAKE2B 109888de2a70965bf611190aee56cdd6af1183e0282b1cccc4a9c149963516bf2eb44000f11ca17c2a6d8fea5d1b9694458cb09bf41c6528f73a13510229f292 SHA512 708b848850018c42256ddaae593d5dad388f906376514b0bfefe898d44ccf325bd8ccbc4ffcc65b25a3effc45b8e961a376916af1368a8459818f0b14d06deff EBUILD lldb-9.0.1-r1.ebuild 2391 BLAKE2B c0e73cf6e7c6fc153855681daa373618baffa2d45bd290855633d957464e99d86112918eec8aa0b43a975750e8ccd87fbffe2594b0110ac406eab8579c654f72 SHA512 8edadff2f01c15b75d894e30546a00826f140a81bc0ebfb5fb214eb5d133d8390b18a3075746fe94f061b36fcea9fb981ecd6de3d0567f73736c388af62c6320 MISC metadata.xml 216 BLAKE2B fe5e49887842aa513fbf1f2e09bed09a884d531fd21bdaeb2d389e8bf590b6c0e7063f0af98f66e2db129308ab0f0804ba327c3c752bbb4c900c59ac109d99aa SHA512 3485598147c953e72e1785693a489a7e7d73d59620b76054db9c0ce95d8bfa0e8ffec29da7f7a9d73a32e5b77eac07ca3306c56a972dc57fd89d477edaebf3d5 diff --git a/dev-util/lldb/lldb-11.0.1.9999.ebuild b/dev-util/lldb/lldb-11.0.1.9999.ebuild index e3f6cc1ae822..d19bad039005 100644 --- a/dev-util/lldb/lldb-11.0.1.9999.ebuild +++ b/dev-util/lldb/lldb-11.0.1.9999.ebuild @@ -22,7 +22,7 @@ RDEPEND=" ncurses? ( >=sys-libs/ncurses-5.9-r3:0= ) python? ( $(python_gen_cond_dep ' - dev-python/six[${PYTHON_MULTI_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] ') ${PYTHON_DEPS} ) @@ -35,7 +35,8 @@ BDEPEND=" python? ( >=dev-lang/swig-3.0.11 ) test? ( $(python_gen_cond_dep " - ~dev-python/lit-${PV}[\${PYTHON_MULTI_USEDEP}] + ~dev-python/lit-${PV}[\${PYTHON_USEDEP}] + dev-python/psutil[\${PYTHON_USEDEP}] ") sys-devel/lld ) @@ -76,9 +77,6 @@ src_configure() { ) 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="$(get_lit_flags)" diff --git a/dev-util/lldb/lldb-11.0.1_rc2.ebuild b/dev-util/lldb/lldb-11.0.1_rc2.ebuild new file mode 100644 index 000000000000..d19bad039005 --- /dev/null +++ b/dev-util/lldb/lldb-11.0.1_rc2.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) +inherit cmake llvm llvm.org python-single-r1 toolchain-funcs + +DESCRIPTION="The LLVM debugger" +HOMEPAGE="https://llvm.org/" + +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? ( + $(python_gen_cond_dep ' + dev-python/six[${PYTHON_USEDEP}] + ') + ${PYTHON_DEPS} + ) + ~sys-devel/clang-${PV}[xml] + ~sys-devel/llvm-${PV} + !<sys-devel/llvm-4.0" +DEPEND="${RDEPEND}" +BDEPEND=" + >=dev-util/cmake-3.16 + python? ( >=dev-lang/swig-3.0.11 ) + test? ( + $(python_gen_cond_dep " + ~dev-python/lit-${PV}[\${PYTHON_USEDEP}] + dev-python/psutil[\${PYTHON_USEDEP}] + ") + 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 +} + +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 + + -DPython3_EXECUTABLE="${PYTHON}" + ) + use test && mycmakeargs+=( + -DLLVM_BUILD_TESTS=$(usex test) + -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" + -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit" + -DLLVM_LIT_ARGS="$(get_lit_flags)" + ) + + cmake_src_configure +} + +src_test() { + local -x LIT_PRESERVES_TMP=1 + cmake_build check-lldb-lit + # failures + hangs + #use python && cmake_build check-lldb +} + +src_install() { + cmake_src_install + find "${D}" -name '*.a' -delete || die + + use python && python_optimize +} diff --git a/dev-util/lldb/lldb-12.0.0.9999.ebuild b/dev-util/lldb/lldb-12.0.0.9999.ebuild index bcf3d783cb74..6498e428b6b7 100644 --- a/dev-util/lldb/lldb-12.0.0.9999.ebuild +++ b/dev-util/lldb/lldb-12.0.0.9999.ebuild @@ -22,7 +22,7 @@ RDEPEND=" ncurses? ( >=sys-libs/ncurses-5.9-r3:0= ) python? ( $(python_gen_cond_dep ' - dev-python/six[${PYTHON_MULTI_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] ') ${PYTHON_DEPS} ) @@ -35,7 +35,8 @@ BDEPEND=" python? ( >=dev-lang/swig-3.0.11 ) test? ( $(python_gen_cond_dep " - ~dev-python/lit-${PV}[\${PYTHON_MULTI_USEDEP}] + ~dev-python/lit-${PV}[\${PYTHON_USEDEP}] + dev-python/psutil[\${PYTHON_USEDEP}] ") sys-devel/lld ) @@ -76,9 +77,6 @@ src_configure() { ) 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="$(get_lit_flags)" |