summaryrefslogtreecommitdiff
path: root/dev-debug/lldb
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-03 03:04:04 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-03 03:04:04 +0000
commit212000bb5eabdfeb9a6e7a9b8f28e2740cae555a (patch)
treedbbe26e892147b95a24336cc44d791dbe0c0ce5f /dev-debug/lldb
parent37a097af13d675b83911ac006ee9ee22d2163f9a (diff)
gentoo auto-resync : 03:11:2024 - 03:04:03
Diffstat (limited to 'dev-debug/lldb')
-rw-r--r--dev-debug/lldb/Manifest7
-rw-r--r--dev-debug/lldb/lldb-19.1.2.ebuild111
-rw-r--r--dev-debug/lldb/lldb-20.0.0_pre20241015.ebuild110
-rw-r--r--dev-debug/lldb/lldb-20.0.0_pre20241023.ebuild110
4 files changed, 0 insertions, 338 deletions
diff --git a/dev-debug/lldb/Manifest b/dev-debug/lldb/Manifest
index 574c8c3275ba..6acf4ec7799f 100644
--- a/dev-debug/lldb/Manifest
+++ b/dev-debug/lldb/Manifest
@@ -1,5 +1,4 @@
DIST llvm-gentoo-patchset-18.1.8-r5.tar.xz 16528 BLAKE2B 9e094c3907ec9ca9a4f856af1b62c2d093bca4528badc4fc2d7109e1bc41d4a05219844ca434bf6d3a364f513c9ccae9120bb21739efa5674ce7dc40ba2a93b1 SHA512 5e714fc64c1d1246ae61e79310a02f58e06adaac6a7fc41ed5982bd2254586340597952633d3577e15b1246ac1417dd3f017d9757813d87daa9b82111fe57a59
-DIST llvm-project-0cb80c4f00689ca00a85e1f38bc6ae9dd0bf980e.tar.gz 220327440 BLAKE2B b58d9fe8527d5849266c56400d451faff3b9138ee7d71f24d904c146dfcf05a1734e1234bab1b4035b55a9588633f05264ebf87886aab27a2a2f18a945869041 SHA512 d0d443bc4b21c9b32bd079d0538702737bb4cb4218edfdfd24164e9b14ee25d5809e7aa840f6c1bb0e3d73cd1fe59053aff041df93274fdbcf436ae57cef99ae
DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5 SHA512 4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52
DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df SHA512 fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d SHA512 89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
@@ -8,21 +7,15 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B d6ede1a9fda8756995c3e06541
DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7 SHA512 f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B a950492f1dbfb874dff63b1ffef86468169ba2f211a9733ec2d4cf30040f7f277ef00f048bb44dee9f97d7d762f0f241f19e5a2a7b0b49217d3821ddfc8c354f SHA512 25eeee9984c8b4d0fbc240df90f33cbb000d3b0414baff5c8982beafcc5e59e7ef18f6f85d95b3a5f60cb3d4cd4f877c80487b5768bc21bc833f107698ad93db
DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd SHA512 ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b
-DIST llvm-project-19.1.2.src.tar.xz 141241032 BLAKE2B 38a3f528ddae7cd738236a317551fdb94acd8fb736a57def15b75e1ed2f6572e1370fb3f1e4ff261d3cfb87df7d50d4db8fa9e70dc5e3dde617af09eb059fdd3 SHA512 e98ee405f5c30004b39f0de0470400dd2965adf4cda4b47a1d3792ae362ed43eb45e96a9b1689f31e1064e0b39252379270bd95bf8081cf9b92ecb9b371bf43b
-DIST llvm-project-19.1.2.src.tar.xz.sig 438 BLAKE2B f5bc0cc43bc10ee2438289d62aa8169cbb9e0ea598381b4c744e6a09daf710650fbec0656a9ac7c0e6f84a0ff3541fe223fa9efc61fb3d4c496cad9df7b9edd4 SHA512 307cd88116e68f901229fc2f6db72bad5f964bacee178e2efad3419cec277b5a7e23fb347386fb4e83e1886551bbc78d187259518193cac7654573ee17e3cb63
DIST llvm-project-19.1.3.src.tar.xz 141247864 BLAKE2B 4ccb30accd632a7d54eb065b724ff81ec8a50380fa527111d58acd728eecb798d42f680119b6d1cbc980523e2f39220921ca1f530daa7afea05ab27436dedb7e SHA512 0abaf158b373892d5afc184158600df17a0797547ad7238ca9018d6fcdd7310b0db803d158daa82a2e04bd42d9daebaa2c3e4b9024c0fa2df72a88596575df5c
DIST llvm-project-19.1.3.src.tar.xz.sig 438 BLAKE2B 44717741ae13bb0c52382647352e52273d8401728dc5cc1cf0c11a8f08cd74b6e3d789e788793aad767030b36fdec62e3a05bdc0b7ff60556cec7ceac17fc239 SHA512 84ef22ee78dbaad4710becbcb02119d06063099f9102bb86f3cd44fbb7e2d87bafe239d8e0cbf22ab5a479f99a11a77125f22394d5006ed86262076ccbf1634d
DIST llvm-project-3f4468faaa9525ad615118675c3c68938f4a8d5f.tar.gz 221860252 BLAKE2B 6c531df34163dc0879c79b029a13215d1bef2cd95bbaf4a6d5e10b81a8352236283d40f14b62e23a57cc1cf8edce138fb6e2720ced2397d6469c5863564c626d SHA512 4aa485f4547e210cf8f6f8147c4adab3e75afe77f1e4e1bc4718fe681b64bdcf8937f843964542f8ead90ceef52cc0fd4bd8275824d1a4c6961eddafc7d35115
-DIST llvm-project-9aef0fd52a0b2bf31cf3bae8a0693d6df8db6e04.tar.gz 219987707 BLAKE2B a3f0acd0fd3b66c3a826ac6760653fa6ea893ffba7587cf4a14f472026a9d9d8bf6b63c26d8bc39e83936afe6b735496bd88ce6c00d16abe1d0ccd1f9a644302 SHA512 5104669d78930363afeba045dc27a4c36ca8bb7537d432c765e023cbd91155b248c3a60d4768e1f8690c88e82d4ff95a44fb73f26d25d6646dddc857992485ba
EBUILD lldb-15.0.7.ebuild 2787 BLAKE2B 606d1bef5194c6d173480719f131847bda2093a14937e831972e3514e86b9ab3f420f7d9cbc60457dacfa0613af21b88f0f91b20ac2215d10b18acf73a938885 SHA512 3e9adac80fbf2a37784e197e882d3a797e6f37b18afc06b8952f587b9259a0610b08702472360e4828e5499f56a520566cbbf869c19380227eaea172d2b35934
EBUILD lldb-16.0.6-r1.ebuild 2605 BLAKE2B 93d0148ce952dc67a60579da1516398fe529c4efca3d15844fc7cc7aaac46ac9f5615eca85602346c0c5b6bebcb3343ca61a0e98aa7498e325200632ff084825 SHA512 51dc1b8d85da0bcd8e6f2a42f3da30f20861de1bcce8b03edd7ef924bdea38d192723d87364783e195585c1de096bb5a55ee46a8c9fb9b5da3e211a9228c59df
EBUILD lldb-16.0.6.ebuild 2735 BLAKE2B 02d90b4ef7180e73efeff06ccb61f1f03ecda99183420245bec0c4b7884b01c570c2389a634db9f46386355bd3ccc9cc5a0a4a01e4254a8718a9668f96ea7517 SHA512 325400e59d98e87eceaf12710a127cc5927309f683f2460983004bd6acdd9115775b95b406b872464a0184e8a749d570265c9c18f2df7774021c4377574b68d6
EBUILD lldb-17.0.6.ebuild 2713 BLAKE2B 241b5851ea908a150488f431501c3a83d321f7d9225a12ee306cb915b21c1f918b0d931a2575db8c5680a58c84ad8c9037c8e591ea280f8a13fda7ad2464238c SHA512 656fc28d597d39e11aa58405a39ca6fabc579fb6f48d31c8cf8b4356d5e6ba54c3ab691b57b64d227c1d13a87f7579b851a12589a1ab411972a36b952a0990f6
EBUILD lldb-18.1.8.ebuild 2639 BLAKE2B c76c1f5b6806ce87d3bb3b618193d1d8658242dfa0a319508a3a7f9a0a27eb4d21c1f162b68be37b1cef4703d7e95e3af7e3a144f33a30a16f3e812b58ffc406 SHA512 405fce90ece7fc03ff2c6435734539197afacb26ce9dedf5685e486d7b92c73dbd23ec2a2e735276c527c62330fe65017e5961d3f36979ed30d94b16096a592c
-EBUILD lldb-19.1.2.ebuild 2620 BLAKE2B f2a61e79df52d68eca32a9f95fd1d3ebcbd5e7b21dc71615255ccd85a08e39b26a017e9032c7d41be5796d11028fec62c45c3043cb375a2445ef0893e7c1cdb4 SHA512 ea49e817469d3a5d12d840a57034ad01141a4687bd8ccd1b2e2db8f98a5ccbe72823ddca5330aa8e6b89f6a077159882cb58b54d289a42c4a6563cc718e4130d
EBUILD lldb-19.1.3.ebuild 2620 BLAKE2B f2a61e79df52d68eca32a9f95fd1d3ebcbd5e7b21dc71615255ccd85a08e39b26a017e9032c7d41be5796d11028fec62c45c3043cb375a2445ef0893e7c1cdb4 SHA512 ea49e817469d3a5d12d840a57034ad01141a4687bd8ccd1b2e2db8f98a5ccbe72823ddca5330aa8e6b89f6a077159882cb58b54d289a42c4a6563cc718e4130d
EBUILD lldb-20.0.0.9999.ebuild 2579 BLAKE2B 296c52f4d439ba21ed699a824cd39bbd8d5bdad0fe4177ab9768b0a105f2e39f61b9e026da1507cbd9456c58eb29b9960da5674f5ef5ff4d1d2ef002f37f7776 SHA512 07a2219aab50601c6c2eb539ca59319b484c61fb6d83fc8a32ae0c0091476d00e8d83c8b4f3f17576f4ea3eb91ca10517961df5cb56db25c65ca5384335f672e
-EBUILD lldb-20.0.0_pre20241015.ebuild 2579 BLAKE2B 296c52f4d439ba21ed699a824cd39bbd8d5bdad0fe4177ab9768b0a105f2e39f61b9e026da1507cbd9456c58eb29b9960da5674f5ef5ff4d1d2ef002f37f7776 SHA512 07a2219aab50601c6c2eb539ca59319b484c61fb6d83fc8a32ae0c0091476d00e8d83c8b4f3f17576f4ea3eb91ca10517961df5cb56db25c65ca5384335f672e
-EBUILD lldb-20.0.0_pre20241023.ebuild 2579 BLAKE2B 296c52f4d439ba21ed699a824cd39bbd8d5bdad0fe4177ab9768b0a105f2e39f61b9e026da1507cbd9456c58eb29b9960da5674f5ef5ff4d1d2ef002f37f7776 SHA512 07a2219aab50601c6c2eb539ca59319b484c61fb6d83fc8a32ae0c0091476d00e8d83c8b4f3f17576f4ea3eb91ca10517961df5cb56db25c65ca5384335f672e
EBUILD lldb-20.0.0_pre20241029.ebuild 2579 BLAKE2B 296c52f4d439ba21ed699a824cd39bbd8d5bdad0fe4177ab9768b0a105f2e39f61b9e026da1507cbd9456c58eb29b9960da5674f5ef5ff4d1d2ef002f37f7776 SHA512 07a2219aab50601c6c2eb539ca59319b484c61fb6d83fc8a32ae0c0091476d00e8d83c8b4f3f17576f4ea3eb91ca10517961df5cb56db25c65ca5384335f672e
MISC metadata.xml 495 BLAKE2B dec5cbc692a57ddb85bccb855d6e16893e6e851c6e3b3f321693fd7cb8bf930167976573d61bfca3c29dc667bb57c2c11669299bcc80d1da04fb53ea90ca1826 SHA512 6168aeac121fa7b3f19fe2590c4ad52eae959bfd3bebceebc64a54d254a29226d5424ab031f9730af9f574e3956119856d1ea2008b5d24721b346cf8f5ad7f9f
diff --git a/dev-debug/lldb/lldb-19.1.2.ebuild b/dev-debug/lldb/lldb-19.1.2.ebuild
deleted file mode 100644
index 2d30fb2bfd7a..000000000000
--- a/dev-debug/lldb/lldb-19.1.2.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..13} )
-inherit cmake flag-o-matic llvm.org llvm-utils python-single-r1
-
-DESCRIPTION="The LLVM debugger"
-HOMEPAGE="https://llvm.org/"
-
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
-SLOT="0/${LLVM_SOABI}"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~x86"
-IUSE="debug debuginfod +libedit lzma ncurses +python test +xml"
-RESTRICT="test"
-REQUIRED_USE=${PYTHON_REQUIRED_USE}
-
-DEPEND="
- debuginfod? (
- net-misc/curl:=
- dev-cpp/cpp-httplib:=
- )
- libedit? ( dev-libs/libedit:0= )
- lzma? ( app-arch/xz-utils:= )
- ncurses? ( >=sys-libs/ncurses-5.9-r3:0= )
- xml? ( dev-libs/libxml2:= )
- ~sys-devel/clang-${PV}
- ~sys-devel/llvm-${PV}[debuginfod=]
-"
-RDEPEND="
- ${DEPEND}
- python? (
- ${PYTHON_DEPS}
- )
-"
-BDEPEND="
- ${PYTHON_DEPS}
- 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
- )
-"
-
-LLVM_COMPONENTS=( lldb cmake llvm/utils )
-LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
-llvm.org_set_globals
-
-src_configure() {
- llvm_prepend_path "${LLVM_MAJOR}"
-
- # bug #858389 (https://github.com/llvm/llvm-project/issues/83636)
- filter-lto
-
- # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
- use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
-
- local mycmakeargs=(
- -DLLDB_ENABLE_CURSES=$(usex ncurses)
- -DLLDB_ENABLE_LIBEDIT=$(usex libedit)
- -DLLDB_ENABLE_PYTHON=$(usex python)
- -DLLDB_ENABLE_LUA=OFF
- -DLLDB_ENABLE_LZMA=$(usex lzma)
- -DLLDB_ENABLE_LIBXML2=$(usex xml)
- -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
-
- -DCLANG_RESOURCE_DIR="../../../clang/${LLVM_MAJOR}"
-
- -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm"
- -DPython3_EXECUTABLE="${PYTHON}"
- )
- use test && mycmakeargs+=(
- -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-{shell,unit}
- # failures + hangs
- #use python && cmake_build check-lldb-api
-}
-
-src_install() {
- cmake_src_install
- find "${D}" -name '*.a' -delete || die
-
- use python && python_optimize
-}
diff --git a/dev-debug/lldb/lldb-20.0.0_pre20241015.ebuild b/dev-debug/lldb/lldb-20.0.0_pre20241015.ebuild
deleted file mode 100644
index 68e15ff5df60..000000000000
--- a/dev-debug/lldb/lldb-20.0.0_pre20241015.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..13} )
-inherit cmake flag-o-matic llvm.org llvm-utils python-single-r1
-
-DESCRIPTION="The LLVM debugger"
-HOMEPAGE="https://llvm.org/"
-
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
-SLOT="0/${LLVM_SOABI}"
-IUSE="+debug debuginfod +libedit lzma ncurses +python test +xml"
-RESTRICT="test"
-REQUIRED_USE=${PYTHON_REQUIRED_USE}
-
-DEPEND="
- debuginfod? (
- net-misc/curl:=
- dev-cpp/cpp-httplib:=
- )
- libedit? ( dev-libs/libedit:0= )
- lzma? ( app-arch/xz-utils:= )
- ncurses? ( >=sys-libs/ncurses-5.9-r3:0= )
- xml? ( dev-libs/libxml2:= )
- ~sys-devel/clang-${PV}
- ~sys-devel/llvm-${PV}[debuginfod=]
-"
-RDEPEND="
- ${DEPEND}
- python? (
- ${PYTHON_DEPS}
- )
-"
-BDEPEND="
- ${PYTHON_DEPS}
- 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
- )
-"
-
-LLVM_COMPONENTS=( lldb cmake llvm/utils )
-LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
-llvm.org_set_globals
-
-src_configure() {
- llvm_prepend_path "${LLVM_MAJOR}"
-
- # bug #858389 (https://github.com/llvm/llvm-project/issues/83636)
- filter-lto
-
- # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
- use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
-
- local mycmakeargs=(
- -DLLDB_ENABLE_CURSES=$(usex ncurses)
- -DLLDB_ENABLE_LIBEDIT=$(usex libedit)
- -DLLDB_ENABLE_PYTHON=$(usex python)
- -DLLDB_ENABLE_LUA=OFF
- -DLLDB_ENABLE_LZMA=$(usex lzma)
- -DLLDB_ENABLE_LIBXML2=$(usex xml)
- -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
-
- -DCLANG_RESOURCE_DIR="../../../clang/${LLVM_MAJOR}"
-
- -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm"
- -DPython3_EXECUTABLE="${PYTHON}"
- )
- use test && mycmakeargs+=(
- -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-{shell,unit}
- # failures + hangs
- #use python && cmake_build check-lldb-api
-}
-
-src_install() {
- cmake_src_install
- find "${D}" -name '*.a' -delete || die
-
- use python && python_optimize
-}
diff --git a/dev-debug/lldb/lldb-20.0.0_pre20241023.ebuild b/dev-debug/lldb/lldb-20.0.0_pre20241023.ebuild
deleted file mode 100644
index 68e15ff5df60..000000000000
--- a/dev-debug/lldb/lldb-20.0.0_pre20241023.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..13} )
-inherit cmake flag-o-matic llvm.org llvm-utils python-single-r1
-
-DESCRIPTION="The LLVM debugger"
-HOMEPAGE="https://llvm.org/"
-
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
-SLOT="0/${LLVM_SOABI}"
-IUSE="+debug debuginfod +libedit lzma ncurses +python test +xml"
-RESTRICT="test"
-REQUIRED_USE=${PYTHON_REQUIRED_USE}
-
-DEPEND="
- debuginfod? (
- net-misc/curl:=
- dev-cpp/cpp-httplib:=
- )
- libedit? ( dev-libs/libedit:0= )
- lzma? ( app-arch/xz-utils:= )
- ncurses? ( >=sys-libs/ncurses-5.9-r3:0= )
- xml? ( dev-libs/libxml2:= )
- ~sys-devel/clang-${PV}
- ~sys-devel/llvm-${PV}[debuginfod=]
-"
-RDEPEND="
- ${DEPEND}
- python? (
- ${PYTHON_DEPS}
- )
-"
-BDEPEND="
- ${PYTHON_DEPS}
- 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
- )
-"
-
-LLVM_COMPONENTS=( lldb cmake llvm/utils )
-LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
-llvm.org_set_globals
-
-src_configure() {
- llvm_prepend_path "${LLVM_MAJOR}"
-
- # bug #858389 (https://github.com/llvm/llvm-project/issues/83636)
- filter-lto
-
- # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
- use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
-
- local mycmakeargs=(
- -DLLDB_ENABLE_CURSES=$(usex ncurses)
- -DLLDB_ENABLE_LIBEDIT=$(usex libedit)
- -DLLDB_ENABLE_PYTHON=$(usex python)
- -DLLDB_ENABLE_LUA=OFF
- -DLLDB_ENABLE_LZMA=$(usex lzma)
- -DLLDB_ENABLE_LIBXML2=$(usex xml)
- -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
-
- -DCLANG_RESOURCE_DIR="../../../clang/${LLVM_MAJOR}"
-
- -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm"
- -DPython3_EXECUTABLE="${PYTHON}"
- )
- use test && mycmakeargs+=(
- -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-{shell,unit}
- # failures + hangs
- #use python && cmake_build check-lldb-api
-}
-
-src_install() {
- cmake_src_install
- find "${D}" -name '*.a' -delete || die
-
- use python && python_optimize
-}