diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-31 03:04:18 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-31 03:04:18 +0000 |
commit | b846e1a1ef5685462a20abbc77cf57ead9064b85 (patch) | |
tree | ebf4581a96d87fbd1b7ab6cce8689ba4caa40e3b /dev-debug | |
parent | fb57e01054259b1160d01c3c7ed9efab7902ed7d (diff) |
gentoo auto-resync : 31:10:2024 - 03:04:18
Diffstat (limited to 'dev-debug')
-rw-r--r-- | dev-debug/Manifest.gz | bin | 4189 -> 4190 bytes | |||
-rw-r--r-- | dev-debug/dtrace/Manifest | 2 | ||||
-rw-r--r-- | dev-debug/dtrace/dtrace-9999.ebuild | 16 | ||||
-rw-r--r-- | dev-debug/lldb/Manifest | 3 | ||||
-rw-r--r-- | dev-debug/lldb/lldb-19.1.3.ebuild | 111 |
5 files changed, 120 insertions, 12 deletions
diff --git a/dev-debug/Manifest.gz b/dev-debug/Manifest.gz Binary files differindex 77f2b9ceb51c..b95be780fcc3 100644 --- a/dev-debug/Manifest.gz +++ b/dev-debug/Manifest.gz diff --git a/dev-debug/dtrace/Manifest b/dev-debug/dtrace/Manifest index 44cf21a66c2e..3bad24c87cac 100644 --- a/dev-debug/dtrace/Manifest +++ b/dev-debug/dtrace/Manifest @@ -1,5 +1,5 @@ AUX dtprobed.init 209 BLAKE2B f97bd2c0c681697becc2c6c7f87b8fdf779251d0473dd440bf30f0c3ce95e26e24b2496a2e8de4ff33a9ffc8a05e5bc64d066969dd7e4458ea65d2d10ae61723 SHA512 12a8e07747d8a8c3456675ea88060656dad2b594abc69daa15384abab4d11ea888d88287f921a095cad84f2e254dc858ea50e29f5e17b663f7b6be25dcbfd7b5 DIST dtrace-2.0.1.1.tar.gz 1435524 BLAKE2B 761a931b9d871e9316f11ebe960f6bbfd3c16a82cf1cdd9ae5d69b22e0d8cea8d4b3924c960b7915f8843ce1e5c37bd257a52f1ce346957002b0ab00e59306fb SHA512 15809f2bc996bac9bd6cbb2b03eaa9a0c6a2aea9404642280f14d75b7d6feaec31b5d2c16915255cd202006cdff7835f578c042b087605708a9eb935407f1b95 EBUILD dtrace-2.0.1.1-r2.ebuild 6365 BLAKE2B 4891af2cb557aec76a0d519c2541ddc1e5693c7d4033b1465ce5f8f61fbb4e0245f37e941298cdd60280eca26a33dda729f9a14124fe906366c1a22c28aef004 SHA512 9f05e213d80178bd4e0cfc62096ad769bb9831f7dabc52d8d61af1ac25fc3a485f85d4dc003c0b3bfe02fdd455a79fc9fa0f63db884881605dcf5db314140d6f -EBUILD dtrace-9999.ebuild 6367 BLAKE2B a9302653080807a88e028257f486736b7ef3780783693637b04c72eae6e77ac391814c407fc68b4717d006e1d390c0e27baee257d12318df77d42737fe2229a9 SHA512 af3c6fdb5ecfde383c08c96eaaab5b2af9b34212e082ee1f9811dbbd42adbea051a314d25697ff21991f3c859e28c23c34ce5ae5cfcc88b8538473060dd739ed +EBUILD dtrace-9999.ebuild 6054 BLAKE2B 9adfca31568d948ee077cb0e5d190bf78740a0010a0e7dec59271d869597e33a049e1ca2241752c61ff50bada5502e91a64b6a8f6a63e8899d63ce2ea41550df SHA512 b1515140f05cd169832dfb84c62777e5125d9d7d268af6a46f216100db50286c9876d7d1dc4ff07fa27065af81af63c6b88a0ca3bd4e80c9760dcdde6a06afc8 MISC metadata.xml 632 BLAKE2B 695cab30d4a45e94a1a69ca4c071e2aa2d99cb0457f4b02d0ea6e88db0574976082e96e9c9ebd620bcdacd9f30f97938301a70e67df1b9baebb692184598820a SHA512 b028b76d8d153ee8db9036c78342828543ce2675092f0daf9e1a82af7d7c249b3ea450567e1c3c04009764004c45424e2f9dfebd362d1364ff7cb2da40be3962 diff --git a/dev-debug/dtrace/dtrace-9999.ebuild b/dev-debug/dtrace/dtrace-9999.ebuild index fabe953189d0..a1e12159ab4c 100644 --- a/dev-debug/dtrace/dtrace-9999.ebuild +++ b/dev-debug/dtrace/dtrace-9999.ebuild @@ -21,7 +21,7 @@ fi LICENSE="UPL-1.0" SLOT="0" -IUSE="systemd test-install" +IUSE="test-install valgrind" # XXX: right now, we auto-adapt to whether multilibs are present: # should we force them to be? how? @@ -36,7 +36,6 @@ DEPEND=" >=sys-fs/fuse-3.2.0:3 >=sys-libs/binutils-libs-2.42:= sys-libs/zlib - systemd? ( sys-apps/systemd ) " RDEPEND=" ${DEPEND} @@ -63,9 +62,7 @@ BDEPEND=" >=sys-devel/bpf-toolchain-14.1.0 sys-devel/flex " -# This isn't yet optional, valgrind.h is included unconditionally -# https://github.com/oracle/dtrace-utils/issues/80 -DEPEND+=" dev-debug/valgrind" +DEPEND+=" valgrind? ( dev-debug/valgrind )" QA_PRESTRIPPED=" usr/.*/dtrace/testsuite/test/triggers/.* @@ -119,9 +116,6 @@ src_configure() { tc-export CC - # https://github.com/oracle/dtrace-utils/issues/78 - tc-enables-fortify-source && append-cppflags -U_FORTIFY_SOURCE - # lld does this by default, so fix that, although lld fails anyway... # 'LIBDTRACE_1.0' to symbol 'dtrace_provider_modules' failed: symbol not defined append-ldflags $(test-flags-CCLD -Wl,--undefined-version) @@ -139,12 +133,12 @@ src_configure() { local confargs=( # TODO: Maybe we should set the UNPRIV_UID to something? -3 is a bit... kludgy --prefix="${EPREFIX}"/usr - # See https://github.com/oracle/dtrace-utils/issues/106 for man8 suffix - --mandir="${EPREFIX}"/usr/share/man/man8 + --mandir="${EPREFIX}"/usr/share/man --docdir="${EPREFIX}"/usr/share/doc/${PF} + --with-systemd HAVE_LIBCTF=yes - HAVE_LIBSYSTEMD=$(usex systemd) HAVE_BPFV3=yes + HAVE_VALGRIND=$(usex valgrind) ) edo ./configure "${confargs[@]}" diff --git a/dev-debug/lldb/Manifest b/dev-debug/lldb/Manifest index 49d87fcdb432..574c8c3275ba 100644 --- a/dev-debug/lldb/Manifest +++ b/dev-debug/lldb/Manifest @@ -10,6 +10,8 @@ DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B a950492f1dbfb874dff63b1ffe 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 @@ -18,6 +20,7 @@ EBUILD lldb-16.0.6.ebuild 2735 BLAKE2B 02d90b4ef7180e73efeff06ccb61f1f03ecda9918 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 diff --git a/dev-debug/lldb/lldb-19.1.3.ebuild b/dev-debug/lldb/lldb-19.1.3.ebuild new file mode 100644 index 000000000000..2d30fb2bfd7a --- /dev/null +++ b/dev-debug/lldb/lldb-19.1.3.ebuild @@ -0,0 +1,111 @@ +# 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 +} |