diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-19 12:11:50 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-19 12:11:50 +0100 |
commit | fe0961fc9674dd24a017f474a34c1edbbd005965 (patch) | |
tree | dfdf05888e0f5fff9c1faafe6eb0dd5d827b63e5 /sys-devel | |
parent | bcd00c826070701606b0ccebf46234dfc792d3e9 (diff) |
gentoo auto-resync : 19:09:2024 - 12:11:50
Diffstat (limited to 'sys-devel')
65 files changed, 2213 insertions, 53 deletions
diff --git a/sys-devel/Manifest.gz b/sys-devel/Manifest.gz Binary files differindex 3eedfda11823..dc3a464f1d33 100644 --- a/sys-devel/Manifest.gz +++ b/sys-devel/Manifest.gz diff --git a/sys-devel/autogen/Manifest b/sys-devel/autogen/Manifest index 9567fb79ea31..79d55d7d7977 100644 --- a/sys-devel/autogen/Manifest +++ b/sys-devel/autogen/Manifest @@ -8,6 +8,7 @@ AUX autogen-5.18.16-respect-TMPDIR.patch 824 BLAKE2B de70fb423955fc006ef10765ab5 AUX autogen-5.18.16-rpath.patch 2990 BLAKE2B 8374f788feee898f35f6baae40d0a42a0426b757572217bdfaefe8b3fc308e7c3b29d41a6dd4db77677c208702cd836ac58a463814624bc965b71c8b5613935b SHA512 3279567863152a2874d64be1cae8129dfaa9d67612e6f2d3c0de408914ea5b2d19e037ade460393fd942d897776906fe5df483a69255c4f279c13893a6cec1fd DIST autogen-5.18.16-gnulib-3b57ddee0acffd23cc51bc8910a15cf879f90619-lib-verify.h 11231 BLAKE2B 4f38f6ae84cf5cc4ba47d8a7da3b38b06f58e30ac8b70f2b10936cbb7a775179b67f22ca8e636588515c4ace7410f98835218e3222d4a793378cdafc4aa84d0f SHA512 b8ff80fd764a3f21040b0054e71a443e3d9ec18dd631843f2de999aa54776964b36366b35fd158dbbe5f2ece146fab12c6ff5008e18c52188b718c89972f867b DIST autogen-5.18.16.tar.xz 1046276 BLAKE2B 23f9e0948f24ada715fb2bcbbfecba768cf51d169ea3ff4724a97b18f598d2d7fb2ffa7e23919ec8dcc0e352f9d3280f3740dab279a0af1412919cf10c6cb0bf SHA512 5f12c982dbe27873f5649a96049bf019ff183c90cc0c8a9196556b0ca02e72940cd422f6d6601f68cc7d8763b1124f2765c3b1a6335fc92ba07f84b03d2a53a1 +EBUILD autogen-5.18.16-r100.ebuild 2414 BLAKE2B 93e24269d4ed7e38b112470a2e97ce4eef66c3928d3d21f4b644073d7b6402157054be804a535985be775b6df2f910a39ef93ce5afbc97ec321f0c6a5463a688 SHA512 b73ab37f5284d5202f59fc647c83107ec932f2e95e1fcd031cd75213dfd263757bafe87a24ac604e887a5758c42695b026a7e58b8e10076f68a77c4f32848c5b EBUILD autogen-5.18.16-r3.ebuild 2321 BLAKE2B 9c8bf2072d6c76e261d1f83eb361f118817328253c0e2df2d327c313c3f86265520534869c25494301d7fdb694575d1b4957222c5bce76fc4641d1e429a2b745 SHA512 81b7c723d1e37a37c98822dacb3a597f134c1d87128edd40d5effe1764538cfe63c63f17e347d212c28bfdd992f8c82582386087a24aedc2416c277c9e85b999 EBUILD autogen-5.18.16-r4.ebuild 2308 BLAKE2B d71e9838a0becaf92ccb1fa53fd8a926d96dc1a2c5f65532de326685265aff32249e92ecffa44bb8b7c5912826f6b0a09f24c281529d0ad4c29b005c05febc72 SHA512 372a512b35105b107cfa009f64c0147797a96104592521fad824f255b0d62be41a27c2a96b3d36a7821498981e3f631c52367d1b95e1e49e8283bd4156aacfc5 MISC metadata.xml 465 BLAKE2B d749ac3e74b39a006006e3f8d09ca2e8dd392f05385ffaf4d4d4cc95af4571c48e6ff6383e5f582ed6158d3536c9d9447c8f9587a8dc8ad9bce3ea3d5f8b2b5a SHA512 da4398891bf5ddd30545e5ca15b1591da5126d0ae22d00a5d5851864351c43465e6eac9010a9e35a029eb3009727fcd3264cb4fa87fd1f6545639f90b9cf2a47 diff --git a/sys-devel/autogen/autogen-5.18.16-r100.ebuild b/sys-devel/autogen/autogen-5.18.16-r100.ebuild new file mode 100644 index 000000000000..ca84c102bfb6 --- /dev/null +++ b/sys-devel/autogen/autogen-5.18.16-r100.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +inherit flag-o-matic autotools guile-single toolchain-funcs + +DESCRIPTION="Program and text file generation" +HOMEPAGE="https://www.gnu.org/software/autogen/" +SRC_URI=" + mirror://gnu/${PN}/rel${PV}/${P}.tar.xz + https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;f=lib/verify.h;h=3b57ddee0acffd23cc51bc8910a15cf879f90619;hb=537a5511ab0b1326e69b32f87593a50aedb8a589 -> ${P}-gnulib-3b57ddee0acffd23cc51bc8910a15cf879f90619-lib-verify.h +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="libopts static-libs" + +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +RDEPEND=" + ${GUILE_DEPS} + dev-libs/libxml2 +" +DEPEND="${RDEPEND}" + +# We don't pass the flag explicitly, bug #796776. +# Let's fix it upstream after next autogen release if it happens. +QA_CONFIGURE_OPTIONS+=" --enable-snprintfv-convenience" + +QA_CONFIG_IMPL_DECL_SKIP+=( + # libgen.h is legacy and linux doesn't include -lgen nor nonstandard + # functions. bug #924961 + pathfind +) + +PATCHES=( + "${FILESDIR}"/${PN}-5.18.16-no-werror.patch + "${FILESDIR}"/${PN}-5.18.16-rpath.patch + "${FILESDIR}"/${PN}-5.18.16-respect-TMPDIR.patch + "${FILESDIR}"/${PN}-5.18.16-make-4.3.patch + "${FILESDIR}"/${PN}-5.18.16-guile-3.patch + "${FILESDIR}"/${PN}-5.18.16-configure-c99.patch + "${FILESDIR}"/${PN}-5.18.16-FORTIFY_SOURCE.patch + "${FILESDIR}"/${PN}-5.18.16-no-which.patch +) + +src_prepare() { + guile-single_src_prepare + + # missing tarball file + cp "${DISTDIR}"/${P}-gnulib-3b57ddee0acffd23cc51bc8910a15cf879f90619-lib-verify.h autoopts/verify.h || die + + # May be able to drop this on next release (>5.18.16) + eautoreconf +} + +src_configure() { + # suppress possibly incorrect -R flag + export ag_cv_test_ldflags= + + # autogen requires run-time sanity of regex and string functions. + # Use defaults of linux-glibc until we need somethig more advanced. + if tc-is-cross-compiler ; then + export ag_cv_run_strcspn=no + export libopts_cv_with_libregex=yes + fi + + # bug 920174 + use elibc_musl && append-cppflags -D_LARGEFILE64_SOURCE + + econf $(use_enable static-libs static) +} + +src_install() { + guile-single_src_install + + find "${ED}" -name '*.la' -delete || die + + if ! use libopts ; then + rm "${ED}"/usr/share/autogen/libopts-*.tar.gz || die + fi +} diff --git a/sys-devel/clang-common/Manifest b/sys-devel/clang-common/Manifest index ac3991e18785..d186f0ac689b 100644 --- a/sys-devel/clang-common/Manifest +++ b/sys-devel/clang-common/Manifest @@ -8,6 +8,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.0-rc4.src.tar.xz 141255904 BLAKE2B c693dc94aeb4b59ad4a05a426037075449535c398cbc1ae9b4371d42ea0962b267a3be8af93f4fe47b21c11964fbea6e8eb662225e6f79b20bbc35e706588435 SHA512 826978a596b26040124f2ceba858f91031f78faca22f32de2eea1a4d299a849dcb1fffdfb01601adc39d733dd0cdee43b21af05159d45dcebc842f6b6b540ba8 DIST llvm-project-19.1.0-rc4.src.tar.xz.sig 438 BLAKE2B aef02737285d2faa1b21cec1a32fff6e776ac4bb5c4fd6f26d3d1a9b9244ed1fc0a1eb786a444a6549dda8683485f67964b4d4e48393e1780e7938ee0d94348a SHA512 5b9dcbf232229fdd87824bc87d0ad4ebd54127c9288708fb3304166422d378b77a843d7c5d8258850a0de59310c24e65042d636a5314e2af8513627a43bdb6e8 +DIST llvm-project-19.1.0.src.tar.xz 141244872 BLAKE2B 972d028599006d528acdb0ff107b30af8bef247a0f174991646d07f0a47e7d237a5a1700ae668a9f4496295535d688eeeebe550669e78b0775aaab044f5b268e SHA512 396b34886f8442eeb5bc23152e8c2577e834d88f1d21a67829f9ca651b77c5ceb32df4e70c34dc1e6fea24abe45fa00f08502628de25fdbf32864f5b9066d23d +DIST llvm-project-19.1.0.src.tar.xz.sig 438 BLAKE2B b044fcc6f331e75f9340e390ef8a95242a7f74e7c9835e67161fc4dd0ba0a8a5400e8ec4efd0fe50d2a9a9d950d0b37d5c0725868f450619b161a36ebded6a67 SHA512 d596d4942750818f489f114ff953a2b27e220abcf132d4d4ce0d910b73dfc283262507fc35cc0b61363c4af22cb9112dd7a662a89ea4b9667827fa1bde6785ed DIST llvm-project-41f1b467a29d2ca4e35df37c3aa79a0a8c04bc4f.tar.gz 218633363 BLAKE2B 9367923a4257e0ce01cf443eca790a567c6d9224126ebff15849c829f04dbac39aee60de1f28eab71ee4143341105c46466e1983e0f2a1a478e75fd5363a8d02 SHA512 eca094df135f184e2c3a42a3984ac353b7a8286446da80f042aef8047761f5f5cc6eeccb9bff6056ff0ddd1babe31a468e279b028b9618364f88ae9f26053c22 DIST llvm-project-5500e21942f7047344b6fee62d3e08c0ba2f9182.tar.gz 219148250 BLAKE2B 61880a13086c46ac9a9f8326b1e007146afb1662a0a223703fe36a91da230d5708b368f1177e76ac13c1e5a30f620c4ce6346484a0a67a0f011a816bba4d13f9 SHA512 a6d4fcae960b450be2abd2da485cea638b73290b17ceeabf560651d614f55925f86ee6f76a116262d8a1ff70ba699468cb4cf4c32015e26540ba6e47c58db1b7 DIST llvm-project-bece0d7517bd0a036dc8a319514e4a8a5c497dee.tar.gz 218241938 BLAKE2B 7ac08a21ab2899823683dc700bd2f6226e22653f5be553fe0278868f9fa0d8946fabe6aae40f68cfd14e019b1a3795affb64bf41ebcc949394b73a90e7cd019c SHA512 8893512dcbc1171d2c91aeb0aa9e5fd424474c4d6b5215fb1a078dc8757ab2d404b55ed90709e09368e0794c8306f489be8339d5c502dd6c2ef1852e24636e85 @@ -16,6 +18,7 @@ EBUILD clang-common-16.0.6-r4.ebuild 5726 BLAKE2B de26b88570bf487a2be2a59f4551c8 EBUILD clang-common-17.0.6-r5.ebuild 9010 BLAKE2B cbb5c5094ca6e99fc9ce1734acf02e2e35b792173f84b71e19b25e687f7a93a6fca31e4461fc580d92c0eadabe1400359bec3938fc0cba2cac9bc28a4b8d66be SHA512 ea66877912d34f11a0b788a0d188caf03a5c06098507e7bbb3fa609f594d7b9397ac8fa21c7b502238e36b1ede7bf32dc173b9a6d74a3be1e5d3f25babac9165 EBUILD clang-common-17.0.6-r6.ebuild 9035 BLAKE2B 4e18fbf5bb39238603a6d490eb3e17012f510b859272331826e43fa3c14bdb57af0d63cadcac45dc3cac5a89dcdd401242022f130c681d17fb74c1339aa4dd69 SHA512 5b592d886f4b6d7ffdc67593d994f89a3202710633b61e0ee2d709052edd75ecc2f32e66668902901f5d5d21d08992f085b6f6a054a0f887d3a691f714a59caf EBUILD clang-common-18.1.8-r1.ebuild 9157 BLAKE2B 14774bfe075203448411b3d83aceba598af166c371ad6d3c4747c7143d108d932e1226a96a5ede74125aea7a43a85b466fb1e9d81055d8ca330c34a48524cd30 SHA512 26cabdd8801a1bc2bfaf9e4a489d766f686ea6c93c2e572c778bd13c5b769130bce7f8790ffe7f0d0977fbfb9ad73b18863137c84cda9788c231eddabef3d57c +EBUILD clang-common-19.1.0.ebuild 9164 BLAKE2B 0103ac717ff7616fd69e23ba3c964eee6dda70ce9f1ca3a07dd6d8294dca0361711ee301d8cddb0b68af4a7c316768d001e55e5c2f5b36c5453874df56a5f862 SHA512 077ddfabc1bd984c2630a0bb451a6699a8e72b55f0171d81de352390916826e42fa019d4ce96cb59829d95e90a2a50b0cee6d6deecf9ee9b4ca6561620ddd60f EBUILD clang-common-19.1.0_rc4.ebuild 9042 BLAKE2B 7fc18661a55e2c223cc3c4e6c8477a913a0ed025b013f4407e58682f00f389cc2961c8cd5ee20d13e75b51f1c8a0b79569a0bb35da6a2028703f9fee553ed4c0 SHA512 212b4035d367e465de90d6b89c81388e45023257aec550dfe81c7ca71ea0a8d59b2ece092c8cbc4b5eadf4d29a3fbde6a49e6fdbce3fde8ccd1300dc7fafdf58 EBUILD clang-common-20.0.0.9999.ebuild 9095 BLAKE2B c824cf0506658344508219b79606f7183a9a99a87fd8932e3085977f8705229aad380305587abbb5ddf5c24abd7addff8472ed335c988afed8c560bda7bad510 SHA512 501f17a8caa08e8470c1a189e63cbfb7b2b8f5cc16c39203f94734a81c5c34bd2a19cf724c0d24f373676790d72fa6c1d92bbab3126fc0e8e89c7d6e87573ecb EBUILD clang-common-20.0.0_pre20240830.ebuild 9042 BLAKE2B 7fc18661a55e2c223cc3c4e6c8477a913a0ed025b013f4407e58682f00f389cc2961c8cd5ee20d13e75b51f1c8a0b79569a0bb35da6a2028703f9fee553ed4c0 SHA512 212b4035d367e465de90d6b89c81388e45023257aec550dfe81c7ca71ea0a8d59b2ece092c8cbc4b5eadf4d29a3fbde6a49e6fdbce3fde8ccd1300dc7fafdf58 diff --git a/sys-devel/clang-common/clang-common-19.1.0.ebuild b/sys-devel/clang-common/clang-common-19.1.0.ebuild new file mode 100644 index 000000000000..8c285440f7e4 --- /dev/null +++ b/sys-devel/clang-common/clang-common-19.1.0.ebuild @@ -0,0 +1,305 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 llvm.org multilib + +DESCRIPTION="Common files shared between multiple slots of clang" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" +IUSE=" + default-compiler-rt default-libcxx default-lld + bootstrap-prefix cet hardened llvm-libunwind +" + +PDEPEND=" + sys-devel/clang:* + default-compiler-rt? ( + sys-devel/clang-runtime[compiler-rt] + llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] ) + !llvm-libunwind? ( sys-libs/libunwind[static-libs] ) + ) + !default-compiler-rt? ( sys-devel/gcc ) + default-libcxx? ( >=sys-libs/libcxx-${PV}[static-libs] ) + !default-libcxx? ( sys-devel/gcc ) + default-lld? ( >=sys-devel/lld-${PV} ) + !default-lld? ( sys-devel/binutils ) +" +IDEPEND=" + !default-compiler-rt? ( sys-devel/gcc-config ) + !default-libcxx? ( sys-devel/gcc-config ) +" + +LLVM_COMPONENTS=( clang/utils ) +llvm.org_set_globals + +pkg_pretend() { + [[ ${CLANG_IGNORE_DEFAULT_RUNTIMES} ]] && return + + local flag missing_flags=() + for flag in default-{compiler-rt,libcxx,lld}; do + if ! use "${flag}" && has_version "sys-devel/clang[${flag}]"; then + missing_flags+=( "${flag}" ) + fi + done + + if [[ ${missing_flags[@]} ]]; then + eerror "It seems that you have the following flags set on sys-devel/clang:" + eerror + eerror " ${missing_flags[*]}" + eerror + eerror "The default runtimes are now set via flags on sys-devel/clang-common." + eerror "The build is being aborted to prevent breakage. Please either set" + eerror "the respective flags on this ebuild, e.g.:" + eerror + eerror " sys-devel/clang-common ${missing_flags[*]}" + eerror + eerror "or build with CLANG_IGNORE_DEFAULT_RUNTIMES=1." + die "Mismatched defaults detected between sys-devel/clang and sys-devel/clang-common" + fi +} + +_doclang_cfg() { + local triple="${1}" + + local tool + for tool in ${triple}-clang{,++}; do + newins - "${tool}.cfg" <<-EOF + # This configuration file is used by ${tool} driver. + @gentoo-common.cfg + @gentoo-common-ld.cfg + EOF + if [[ ${triple} == x86_64* ]]; then + cat >> "${ED}/etc/clang/${tool}.cfg" <<-EOF || die + @gentoo-cet.cfg + EOF + fi + done + + if use kernel_Darwin; then + cat >> "${ED}/etc/clang/${triple}-clang++.cfg" <<-EOF || die + -lc++abi + EOF + fi + + newins - "${triple}-clang-cpp.cfg" <<-EOF + # This configuration file is used by the ${triple}-clang-cpp driver. + @gentoo-common.cfg + EOF + if [[ ${triple} == x86_64* ]]; then + cat >> "${ED}/etc/clang/${triple}-clang-cpp.cfg" <<-EOF || die + @gentoo-cet.cfg + EOF + fi + + # Install symlinks for triples with other vendor strings since some + # programs insist on mangling the triple. + local vendor + for vendor in gentoo pc unknown; do + local vendor_triple="${triple%%-*}-${vendor}-${triple#*-*-}" + for tool in clang{,++,-cpp}; do + if [[ ! -f "${ED}/etc/clang/${vendor_triple}-${tool}.cfg" ]]; then + dosym "${triple}-${tool}.cfg" "/etc/clang/${vendor_triple}-${tool}.cfg" + fi + done + done +} + +doclang_cfg() { + local triple="${1}" + + _doclang_cfg ${triple} + + # LLVM may have different arch names in some cases. For example in x86 + # profiles the triple uses i686, but llvm will prefer i386 if invoked + # with "clang" on x86 or "clang -m32" on x86_64. The gentoo triple will + # be used if invoked through ${CHOST}-clang{,++,-cpp} though. + # + # To make sure the correct triples are installed, + # see Triple::getArchTypeName() in llvm/lib/TargetParser/Triple.cpp + # and compare with CHOST values in profiles. + + local abi=${triple%%-*} + case ${abi} in + armv4l|armv4t|armv5tel|armv6j|armv7a) + _doclang_cfg ${triple/${abi}/arm} + ;; + i686) + _doclang_cfg ${triple/${abi}/i386} + ;; + sparc) + _doclang_cfg ${triple/${abi}/sparcel} + ;; + sparc64) + _doclang_cfg ${triple/${abi}/sparcv9} + ;; + esac +} + +src_install() { + newbashcomp bash-autocomplete.sh clang + + insinto /etc/clang + newins - gentoo-runtimes.cfg <<-EOF + # This file is initially generated by sys-devel/clang-runtime. + # It is used to control the default runtimes using by clang. + + --rtlib=$(usex default-compiler-rt compiler-rt libgcc) + --unwindlib=$(usex default-compiler-rt libunwind libgcc) + --stdlib=$(usex default-libcxx libc++ libstdc++) + -fuse-ld=$(usex default-lld lld bfd) + EOF + + newins - gentoo-gcc-install.cfg <<-EOF + # This file is maintained by gcc-config. + # It is used to specify the selected GCC installation. + EOF + + newins - gentoo-common.cfg <<-EOF + # This file contains flags common to clang, clang++ and clang-cpp. + @gentoo-runtimes.cfg + @gentoo-gcc-install.cfg + @gentoo-hardened.cfg + # bug #870001 + -include "${EPREFIX}/usr/include/gentoo/maybe-stddefs.h" + EOF + + # clang-cpp does not like link args being passed to it when directly + # invoked, so use a separate configuration file. + newins - gentoo-common-ld.cfg <<-EOF + # This file contains flags common to clang and clang++ + @gentoo-hardened-ld.cfg + EOF + + # Baseline hardening (bug #851111) + newins - gentoo-hardened.cfg <<-EOF + # Some of these options are added unconditionally, regardless of + # USE=hardened, for parity with sys-devel/gcc. + -Xarch_host -fstack-clash-protection + -Xarch_host -fstack-protector-strong + -fPIE + -include "${EPREFIX}/usr/include/gentoo/fortify.h" + EOF + + newins - gentoo-cet.cfg <<-EOF + -Xarch_host -fcf-protection=$(usex cet full none) + EOF + + if use kernel_Darwin; then + newins - gentoo-hardened-ld.cfg <<-EOF + # There was -Wl,-z,relro here, but it's not supported on Mac + # TODO: investigate whether -bind_at_load or -read_only_stubs will do the job + EOF + else + newins - gentoo-hardened-ld.cfg <<-EOF + # Some of these options are added unconditionally, regardless of + # USE=hardened, for parity with sys-devel/gcc. + -Wl,-z,relro + -Wl,-z,now + EOF + fi + + dodir /usr/include/gentoo + + cat >> "${ED}/usr/include/gentoo/maybe-stddefs.h" <<-EOF || die + /* __has_include is an extension, but it's fine, because this is only + for Clang anyway. */ + #if defined __has_include && __has_include (<stdc-predef.h>) && !defined(__GLIBC__) + # include <stdc-predef.h> + #endif + EOF + + local fortify_level=$(usex hardened 3 2) + # We have to do this because glibc's headers warn if F_S is set + # without optimization and that would at the very least be very noisy + # during builds and at worst trigger many -Werror builds. + cat >> "${ED}/usr/include/gentoo/fortify.h" <<- EOF || die + #ifdef __clang__ + # pragma clang system_header + #endif + #ifndef _FORTIFY_SOURCE + # if defined(__has_feature) + # define __GENTOO_HAS_FEATURE(x) __has_feature(x) + # else + # define __GENTOO_HAS_FEATURE(x) 0 + # endif + # + # if defined(__STDC_HOSTED__) && __STDC_HOSTED__ == 1 + # define __GENTOO_NOT_FREESTANDING 1 + # else + # define __GENTOO_NOT_FREESTANDING 0 + # endif + # + # if defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 && __GENTOO_NOT_FREESTANDING > 0 + # if !defined(__SANITIZE_ADDRESS__) && !__GENTOO_HAS_FEATURE(address_sanitizer) && !__GENTOO_HAS_FEATURE(memory_sanitizer) + # define _FORTIFY_SOURCE ${fortify_level} + # endif + # endif + # undef __GENTOO_HAS_FEATURE + # undef __GENTOO_NOT_FREESTANDING + #endif + EOF + + # TODO: Maybe -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_FAST for + # non-hardened? + if use hardened ; then + cat >> "${ED}/etc/clang/gentoo-hardened.cfg" <<-EOF || die + # Options below are conditional on USE=hardened. + -Xarch_host -D_GLIBCXX_ASSERTIONS + + # Analogue to GLIBCXX_ASSERTIONS + # https://libcxx.llvm.org/UsingLibcxx.html#assertions-mode + # https://libcxx.llvm.org/Hardening.html#using-hardened-mode + -Xarch_host -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE + EOF + + cat >> "${ED}/etc/clang/gentoo-hardened-ld.cfg" <<-EOF || die + # Options below are conditional on USE=hardened. + EOF + fi + + # We only install config files for supported ABIs because unprefixed tools + # might be used for crosscompilation where e.g. PIE may not be supported. + # See bug #912237 and bug #901247. Just ${CHOST} won't do due to bug #912685. + local abi + for abi in $(get_all_abis); do + local abi_chost=$(get_abi_CHOST "${abi}") + doclang_cfg "${abi_chost}" + done + + if use kernel_Darwin; then + cat >> "${ED}/etc/clang/gentoo-common.cfg" <<-EOF || die + # Gentoo Prefix on Darwin + -Wl,-search_paths_first + -Wl,-rpath,${EPREFIX}/usr/lib + -L ${EPREFIX}/usr/lib + -isystem ${EPREFIX}/usr/include + -isysroot ${EPREFIX}/MacOSX.sdk + EOF + if use bootstrap-prefix ; then + # bootstrap-prefix is only set during stage2 of bootstrapping + # Prefix, where EPREFIX is set to EPREFIX/tmp. + # Here we need to point it at the future lib dir of the stage3's + # EPREFIX. + cat >> "${ED}/etc/clang/gentoo-common.cfg" <<-EOF || die + -Wl,-rpath,${EPREFIX}/../usr/lib + EOF + fi + fi +} + +pkg_preinst() { + if has_version -b sys-devel/gcc-config && has_version sys-devel/gcc + then + local gcc_path=$(gcc-config --get-lib-path 2>/dev/null) + if [[ -n ${gcc_path} ]]; then + cat >> "${ED}/etc/clang/gentoo-gcc-install.cfg" <<-EOF + --gcc-install-dir="${gcc_path%%:*}" + EOF + fi + fi +} diff --git a/sys-devel/clang-runtime/Manifest b/sys-devel/clang-runtime/Manifest index 5bf621fd2ce2..52b3b746e4b6 100644 --- a/sys-devel/clang-runtime/Manifest +++ b/sys-devel/clang-runtime/Manifest @@ -2,6 +2,7 @@ EBUILD clang-runtime-15.0.7.ebuild 759 BLAKE2B d7b481faffc4da0a6dc1b4e708322cd17 EBUILD clang-runtime-16.0.6.ebuild 1448 BLAKE2B be376aab09a0268444784d1a0bcb590222c9c8a118e260b15939e574687334eb476d6f66ab0f1f4fb0841a226c7b7f690666c33bec2d9c14f27a4f30f986b859 SHA512 b0b7a2f5c69890cb2fc0a9c2c8a1910669a4eae16826c0702a2ef508f91b6ec3b5607beab5b24f02951cf9b377f1d09395bd97c27f476137ef6cdf2571330578 EBUILD clang-runtime-17.0.6.ebuild 1448 BLAKE2B be376aab09a0268444784d1a0bcb590222c9c8a118e260b15939e574687334eb476d6f66ab0f1f4fb0841a226c7b7f690666c33bec2d9c14f27a4f30f986b859 SHA512 b0b7a2f5c69890cb2fc0a9c2c8a1910669a4eae16826c0702a2ef508f91b6ec3b5607beab5b24f02951cf9b377f1d09395bd97c27f476137ef6cdf2571330578 EBUILD clang-runtime-18.1.8.ebuild 1454 BLAKE2B 73a5e4fd6e04978294419baf373c8e283107a1e6a4cfaf4995373cd73cfb97585eb651bd0f50d1c98cca2b77680e5249eb84ab9310c520b07a160ac5e43cc6d7 SHA512 00b3d8d185d739100002aef7f1c5e35fd70f3412573eafc6c9344b0ee272cd9c64cb721ec858907227841896b2a6ed0a7f21c31adca01205287f3427adb8c446 +EBUILD clang-runtime-19.1.0.ebuild 1461 BLAKE2B 5f477947ea7a07f9f341baa7c0e0df31248fc6b5f949c84abfde5e69d9eb5ba8c2d9e8ee1de316279742c22817b743bdf9225c3ce3b0f4ac239080a1dd3b442a SHA512 7828ba3c785c06ccf3614bf51140899b990db826993457da7720d6884cf459f39545002ff7c5c8afb9f6fd6bbbe089890a10f483e679d831a0afef0559fd9fc3 EBUILD clang-runtime-19.1.0_rc4.ebuild 1339 BLAKE2B 4a5ee8a332faf2da21256df048867b1458a5ccb2d733d00ee3788bfbc28b3daf4ce2ae2455ab03c9ebb192d964feae2cd5806b5fef23eaa9401d57b35386aa57 SHA512 fac3e259b5a7b5e105b3d5fd2f8e9a9b6236642867e4c4a67106ec999dfaf0a30a97a3905685043a0ab9f38b15b7b8a5a814a97921e37029b9d0beac7ba7085a EBUILD clang-runtime-20.0.0.9999.ebuild 1339 BLAKE2B 4a5ee8a332faf2da21256df048867b1458a5ccb2d733d00ee3788bfbc28b3daf4ce2ae2455ab03c9ebb192d964feae2cd5806b5fef23eaa9401d57b35386aa57 SHA512 fac3e259b5a7b5e105b3d5fd2f8e9a9b6236642867e4c4a67106ec999dfaf0a30a97a3905685043a0ab9f38b15b7b8a5a814a97921e37029b9d0beac7ba7085a EBUILD clang-runtime-20.0.0_pre20240830.ebuild 1339 BLAKE2B 4a5ee8a332faf2da21256df048867b1458a5ccb2d733d00ee3788bfbc28b3daf4ce2ae2455ab03c9ebb192d964feae2cd5806b5fef23eaa9401d57b35386aa57 SHA512 fac3e259b5a7b5e105b3d5fd2f8e9a9b6236642867e4c4a67106ec999dfaf0a30a97a3905685043a0ab9f38b15b7b8a5a814a97921e37029b9d0beac7ba7085a diff --git a/sys-devel/clang-runtime/clang-runtime-19.1.0.ebuild b/sys-devel/clang-runtime/clang-runtime-19.1.0.ebuild new file mode 100644 index 000000000000..8ded193c919c --- /dev/null +++ b/sys-devel/clang-runtime/clang-runtime-19.1.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib-build toolchain-funcs + +DESCRIPTION="Meta-ebuild for clang runtime libraries" +HOMEPAGE="https://clang.llvm.org/" + +LICENSE="metapackage" +SLOT="${PV%%.*}" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" +IUSE="+compiler-rt libcxx openmp +sanitize" +REQUIRED_USE="sanitize? ( compiler-rt )" + +RDEPEND=" + compiler-rt? ( + ~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?] + sanitize? ( + ~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?] + ) + ) + libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] ) + openmp? ( >=sys-libs/libomp-${PV}[${MULTILIB_USEDEP}] ) +" + +pkg_pretend() { + if tc-is-clang; then + ewarn "You seem to be using clang as a system compiler. As of clang-16," + ewarn "upstream has turned a few warnings that commonly occur during" + ewarn "configure script runs into errors by default. This causes some" + ewarn "configure tests to start failing, sometimes resulting in silent" + ewarn "breakage, missing functionality or runtime misbehavior. It is" + ewarn "not yet clear whether the change will remain or be reverted." + ewarn + ewarn "For more information, please see:" + ewarn "https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213" + fi +} diff --git a/sys-devel/clang-toolchain-symlinks/Manifest b/sys-devel/clang-toolchain-symlinks/Manifest index c35a8a2b98f2..86a2ac612b93 100644 --- a/sys-devel/clang-toolchain-symlinks/Manifest +++ b/sys-devel/clang-toolchain-symlinks/Manifest @@ -2,6 +2,6 @@ EBUILD clang-toolchain-symlinks-15-r2.ebuild 1141 BLAKE2B 21117f19b6d2aa9ff91a44 EBUILD clang-toolchain-symlinks-16-r2.ebuild 1161 BLAKE2B 04806c6d7a0301e86df75f96ab98d1672824623ed123cdc33be2366ab96334c44610611df3bfcf331b26c07118f91fefcdcf4a36cfd82db19b95ede640bec5ec SHA512 2d6671dfe28d8f9d5d093ee47ce8188cb66ebcd13695d8d84a853d5af39cc80695c818b6378d47e1d7301b01693f6e5af8f1e1813c75649f7272e1f7bc29f965 EBUILD clang-toolchain-symlinks-17.ebuild 1161 BLAKE2B 04806c6d7a0301e86df75f96ab98d1672824623ed123cdc33be2366ab96334c44610611df3bfcf331b26c07118f91fefcdcf4a36cfd82db19b95ede640bec5ec SHA512 2d6671dfe28d8f9d5d093ee47ce8188cb66ebcd13695d8d84a853d5af39cc80695c818b6378d47e1d7301b01693f6e5af8f1e1813c75649f7272e1f7bc29f965 EBUILD clang-toolchain-symlinks-18.ebuild 1167 BLAKE2B 9b2dc3412920ff3571848712d7b6ad8855863625582f42e4954d28c7711bf246de607b853c33d9e8c9942cdca13b9ba1ab3d8e9a7ecc6119a5e28b1bc3ffe778 SHA512 2268797b9adaf95739597b79bae73bcac5b090b52307a5a59994c1f3113de0ff7c7b44dc3cffd3a524a48ac63ed358830c0c7fe3c10dddcb844be74224b30717 -EBUILD clang-toolchain-symlinks-19.ebuild 1063 BLAKE2B 07ac0ca66a30f4052a0add8ac3ae29705143a8d5ffe7de03b757b867615197f743155a5077abcbb63ad22c730ff0b9044a1db084d858e92ff0ac572f8da32a91 SHA512 67c542c73bb8d70821b2b7ca987071348537fcc1a09dd50c95a565e9461f8da9f29a56b486732d8c73554cf117df42cf78be9801329cd392ffdd8562626c97d3 +EBUILD clang-toolchain-symlinks-19.ebuild 1174 BLAKE2B 34a03f6d31c72954db8fa748ec5380ec3dd2f5346ce15f912fab535d870672cd9a2a18f7d429dcf85537ca20b98b90298759337c58f14af14c2cc4288a9c470d SHA512 4b2cf6abd12dab9b4277e912f6f8e6866cbd80736be848134fff7c9a0317c92704166f1e36a726664877ab5be4d40676215df2168498e2ae3f83d4bf1e8c6942 EBUILD clang-toolchain-symlinks-20.ebuild 1063 BLAKE2B 07ac0ca66a30f4052a0add8ac3ae29705143a8d5ffe7de03b757b867615197f743155a5077abcbb63ad22c730ff0b9044a1db084d858e92ff0ac572f8da32a91 SHA512 67c542c73bb8d70821b2b7ca987071348537fcc1a09dd50c95a565e9461f8da9f29a56b486732d8c73554cf117df42cf78be9801329cd392ffdd8562626c97d3 MISC metadata.xml 904 BLAKE2B d2c8a31355b0f3bea6c5b4c72d198f40bf14b6908f5a3f765b48fffb2ba3e4f09a8bb37c87ea4e7d9b4e1de0a3ad2c80bdca6feb45538c973119f27ba6329ad8 SHA512 846548593c071d6905b56984c6924086d5f03929c813be986c89c57a6924d1976975b29769ee60a2796287753aa3453608794af8d36cf48b76c55920778c27d4 diff --git a/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-19.ebuild b/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-19.ebuild index 3496a0f89b67..5da14bc07f7a 100644 --- a/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-19.ebuild +++ b/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-19.ebuild @@ -11,6 +11,7 @@ S=${WORKDIR} LICENSE="public-domain" SLOT="${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~arm64-macos ~x64-macos" IUSE="gcc-symlinks multilib-symlinks +native-symlinks" # Blocker for bug #872416 diff --git a/sys-devel/clang/Manifest b/sys-devel/clang/Manifest index f948cba2f6d4..c9bf605bb0e9 100644 --- a/sys-devel/clang/Manifest +++ b/sys-devel/clang/Manifest @@ -15,6 +15,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.0-rc4.src.tar.xz 141255904 BLAKE2B c693dc94aeb4b59ad4a05a426037075449535c398cbc1ae9b4371d42ea0962b267a3be8af93f4fe47b21c11964fbea6e8eb662225e6f79b20bbc35e706588435 SHA512 826978a596b26040124f2ceba858f91031f78faca22f32de2eea1a4d299a849dcb1fffdfb01601adc39d733dd0cdee43b21af05159d45dcebc842f6b6b540ba8 DIST llvm-project-19.1.0-rc4.src.tar.xz.sig 438 BLAKE2B aef02737285d2faa1b21cec1a32fff6e776ac4bb5c4fd6f26d3d1a9b9244ed1fc0a1eb786a444a6549dda8683485f67964b4d4e48393e1780e7938ee0d94348a SHA512 5b9dcbf232229fdd87824bc87d0ad4ebd54127c9288708fb3304166422d378b77a843d7c5d8258850a0de59310c24e65042d636a5314e2af8513627a43bdb6e8 +DIST llvm-project-19.1.0.src.tar.xz 141244872 BLAKE2B 972d028599006d528acdb0ff107b30af8bef247a0f174991646d07f0a47e7d237a5a1700ae668a9f4496295535d688eeeebe550669e78b0775aaab044f5b268e SHA512 396b34886f8442eeb5bc23152e8c2577e834d88f1d21a67829f9ca651b77c5ceb32df4e70c34dc1e6fea24abe45fa00f08502628de25fdbf32864f5b9066d23d +DIST llvm-project-19.1.0.src.tar.xz.sig 438 BLAKE2B b044fcc6f331e75f9340e390ef8a95242a7f74e7c9835e67161fc4dd0ba0a8a5400e8ec4efd0fe50d2a9a9d950d0b37d5c0725868f450619b161a36ebded6a67 SHA512 d596d4942750818f489f114ff953a2b27e220abcf132d4d4ce0d910b73dfc283262507fc35cc0b61363c4af22cb9112dd7a662a89ea4b9667827fa1bde6785ed DIST llvm-project-41f1b467a29d2ca4e35df37c3aa79a0a8c04bc4f.tar.gz 218633363 BLAKE2B 9367923a4257e0ce01cf443eca790a567c6d9224126ebff15849c829f04dbac39aee60de1f28eab71ee4143341105c46466e1983e0f2a1a478e75fd5363a8d02 SHA512 eca094df135f184e2c3a42a3984ac353b7a8286446da80f042aef8047761f5f5cc6eeccb9bff6056ff0ddd1babe31a468e279b028b9618364f88ae9f26053c22 DIST llvm-project-5500e21942f7047344b6fee62d3e08c0ba2f9182.tar.gz 219148250 BLAKE2B 61880a13086c46ac9a9f8326b1e007146afb1662a0a223703fe36a91da230d5708b368f1177e76ac13c1e5a30f620c4ce6346484a0a67a0f011a816bba4d13f9 SHA512 a6d4fcae960b450be2abd2da485cea638b73290b17ceeabf560651d614f55925f86ee6f76a116262d8a1ff70ba699468cb4cf4c32015e26540ba6e47c58db1b7 DIST llvm-project-bece0d7517bd0a036dc8a319514e4a8a5c497dee.tar.gz 218241938 BLAKE2B 7ac08a21ab2899823683dc700bd2f6226e22653f5be553fe0278868f9fa0d8946fabe6aae40f68cfd14e019b1a3795affb64bf41ebcc949394b73a90e7cd019c SHA512 8893512dcbc1171d2c91aeb0aa9e5fd424474c4d6b5215fb1a078dc8757ab2d404b55ed90709e09368e0794c8306f489be8339d5c502dd6c2ef1852e24636e85 @@ -22,6 +24,7 @@ EBUILD clang-15.0.7-r3.ebuild 12523 BLAKE2B 0e3f9d4506a1b98e96ff98ea52f8bb10f8ab EBUILD clang-16.0.6.ebuild 12452 BLAKE2B 446a354b58fc0535b81596a9a3785a4cd5d7b7ad52a461baa3b6b7beacdc12161f62da588cd837b8b9c8f35307b1a2c885b9d01bf8edc4af1b551efaab09ebe8 SHA512 58b5694a7d28a03edd4a71e3a99b0b2678285e616cdaab82bb196f092a8726e9cd3787ab07d724680113b4f6683e89103cab2478e49a85e7b5c75a633fb1ca51 EBUILD clang-17.0.6.ebuild 12151 BLAKE2B 665280844db218824bec2add033e13e14b958ac510fb1b0b7193130a55041a5c802c57aa022a35d65a689c611ca9ed119eaf39c47f581d24f38d9c8655c5f062 SHA512 482ae07e36fb3c593d2051b2034f501fc0c94bdcaeb2a6a0701473d00f16f691c8a1584d4b1773dfd236297a12a42cb4f9443eb5c381dcb10d36f749a432ff1d EBUILD clang-18.1.8.ebuild 12224 BLAKE2B 6b2b34e54d342fd373fa156d71d2fc01626d535a697a5fd4d63b543b92a6e19586b774ccaca1326581b4842873f61a9956d105c8be9d02fef1d1debb11544b7b SHA512 4b2699d0caf5932e7fb91a837498b4d2281612b960fd56e5d3f502aae6c30c89ca97d4150ec2ea0fb87b6874c1936a068c636863bb7586c532ca9e13c2b7c212 +EBUILD clang-19.1.0.ebuild 12009 BLAKE2B 57eb806325a2ef4db3522fef6499df29e027d0eb2864742b37ea9600592695040578c28f598f040d673c12521b02a4e72d08f223a32d8da018a84e2f96aac79e SHA512 a11f469205670912b39dac6322e4de4741c167f4380cf568774e0ea82e3ae931f6d46626ea82ed39e167ad992ceebe17fd59c3eadfc9699f4919d1907304d799 EBUILD clang-19.1.0_rc4.ebuild 11899 BLAKE2B 4ec92be5b4185157408680503931e7bc4c50cb99320a11e2d16598cad5bf8c1f6b30a020e395d652cb2489b9252885ab5fd18672bbfd6adbb84c69a5800be6ce SHA512 a1f20ed323af7a93a9c6d277789f53cc17c9faf60e81bdee8e4e754a52da46cbfa79fde093aea023b83b4f4d3c93add7b170e4af32e65e869e04e4d48204f898 EBUILD clang-20.0.0.9999.ebuild 11943 BLAKE2B a186ad2e553c9fe1f76a659a1bb8d015f777ef76f100d0400b18c755ebfa80380cad8426c27c69255531b2a321b1bd62ea7a22301616133442604398c92c136c SHA512 2f2a4f0dd70bbeffc174a1213733dddfaaf34b5ef247fde9bd4248361d3561227a66ff10aa87ff0a627ac472bea36455ddba50387ebd5d3fdd7e50d4fd751995 EBUILD clang-20.0.0_pre20240830.ebuild 11943 BLAKE2B a186ad2e553c9fe1f76a659a1bb8d015f777ef76f100d0400b18c755ebfa80380cad8426c27c69255531b2a321b1bd62ea7a22301616133442604398c92c136c SHA512 2f2a4f0dd70bbeffc174a1213733dddfaaf34b5ef247fde9bd4248361d3561227a66ff10aa87ff0a627ac472bea36455ddba50387ebd5d3fdd7e50d4fd751995 diff --git a/sys-devel/clang/clang-19.1.0.ebuild b/sys-devel/clang/clang-19.1.0.ebuild new file mode 100644 index 000000000000..54dae879d767 --- /dev/null +++ b/sys-devel/clang/clang-19.1.0.ebuild @@ -0,0 +1,471 @@ +# 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 llvm.org llvm-utils multilib multilib-minimal +inherit prefix python-single-r1 toolchain-funcs + +DESCRIPTION="C language family frontend for LLVM" +HOMEPAGE="https://llvm.org/" + +# MSVCSetupApi.h: MIT +# sorttable.js: MIT + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~arm64-macos ~x64-macos" +IUSE="debug doc +extra ieee-long-double +pie +static-analyzer test xml" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +DEPEND=" + ~sys-devel/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}] + static-analyzer? ( dev-lang/perl:* ) + xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) +" + +RDEPEND=" + ${PYTHON_DEPS} + ${DEPEND} + >=sys-devel/clang-common-${PV} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( ~sys-devel/lld-${PV} ) + xml? ( virtual/pkgconfig ) +" +PDEPEND=" + ~sys-devel/clang-runtime-${PV} + sys-devel/clang-toolchain-symlinks:${LLVM_MAJOR} +" + +LLVM_COMPONENTS=( + clang clang-tools-extra cmake +) +LLVM_MANPAGES=1 +LLVM_TEST_COMPONENTS=( + llvm/utils +) +LLVM_USE_TARGETS=llvm +llvm.org_set_globals + +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" doc? ( " +BDEPEND+=" + $(python_gen_cond_dep ' + dev-python/myst-parser[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ') +" +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" ) " + +# Multilib notes: +# 1. ABI_* flags control ABIs libclang* is built for only. +# 2. clang is always capable of compiling code for all ABIs for enabled +# target. However, you will need appropriate crt* files (installed +# e.g. by sys-devel/gcc and sys-libs/glibc). +# 3. ${CHOST}-clang wrappers are always installed for all ABIs included +# in the current profile (i.e. alike supported by sys-devel/gcc). +# +# Therefore: use sys-devel/clang[${MULTILIB_USEDEP}] only if you need +# multilib clang* libraries (not runtime, not wrappers). + +src_prepare() { + # create extra parent dir for relative CLANG_RESOURCE_DIR access + mkdir -p x/y || die + BUILD_DIR=${WORKDIR}/x/y/clang + + llvm.org_src_prepare + + # add Gentoo Portage Prefix for Darwin (see prefix-dirs.patch) + eprefixify \ + lib/Lex/InitHeaderSearch.cpp \ + lib/Driver/ToolChains/Darwin.cpp || die + + if ! use prefix-guest && [[ -n ${EPREFIX} ]]; then + sed -i "/LibDir.*Loader/s@return \"\/\"@return \"${EPREFIX}/\"@" lib/Driver/ToolChains/Linux.cpp || die + fi +} + +check_distribution_components() { + if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then + local all_targets=() my_targets=() l + cd "${BUILD_DIR}" || die + + while read -r l; do + if [[ ${l} == install-*-stripped:* ]]; then + l=${l#install-} + l=${l%%-stripped*} + + case ${l} in + # meta-targets + clang-libraries|distribution) + continue + ;; + # tools + clang|clangd|clang-*) + ;; + # static libraries + clang*|findAllSymbols) + continue + ;; + # conditional to USE=doc + docs-clang-html|docs-clang-tools-html) + use doc || continue + ;; + esac + + all_targets+=( "${l}" ) + fi + done < <(${NINJA} -t targets all) + + while read -r l; do + my_targets+=( "${l}" ) + done < <(get_distribution_components $"\n") + + local add=() remove=() + for l in "${all_targets[@]}"; do + if ! has "${l}" "${my_targets[@]}"; then + add+=( "${l}" ) + fi + done + for l in "${my_targets[@]}"; do + if ! has "${l}" "${all_targets[@]}"; then + remove+=( "${l}" ) + fi + done + + if [[ ${#add[@]} -gt 0 || ${#remove[@]} -gt 0 ]]; then + eqawarn "get_distribution_components() is outdated!" + eqawarn " Add: ${add[*]}" + eqawarn "Remove: ${remove[*]}" + fi + cd - >/dev/null || die + fi +} + +get_distribution_components() { + local sep=${1-;} + + local out=( + # common stuff + clang-cmake-exports + clang-headers + clang-resource-headers + libclang-headers + + aarch64-resource-headers + arm-common-resource-headers + arm-resource-headers + core-resource-headers + cuda-resource-headers + hexagon-resource-headers + hip-resource-headers + hlsl-resource-headers + mips-resource-headers + opencl-resource-headers + openmp-resource-headers + ppc-htm-resource-headers + ppc-resource-headers + riscv-resource-headers + systemz-resource-headers + utility-resource-headers + ve-resource-headers + webassembly-resource-headers + windows-resource-headers + x86-resource-headers + + # libs + clang-cpp + libclang + ) + + if multilib_is_native_abi; then + out+=( + # common stuff + bash-autocomplete + libclang-python-bindings + + # tools + amdgpu-arch + c-index-test + clang + clang-format + clang-installapi + clang-linker-wrapper + clang-nvlink-wrapper + clang-offload-bundler + clang-offload-packager + clang-refactor + clang-repl + clang-rename + clang-scan-deps + diagtool + hmaptool + nvptx-arch + + # needed for cross-compiling Clang + clang-tblgen + ) + + if use extra; then + out+=( + # extra tools + clang-apply-replacements + clang-change-namespace + clang-doc + clang-include-cleaner + clang-include-fixer + clang-move + clang-pseudo + clang-query + clang-reorder-fields + clang-tidy + clang-tidy-headers + clangd + find-all-symbols + modularize + pp-trace + ) + fi + + if llvm_are_manpages_built; then + out+=( docs-clang-man ) + use extra && out+=( docs-clang-tools-man ) + fi + + if use doc; then + out+=( docs-clang-html ) + use extra && out+=( docs-clang-tools-html ) + fi + + use static-analyzer && out+=( + clang-check + clang-extdef-mapping + scan-build + scan-build-py + scan-view + ) + fi + + printf "%s${sep}" "${out[@]}" +} + +multilib_src_configure() { + llvm_prepend_path "${LLVM_MAJOR}" + + local mycmakeargs=( + -DDEFAULT_SYSROOT=$(usex prefix-guest "" "${EPREFIX}") + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}" + -DCMAKE_INSTALL_MANDIR="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/share/man" + -DCLANG_CONFIG_FILE_SYSTEM_DIR="${EPREFIX}/etc/clang" + # relative to bindir + -DCLANG_RESOURCE_DIR="../../../../lib/clang/${LLVM_MAJOR}" + + -DBUILD_SHARED_LIBS=OFF + -DCLANG_LINK_CLANG_DYLIB=ON + -DLLVM_DISTRIBUTION_COMPONENTS=$(get_distribution_components) + -DCLANG_INCLUDE_TESTS=$(usex test) + + -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}" + + # these are not propagated reliably, so redefine them + -DLLVM_ENABLE_EH=ON + -DLLVM_ENABLE_RTTI=ON + + # libgomp support fails to find headers without explicit -I + # furthermore, it provides only syntax checking + -DCLANG_DEFAULT_OPENMP_RUNTIME=libomp + + -DCLANG_DEFAULT_PIE_ON_LINUX=$(usex pie) + + -DCLANG_ENABLE_LIBXML2=$(usex xml) + -DCLANG_ENABLE_ARCMT=$(usex static-analyzer) + -DCLANG_ENABLE_STATIC_ANALYZER=$(usex static-analyzer) + # TODO: CLANG_ENABLE_HLSL? + + -DPython3_EXECUTABLE="${PYTHON}" + ) + + if ! use elibc_musl; then + mycmakeargs+=( + -DPPC_LINUX_DEFAULT_IEEELONGDOUBLE=$(usex ieee-long-double) + ) + fi + + use test && mycmakeargs+=( + -DLLVM_BUILD_TESTS=ON + -DLLVM_LIT_ARGS="$(get_lit_flags)" + ) + + if multilib_is_native_abi; then + local build_docs=OFF + if llvm_are_manpages_built; then + build_docs=ON + mycmakeargs+=( + -DLLVM_BUILD_DOCS=ON + -DLLVM_ENABLE_SPHINX=ON + -DCLANG_INSTALL_SPHINX_HTML_DIR="${EPREFIX}/usr/share/doc/${PF}/html" + -DSPHINX_WARNINGS_AS_ERRORS=OFF + ) + if use extra; then + mycmakeargs+=( + -DCLANG-TOOLS_INSTALL_SPHINX_HTML_DIR="${EPREFIX}/usr/share/doc/${PF}/tools-extra" + ) + fi + fi + mycmakeargs+=( + -DCLANG_INCLUDE_DOCS=${build_docs} + ) + fi + if multilib_native_use extra; then + mycmakeargs+=( + -DLLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR="${WORKDIR}"/clang-tools-extra + -DCLANG_TOOLS_EXTRA_INCLUDE_DOCS=${build_docs} + ) + else + mycmakeargs+=( + -DLLVM_TOOL_CLANG_TOOLS_EXTRA_BUILD=OFF + ) + fi + + if [[ -n ${EPREFIX} ]]; then + mycmakeargs+=( + -DGCC_INSTALL_PREFIX="${EPREFIX}/usr" + ) + fi + + if tc-is-cross-compiler; then + has_version -b sys-devel/clang:${LLVM_MAJOR} || + die "sys-devel/clang:${LLVM_MAJOR} is required on the build host." + local tools_bin=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/bin + mycmakeargs+=( + -DLLVM_TOOLS_BINARY_DIR="${tools_bin}" + -DCLANG_TABLEGEN="${tools_bin}"/clang-tblgen + ) + fi + + # LLVM can have very high memory consumption while linking, + # exhausting the limit on 32-bit linker executable + use x86 && local -x LDFLAGS="${LDFLAGS} -Wl,--no-keep-memory" + + # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 + use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" + cmake_src_configure + + multilib_is_native_abi && check_distribution_components +} + +multilib_src_compile() { + cmake_build distribution +} + +multilib_src_test() { + # respect TMPDIR! + local -x LIT_PRESERVES_TMP=1 + local test_targets=( check-clang ) + if multilib_native_use extra; then + test_targets+=( + check-clang-tools + check-clangd + ) + fi + cmake_build "${test_targets[@]}" +} + +src_install() { + MULTILIB_WRAPPED_HEADERS=( + /usr/include/clang/Config/config.h + ) + + multilib-minimal_src_install + + # Move runtime headers to /usr/lib/clang, where they belong + mv "${ED}"/usr/include/clangrt "${ED}"/usr/lib/clang || die + # move (remaining) wrapped headers back + if use extra; then + mv "${T}"/clang-tidy "${ED}"/usr/include/ || die + fi + mv "${ED}"/usr/include "${ED}"/usr/lib/llvm/${LLVM_MAJOR}/include || die + + # Apply CHOST and version suffix to clang tools + local clang_tools=( clang clang++ clang-cl clang-cpp ) + local abi i + + # cmake gives us: + # - clang-X + # - clang -> clang-X + # - clang++, clang-cl, clang-cpp -> clang + # we want to have: + # - clang-X + # - clang++-X, clang-cl-X, clang-cpp-X -> clang-X + # - clang, clang++, clang-cl, clang-cpp -> clang*-X + # also in CHOST variant + for i in "${clang_tools[@]:1}"; do + rm "${ED}/usr/lib/llvm/${LLVM_MAJOR}/bin/${i}" || die + dosym "clang-${LLVM_MAJOR}" "/usr/lib/llvm/${LLVM_MAJOR}/bin/${i}-${LLVM_MAJOR}" + dosym "${i}-${LLVM_MAJOR}" "/usr/lib/llvm/${LLVM_MAJOR}/bin/${i}" + done + + # now create target symlinks for all supported ABIs + for abi in $(get_all_abis); do + local abi_chost=$(get_abi_CHOST "${abi}") + for i in "${clang_tools[@]}"; do + dosym "${i}-${LLVM_MAJOR}" \ + "/usr/lib/llvm/${LLVM_MAJOR}/bin/${abi_chost}-${i}-${LLVM_MAJOR}" + dosym "${abi_chost}-${i}-${LLVM_MAJOR}" \ + "/usr/lib/llvm/${LLVM_MAJOR}/bin/${abi_chost}-${i}" + done + done +} + +multilib_src_install() { + DESTDIR=${D} cmake_build install-distribution + + # move headers to /usr/include for wrapping & ABI mismatch checks + # (also drop the version suffix from runtime headers) + rm -rf "${ED}"/usr/include || die + mv "${ED}"/usr/lib/llvm/${LLVM_MAJOR}/include "${ED}"/usr/include || die + mv "${ED}"/usr/lib/clang "${ED}"/usr/include/clangrt || die + if multilib_native_use extra; then + # don't wrap clang-tidy headers, the list is too long + # (they're fine for non-native ABI but enabling the targets is problematic) + mv "${ED}"/usr/include/clang-tidy "${T}/" || die + fi +} + +multilib_src_install_all() { + python_fix_shebang "${ED}" + if use static-analyzer; then + python_optimize "${ED}"/usr/lib/llvm/${LLVM_MAJOR}/share/scan-view + fi + + docompress "/usr/lib/llvm/${LLVM_MAJOR}/share/man" + llvm_install_manpages + # match 'html' non-compression + use doc && docompress -x "/usr/share/doc/${PF}/tools-extra" + # +x for some reason; TODO: investigate + use static-analyzer && fperms a-x "/usr/lib/llvm/${LLVM_MAJOR}/share/man/man1/scan-build.1" +} + +pkg_postinst() { + if [[ -z ${ROOT} && -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect ]] ; then + eselect compiler-shadow update all + fi + + elog "You can find additional utility scripts in:" + elog " ${EROOT}/usr/lib/llvm/${LLVM_MAJOR}/share/clang" + if use extra; then + elog "Some of them are vim integration scripts (with instructions inside)." + elog "The run-clang-tidy.py script requires the following additional package:" + elog " dev-python/pyyaml" + fi +} + +pkg_postrm() { + if [[ -z ${ROOT} && -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect ]] ; then + eselect compiler-shadow clean all + fi +} diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index cfa03a24b24a..0060e4337420 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -47,34 +47,34 @@ DIST gcc-8.5.0.tar.xz 63841008 BLAKE2B aa81a1a730fd7371360f6abed6ba78b5843fd18c5 DIST gcc-9.5.0-patches-2.tar.xz 14324 BLAKE2B 1d3bf3e673108ad2fcdcb86daefb4603d1c9f6aa815e34d1591054d466b76d6f50cce124ab4760528c4951ea16eb00888a3e6485417f81ebf250548732df4a8e SHA512 a6d6f650aaf0bd193a17ac279649f0544a282cea295824384c59341c3000eac4b574b60e00dd427585d928f9768166abf85168b47772132790ad98854acacbbf DIST gcc-9.5.0.tar.xz 72462752 BLAKE2B 69e39314ee6bb46e3be491ba9c3cbc4914cb716f732c6d3f2b14d9382750b40c4f14b5d3051225b81f936ef8297b0ba8cb5439512e961dae5815d3bee2b0bfdb SHA512 cdd144ce4f747e051480410afc8506c90a57cb45da89071ddae377b1453bca3014422455ade9fe4563ebe51f4b6348cbc0c61905a9b8801cd597d51ad0ec62b3 DIST gcc-validate-failures-a447cd6dee206facb66720bdacf0c765a8b09f33.py 27537 BLAKE2B 96c7474de0bc50ab890a91551412398c979396c43aa237a4b6d8baa98ce7fda2cc9f5a755a03fd9d055d885ee2fb40ba29644a0649c24398361ce75a20fae634 SHA512 409434953351cf1f2287f1e4a4fbde5b28a27add35ddd284080acec71b33cb4ec5e1c07f41a79fac060bd6f1eedd198812495141923e410ded907429fe515f83 -EBUILD gcc-10.5.0.ebuild 1427 BLAKE2B b403b04a39d4081b71c39cb76bc2fbd559ec32f65c48f9eec2b42914d7bda8de65a56033018a59b314c555757799da7c55aa8fe5dd482f8e7d80f3a4c43234fb SHA512 321d0f1772505331aa62c6fc91155eea8563f03be5aa47e424181d585262da9689d5981496077e8026869a660e942521d42ee5ab2cf90d6bb46a4cac1a8d83e1 -EBUILD gcc-11.4.1_p20240501.ebuild 1587 BLAKE2B aaeefcc717df759e452b8f9a851ab7e62d3f5ae864f8b5abd3f4d9f412ac1f70c2610e81fc9bc8410a3a31efd9dcdd74f30513fd353f4f51a154217668265823 SHA512 6954d09c86d3882128a32bb0701d73989efaaff597b82dde51b0b5cbe2ffdca09cc977c740b5dd54bae99260f24facfc32aaf205e35dae21e47aaded8b8bb72f -EBUILD gcc-11.5.0.ebuild 1595 BLAKE2B 2ebb4e67128fc71317a216449772bc89331f589570abe39213494c3a17d1b0d0419449accb09e1b68f099097e1d672f50d3d89c44d0317182dc0d9eb0f3ae10e SHA512 e3f27c17989f79e38c26a99ff45efc74cd40acfe0a42cf34e9b271385d21bd7d603c00c856c1e2692d1c7b3c3dc0d518da9cd07e8495b52702ebe0a428b272e8 -EBUILD gcc-12.3.1_p20240209.ebuild 1593 BLAKE2B 30015d249c5d6d8461761c98dc112a93ca4bf69134b01eea558657de4bb48684e53ba2952d7a2d212f6d2cd8f5d20f0cd2767e23df02bf2b0701d04cc3a20cc8 SHA512 cb49fca279c6e471fe31ab560a50fc09ad2c9c817b60ec9f831a6ddc41bc2962867641130793521c33b5671a7a801baf40ff5011b83acff1d77700d569f1f88f -EBUILD gcc-12.4.0.ebuild 1593 BLAKE2B 30015d249c5d6d8461761c98dc112a93ca4bf69134b01eea558657de4bb48684e53ba2952d7a2d212f6d2cd8f5d20f0cd2767e23df02bf2b0701d04cc3a20cc8 SHA512 cb49fca279c6e471fe31ab560a50fc09ad2c9c817b60ec9f831a6ddc41bc2962867641130793521c33b5671a7a801baf40ff5011b83acff1d77700d569f1f88f -EBUILD gcc-12.4.1_p20240829.ebuild 1602 BLAKE2B 5a41e2e6c313217a39a41e2197eac5da04d9eb357667b83a6acb37b9eb339dd69428f7d30132381ccc669edff0682b0f3f0210eb5a8b0ebd6b106500ec1e956b SHA512 78ac916dadce5972b8bdc118dd384f40494b6d431f01c34d00a5c23c7620865fc8261c41bffdc7320713d3f5099cef1873870418f5744c6051d2e0a38dd90048 -EBUILD gcc-12.4.1_p20240905.ebuild 1602 BLAKE2B 5a41e2e6c313217a39a41e2197eac5da04d9eb357667b83a6acb37b9eb339dd69428f7d30132381ccc669edff0682b0f3f0210eb5a8b0ebd6b106500ec1e956b SHA512 78ac916dadce5972b8bdc118dd384f40494b6d431f01c34d00a5c23c7620865fc8261c41bffdc7320713d3f5099cef1873870418f5744c6051d2e0a38dd90048 -EBUILD gcc-12.4.1_p20240912.ebuild 1602 BLAKE2B 5a41e2e6c313217a39a41e2197eac5da04d9eb357667b83a6acb37b9eb339dd69428f7d30132381ccc669edff0682b0f3f0210eb5a8b0ebd6b106500ec1e956b SHA512 78ac916dadce5972b8bdc118dd384f40494b6d431f01c34d00a5c23c7620865fc8261c41bffdc7320713d3f5099cef1873870418f5744c6051d2e0a38dd90048 -EBUILD gcc-12.5.9999.ebuild 1570 BLAKE2B 1eacce91b781c3d60f8499b6631ff8cf5cb6a1195df388438523ff0dc990de2fb0cb57196329fcd0c63c3f9ce6e9c150777a23edf1996a8158eac04498790e8a SHA512 7c50b93fcadc4eb6ec6c5988415dcd13c04674e9e16afd8cc31f82a606738cd10845ce82c05d1bdc717ca508fae5f9bda98e307dd27b33d21342e86f32cca9d7 -EBUILD gcc-13.2.0.ebuild 1660 BLAKE2B c27c55afd20c530d902a0cb031681200b25b4d87e16c1f8967fd8813f41eab79688780446d214b8f788589bbc9b9dd066708ddd9e91a3a8efd97c54f1251797e SHA512 4bf1fb1aa4d5f7a29ca780953aa039523729915d61f22b19523bdb415c44b00944eee7c9dbba708a342de18f8f693659106274fcfd373459fd0494db725b6479 -EBUILD gcc-13.2.1_p20240210.ebuild 1653 BLAKE2B 22e64c2d6634c6ad90add5d3a26138f4f1d213b6091f9246e9719720f92476088ace04058c171b87b4fedec6e0d5b45de6a16a9186322666f00d6c37aa14f8f7 SHA512 a7d42b046563ee812819cec8688ae64abecb13d7a6d7bf325f6830066da6a17f369f72dcea06f8c178c1c5fa470afdbb200c000fc60cf64f22795945f1410da1 -EBUILD gcc-13.3.1_p20240614.ebuild 1653 BLAKE2B 741dbfad192df6bdeeb6015ac5435ff00ea94b1c6ffdd6e105b49644ad6d03f818770f5fa9e2a145f82ca338cb880858c6637f95a59d11e6d3c1751f07a43ed6 SHA512 2ee888364e3650c492230c29239870d3b2d2a1cb5798bd2aa40dced35eab853a0a5c4c364789af6a715b28c72349138ba8cbbe10602479e7e2a734f61dd09c70 -EBUILD gcc-13.3.1_p20240830.ebuild 1662 BLAKE2B f52bd39c3d63082ce545e94671d373e00e0d5908c2d4db18a1391b7500e63aa465378d31653661dff57a81b95bf529642af64be1e553ee9f47567a33f8926c8d SHA512 eb24e88a5ab69abbbf08bfda223fe6cbbf26f683a4598227e770d13987a17c97bd5fc64d7d3b06c9af542f3a236f8d640f0bac07d4c765096cbc4e88e2e1a304 -EBUILD gcc-13.3.1_p20240906.ebuild 1662 BLAKE2B f52bd39c3d63082ce545e94671d373e00e0d5908c2d4db18a1391b7500e63aa465378d31653661dff57a81b95bf529642af64be1e553ee9f47567a33f8926c8d SHA512 eb24e88a5ab69abbbf08bfda223fe6cbbf26f683a4598227e770d13987a17c97bd5fc64d7d3b06c9af542f3a236f8d640f0bac07d4c765096cbc4e88e2e1a304 -EBUILD gcc-13.3.1_p20240913.ebuild 1662 BLAKE2B f52bd39c3d63082ce545e94671d373e00e0d5908c2d4db18a1391b7500e63aa465378d31653661dff57a81b95bf529642af64be1e553ee9f47567a33f8926c8d SHA512 eb24e88a5ab69abbbf08bfda223fe6cbbf26f683a4598227e770d13987a17c97bd5fc64d7d3b06c9af542f3a236f8d640f0bac07d4c765096cbc4e88e2e1a304 -EBUILD gcc-13.4.9999.ebuild 1657 BLAKE2B 7e088b6dd4b6235d0826faed2f799730bc0d431607d4dfd00d733314a03c9cdca549ff328d199c1bacffe4cb3e4a0321a7f725454f50353f7f0f20dc3d983ee3 SHA512 02e242b2f3aff1c23f69469b3993a94d329a071f5d6177414f75a3ec6c2e9b5891ed9fa9d3da15ddf31a226b774bf53674a1960a9bd1c74f314db495a0b5d595 -EBUILD gcc-14.2.0.ebuild 1417 BLAKE2B f91b880f3dd4b0cc47f94d3afdb8956546dcc5c921c1e7260e1e34316bbbd00f4ccdcb95ed5db7ad985a9b9940c4ebbc40044206c3ffc2548ddddc361175f8d4 SHA512 cabd523c2e89fbaafba546603523ee8224cd1159151d872dc207c234b52019a99fce163b8317e075ea975f47a576c3d14ce59deb62f62c4556f53bdc0d56c5b1 -EBUILD gcc-14.2.1_p20240817-r1.ebuild 1418 BLAKE2B 95a5731666e07dd17dfee338106f7e9ad16b7a61ff154865e0e2cab95ed0d0c646ce02503ad2f9af3e88aa71373c2cd52f1fd36a07a3c893c79459064f37fb28 SHA512 87a3d9406136201461f0c9eb46b1ab708cf0e95bc192f72b4c9c8378bf2c1a69e13660dd1c0f085d74b35e5e1c40bd3c5b0a0200c2d65fe7d05a9c101f266de2 -EBUILD gcc-14.2.1_p20240817.ebuild 1417 BLAKE2B f91b880f3dd4b0cc47f94d3afdb8956546dcc5c921c1e7260e1e34316bbbd00f4ccdcb95ed5db7ad985a9b9940c4ebbc40044206c3ffc2548ddddc361175f8d4 SHA512 cabd523c2e89fbaafba546603523ee8224cd1159151d872dc207c234b52019a99fce163b8317e075ea975f47a576c3d14ce59deb62f62c4556f53bdc0d56c5b1 -EBUILD gcc-14.2.1_p20240831.ebuild 1418 BLAKE2B 95a5731666e07dd17dfee338106f7e9ad16b7a61ff154865e0e2cab95ed0d0c646ce02503ad2f9af3e88aa71373c2cd52f1fd36a07a3c893c79459064f37fb28 SHA512 87a3d9406136201461f0c9eb46b1ab708cf0e95bc192f72b4c9c8378bf2c1a69e13660dd1c0f085d74b35e5e1c40bd3c5b0a0200c2d65fe7d05a9c101f266de2 -EBUILD gcc-14.2.1_p20240907.ebuild 1418 BLAKE2B 95a5731666e07dd17dfee338106f7e9ad16b7a61ff154865e0e2cab95ed0d0c646ce02503ad2f9af3e88aa71373c2cd52f1fd36a07a3c893c79459064f37fb28 SHA512 87a3d9406136201461f0c9eb46b1ab708cf0e95bc192f72b4c9c8378bf2c1a69e13660dd1c0f085d74b35e5e1c40bd3c5b0a0200c2d65fe7d05a9c101f266de2 -EBUILD gcc-14.2.1_p20240914.ebuild 1418 BLAKE2B 95a5731666e07dd17dfee338106f7e9ad16b7a61ff154865e0e2cab95ed0d0c646ce02503ad2f9af3e88aa71373c2cd52f1fd36a07a3c893c79459064f37fb28 SHA512 87a3d9406136201461f0c9eb46b1ab708cf0e95bc192f72b4c9c8378bf2c1a69e13660dd1c0f085d74b35e5e1c40bd3c5b0a0200c2d65fe7d05a9c101f266de2 -EBUILD gcc-14.3.9999.ebuild 1388 BLAKE2B 0b3457a78989d69dc4b5dbac1fd0df32ca352e83020afc70c98adc623931c7d83427a3dd969bc2f4a3926e48224495c80b6930e7ad609df51af76299e086a926 SHA512 26fd9b78ebeb2daa54b3bd6b723828d93b8b8c877f0040634a9b2d517f554db874413758b1cbf0e321910bced573a8cee95e1d6721a091227bd51be62c8314d7 -EBUILD gcc-15.0.0_pre20240825.ebuild 1338 BLAKE2B 3acc273cc50639899f649eb6f93ab9706703824f68da3f3c6c1180dc728a2ca3b1fbc70b79cb9c2e43f3df9a9021ca4852a7bf8fb54ded59f41048c3bddaae1d SHA512 bfb054f8babe18e720147583a840998623ffc55c27758a17fd6cc6684236a9c591d3f646b134dbb982f7182f44cdc8e91e22f763613e2ea0dbcdc41574a85ce1 -EBUILD gcc-15.0.0_pre20240901.ebuild 1338 BLAKE2B 330c0e0748674466d9ba2098f019c998ee45ed8ee80d97e0d82ca225c30a070acc58e6676749afc30269c23ee20cda18dd282bb0c03f4b7f18c962d2e148868c SHA512 964e76edef65e18779c8b5f8db3dfe10f3abfac4ac87795f6f5c5542afa5dd05b297052de450c82355fdffef5966fceae5d0246901c71d7fa72a25d2bf1847ea -EBUILD gcc-15.0.0_pre20240908.ebuild 1338 BLAKE2B 330c0e0748674466d9ba2098f019c998ee45ed8ee80d97e0d82ca225c30a070acc58e6676749afc30269c23ee20cda18dd282bb0c03f4b7f18c962d2e148868c SHA512 964e76edef65e18779c8b5f8db3dfe10f3abfac4ac87795f6f5c5542afa5dd05b297052de450c82355fdffef5966fceae5d0246901c71d7fa72a25d2bf1847ea -EBUILD gcc-15.0.0_pre20240915.ebuild 1338 BLAKE2B 330c0e0748674466d9ba2098f019c998ee45ed8ee80d97e0d82ca225c30a070acc58e6676749afc30269c23ee20cda18dd282bb0c03f4b7f18c962d2e148868c SHA512 964e76edef65e18779c8b5f8db3dfe10f3abfac4ac87795f6f5c5542afa5dd05b297052de450c82355fdffef5966fceae5d0246901c71d7fa72a25d2bf1847ea -EBUILD gcc-15.0.9999.ebuild 1310 BLAKE2B cda411b09e073198d9f852e65ad41498dbfd941a08c2209052cb44742c8cde989d0f6278cf5076d4d1d11dbfe6cc05df39a8ebed30a25d63b267e635b3353be7 SHA512 f76d2d4cf56be53a36247b3bf9b354518de6b5f2ac0213b2500c451eb948207befe61a09b22d0a813f7c9b73a4e58a4d4de30fd5665c9e819fc68fb20c69e909 -EBUILD gcc-8.5.0-r1.ebuild 527 BLAKE2B c9564e2dc1771644f86cc8da1e8798b0afc68d02dd05619c6c3e20b118b9c47cc2f55c8becdc62d0aa8feef8c54078fe8572eea94252f4ef1f3ce3133b34b4d1 SHA512 f7336ebfbfe62b03d07606e81694d1b41b9b325f6d6e9c6aaf285583551247cbe120d675b6847d0a59e4ea07b681edd9a10652dc7e9e1985b504ed0791b76779 -EBUILD gcc-9.5.0.ebuild 1235 BLAKE2B 61577267cb924209bc3cb73ab0f7aa0bcfd7ae6f0244530c5709b02580b2098a9eaaad72a150b2eb3962f26019bfa7e529ae50a66deafdc8b6d750383f99740e SHA512 874529cb3e9d79466094e82a49ba18b78c4b2718f55c6dbcb573e5ddcd8729cd83ed11507b39751c41d6c60ef0db04915fd031de646966c2da575707143d85c1 +EBUILD gcc-10.5.0.ebuild 1449 BLAKE2B a73661c664c8a682a2756e9d6652e482555d011e4305c862d2717121a9b5f62b0078b866efdc2ac8d4bf990783c25d60cd54cba616a14117d96bf4e152fd20c7 SHA512 edb74e8a20cdb1fe76b6397d45b9330543aa6925d4a3ff38be6aeb9fce0e54551dab5ab8ae54ba813d67eba2e154e69e130aa3ae0415920b417dd3445f5d2c1e +EBUILD gcc-11.4.1_p20240501.ebuild 1609 BLAKE2B 9bedccd8d9a0cf506de80b009a2f14564cac36f1e9f7048e2e76ef8991b0b38c47521faeebcc8ee738053d21ecc8cf03ee264a99129fe5d0451cae218864d8cd SHA512 6cb1dce0afb64120599682ff2e320edab619ef7ced80f6b772014b598bd3065f2db94d36720643d03dda1f4d07b775bd9023d616099d4f61f8caa4e3f1a0575c +EBUILD gcc-11.5.0.ebuild 1617 BLAKE2B 996c4591b25da24c56a754e19ab34e0ee8a6e8a05845240314014f5be35884afa3d49dd3afa4dab5114a38c92e1da6650c88439b70cdb723113547cc0320559c SHA512 fc4351ea62554b5f8d6c3fdb00c83dcbcc268a86cf0f18a33e30b991804686ce4ebf7cd372fc5edfbac4bbda8ec95613b60e3f085e643ae9ba96cc2dca236a2f +EBUILD gcc-12.3.1_p20240209.ebuild 1615 BLAKE2B 9751dc68e1fef6f6f4d2eaf487e709dabc498fa9797d04fd9fd1a1c4ebfc73a9bacc51da893d230fa7540a2ee7fa18fc2971ef565b594efd8c20e229655bfd4a SHA512 5571b26f8f4426d908623d6e96365cea65164e48ace2616c47651e3d2a3e0ac3a87d9377c075b0feb100f61857dbcd539f3744a9a9d4e253e00f871ed867979a +EBUILD gcc-12.4.0.ebuild 1615 BLAKE2B 9751dc68e1fef6f6f4d2eaf487e709dabc498fa9797d04fd9fd1a1c4ebfc73a9bacc51da893d230fa7540a2ee7fa18fc2971ef565b594efd8c20e229655bfd4a SHA512 5571b26f8f4426d908623d6e96365cea65164e48ace2616c47651e3d2a3e0ac3a87d9377c075b0feb100f61857dbcd539f3744a9a9d4e253e00f871ed867979a +EBUILD gcc-12.4.1_p20240829.ebuild 1624 BLAKE2B 9e97343c462ca9282890ce612fe814ba3c12f178899c47d929a8d9b0949ac99125844275176be6eaa22eb646771cbb545edba143dce098d9c86f6e1f9b828ba0 SHA512 e3d340dadb3059e2c769813031e44a77bee6ac6238378f0ffd593f3fc1866edf8c8cc27c17f01cf2e9cff47070cc8580a34273968fb7a3f26c8ab37d76334656 +EBUILD gcc-12.4.1_p20240905.ebuild 1624 BLAKE2B 9e97343c462ca9282890ce612fe814ba3c12f178899c47d929a8d9b0949ac99125844275176be6eaa22eb646771cbb545edba143dce098d9c86f6e1f9b828ba0 SHA512 e3d340dadb3059e2c769813031e44a77bee6ac6238378f0ffd593f3fc1866edf8c8cc27c17f01cf2e9cff47070cc8580a34273968fb7a3f26c8ab37d76334656 +EBUILD gcc-12.4.1_p20240912.ebuild 1624 BLAKE2B 9e97343c462ca9282890ce612fe814ba3c12f178899c47d929a8d9b0949ac99125844275176be6eaa22eb646771cbb545edba143dce098d9c86f6e1f9b828ba0 SHA512 e3d340dadb3059e2c769813031e44a77bee6ac6238378f0ffd593f3fc1866edf8c8cc27c17f01cf2e9cff47070cc8580a34273968fb7a3f26c8ab37d76334656 +EBUILD gcc-12.5.9999.ebuild 1592 BLAKE2B 67143f2363fc6565514d2efb407f73adb21d2a83f499abcd52a56084d5abfbe761be3cb5550b83b19443893b199cace3ffb0865ecc9340b63b051223e96aa105 SHA512 c7555fec9b7008cfa7ec50e64fe4f67f15ca55d8fcfbc720a4e640de90851aa13bd9929bcc1f1fc84d9cc59d32b407df6347f5bb1c232be7b2f1181b829dceca +EBUILD gcc-13.2.0.ebuild 1682 BLAKE2B 5a19639504afafced19bd1ad913e3106a65d16b4b3d5aeabedb0cbc891bdac22d9cd0a21928eef51b88dcbbe64927fabe8fc9bf0fe19ea755ad5959bf5acfb67 SHA512 3865dff4bb19f022f6a1a2d653bc8f7eab9c47e99ec5b30e4600506faab301f410ff26f1155b5305f219f3b89f344cc8271aef8b6d6fb2568e8937d5867ea843 +EBUILD gcc-13.2.1_p20240210.ebuild 1675 BLAKE2B 762915c2d864696549d2d64e679c97859f7220e939fecc09caff0566693457837cb852a9d337ba1b47aa7f4855bd63c9a4e82a2f7ccc5d61eb19e7cb8a0ecbdf SHA512 9bfc10315bf601d952f8ae0515d6ef949c1446545dab355082987a78e6f27b1bf7e375b3bc4567399ba1622bdfd8b0b0fe55a0842425ed77ae9efc8a1573788c +EBUILD gcc-13.3.1_p20240614.ebuild 1675 BLAKE2B 5a69f99e69092e7691c42c8119813988b1e5447e420d4867424af1b9bfe363351891c9e25cbcde829da4b5244bb51ca4d6d875408f5cb702e0417c8193c150bf SHA512 5eb54693145368f4b1c109222cfe254d3120441eb2bbc491603fb54d0c0300477f08327119967b0181659ed64381d2a418d9d54c8b94bc40ea2289fb084a733c +EBUILD gcc-13.3.1_p20240830.ebuild 1684 BLAKE2B 37373988d53e286b61dacfac6da30deb1eeaf0b1401db7b2e4dd2c97847ea2b150eccfaf2a383f43c733e7bf2e32c2fe242d29e2d9d76bf74827c7f4b13d9c71 SHA512 4b636ad546a227d2195ffe0bd3652c0eadb2135ea4f91b2cadbf992d8ac9c0ee556f8664d66218af56ecf21f2fc2dae9174726c9eec3a32dcb71149537ac5859 +EBUILD gcc-13.3.1_p20240906.ebuild 1684 BLAKE2B 37373988d53e286b61dacfac6da30deb1eeaf0b1401db7b2e4dd2c97847ea2b150eccfaf2a383f43c733e7bf2e32c2fe242d29e2d9d76bf74827c7f4b13d9c71 SHA512 4b636ad546a227d2195ffe0bd3652c0eadb2135ea4f91b2cadbf992d8ac9c0ee556f8664d66218af56ecf21f2fc2dae9174726c9eec3a32dcb71149537ac5859 +EBUILD gcc-13.3.1_p20240913.ebuild 1684 BLAKE2B 37373988d53e286b61dacfac6da30deb1eeaf0b1401db7b2e4dd2c97847ea2b150eccfaf2a383f43c733e7bf2e32c2fe242d29e2d9d76bf74827c7f4b13d9c71 SHA512 4b636ad546a227d2195ffe0bd3652c0eadb2135ea4f91b2cadbf992d8ac9c0ee556f8664d66218af56ecf21f2fc2dae9174726c9eec3a32dcb71149537ac5859 +EBUILD gcc-13.4.9999.ebuild 1679 BLAKE2B 480cd313584e1170b6948893bf6eaec6fed930db66038f5e0dc60ca279e7469ba41b416cb7e0261aafda3ee704815ae8d034ee9a523a46fb96f023621bc58446 SHA512 c34bdd3646469d69bea6457c4f91107ea22c14d9a0e75e4cd1b8b75297a8a5b073adf37c8609d62d00584fe6dcfa7cf22c460210d6550bb69dcffc570e9521b0 +EBUILD gcc-14.2.0.ebuild 1439 BLAKE2B 8526f59ddd0046bf73a2786a19a99cdc6a17ff06a90c76dd9466acacc1bf2f8932768ba8285b8687e8b27eed341bf644b4bb752c47b61ccdb956bb5f3524e546 SHA512 406a5d60b7115907313c5c4a7c06674244d3362c5f90a2c358e0feed8a8ff72cc0becc07cee6e82090aeea3f55db91961a300c755263d3aebabb0251b0052f48 +EBUILD gcc-14.2.1_p20240817-r1.ebuild 1440 BLAKE2B b641bcbb8a535e9a015d86ef3d0044849622a6903be80d10e3bd5628a39dd11f1c4ca1152d1c71db4c4bf7463f982e58a17a684d8feb477e0b9eb039bacdb579 SHA512 eba354815b0589c3b07f777bad2a6f4fa6f25c2f732d5e65e2c99d5cb0fd391cbb73c2c43fc9db280a97ab5e6e2506abdedb310b84caa3bd46d0bf90a6cfa434 +EBUILD gcc-14.2.1_p20240817.ebuild 1439 BLAKE2B 8526f59ddd0046bf73a2786a19a99cdc6a17ff06a90c76dd9466acacc1bf2f8932768ba8285b8687e8b27eed341bf644b4bb752c47b61ccdb956bb5f3524e546 SHA512 406a5d60b7115907313c5c4a7c06674244d3362c5f90a2c358e0feed8a8ff72cc0becc07cee6e82090aeea3f55db91961a300c755263d3aebabb0251b0052f48 +EBUILD gcc-14.2.1_p20240831.ebuild 1440 BLAKE2B b641bcbb8a535e9a015d86ef3d0044849622a6903be80d10e3bd5628a39dd11f1c4ca1152d1c71db4c4bf7463f982e58a17a684d8feb477e0b9eb039bacdb579 SHA512 eba354815b0589c3b07f777bad2a6f4fa6f25c2f732d5e65e2c99d5cb0fd391cbb73c2c43fc9db280a97ab5e6e2506abdedb310b84caa3bd46d0bf90a6cfa434 +EBUILD gcc-14.2.1_p20240907.ebuild 1440 BLAKE2B b641bcbb8a535e9a015d86ef3d0044849622a6903be80d10e3bd5628a39dd11f1c4ca1152d1c71db4c4bf7463f982e58a17a684d8feb477e0b9eb039bacdb579 SHA512 eba354815b0589c3b07f777bad2a6f4fa6f25c2f732d5e65e2c99d5cb0fd391cbb73c2c43fc9db280a97ab5e6e2506abdedb310b84caa3bd46d0bf90a6cfa434 +EBUILD gcc-14.2.1_p20240914.ebuild 1440 BLAKE2B b641bcbb8a535e9a015d86ef3d0044849622a6903be80d10e3bd5628a39dd11f1c4ca1152d1c71db4c4bf7463f982e58a17a684d8feb477e0b9eb039bacdb579 SHA512 eba354815b0589c3b07f777bad2a6f4fa6f25c2f732d5e65e2c99d5cb0fd391cbb73c2c43fc9db280a97ab5e6e2506abdedb310b84caa3bd46d0bf90a6cfa434 +EBUILD gcc-14.3.9999.ebuild 1410 BLAKE2B 9bae23ee70f670946a0b160e4d4d8a074584097a6b9a1f41c3e08a43271539d30ce7bb3651419a6950c74d24748e8423056dbc857e5c7ae96c7e42992d7395fc SHA512 72b07844e93065dd3dea5fc96f70d9502876932f3b9b8fe898ee0911d3750b47fc7e6fce802c8d8e93481a74ba46de0f9fb15cf48de1c3b347180a4d4c1303cf +EBUILD gcc-15.0.0_pre20240825.ebuild 1360 BLAKE2B 01ea3c9e97ed83dd04c7bdd629fae6ac8e5f70353f73de7deda2b4bd4f4d41b3bc972364e13dfb5207cc6d7698ab494198b3ed2432a0bdebfe5128bef5b5dda5 SHA512 2e2d41af1241bc1748e1312a2c5204929e5d5955da5cca20e681fa66921fed33e41c5699d2825974e639138f1388c58c2a16f46503ca243a1f7b011e0f96a71a +EBUILD gcc-15.0.0_pre20240901.ebuild 1360 BLAKE2B 968d28147681b5a6090ddf0362c655aedb5c54883a463d8279df03ba98e967bb201130faaf0d863c815d8a8168c89e476c31c1fbf79ebdeda6430a36cc100467 SHA512 15bd66cda74f11d735c8ede352979ee0b94470bf0497fe8cc07e76e00093e32c5acf5e760e21ad60c73e6187f61e082a76caf7d2970b3e991ff8678ba0c81755 +EBUILD gcc-15.0.0_pre20240908.ebuild 1360 BLAKE2B 968d28147681b5a6090ddf0362c655aedb5c54883a463d8279df03ba98e967bb201130faaf0d863c815d8a8168c89e476c31c1fbf79ebdeda6430a36cc100467 SHA512 15bd66cda74f11d735c8ede352979ee0b94470bf0497fe8cc07e76e00093e32c5acf5e760e21ad60c73e6187f61e082a76caf7d2970b3e991ff8678ba0c81755 +EBUILD gcc-15.0.0_pre20240915.ebuild 1360 BLAKE2B 968d28147681b5a6090ddf0362c655aedb5c54883a463d8279df03ba98e967bb201130faaf0d863c815d8a8168c89e476c31c1fbf79ebdeda6430a36cc100467 SHA512 15bd66cda74f11d735c8ede352979ee0b94470bf0497fe8cc07e76e00093e32c5acf5e760e21ad60c73e6187f61e082a76caf7d2970b3e991ff8678ba0c81755 +EBUILD gcc-15.0.9999.ebuild 1332 BLAKE2B 6f17f77603522bac72d4d57094cc086263a9bfe6273c04d91b169ebc23d78fa2943c0950d4a40fe846d9d92648e54ca54ad1cecd5446ed5710062f9dca569b4b SHA512 4e4a673229a36dee68238e10efb2d9e0ff1c530411395e5230bbf567c92342a4b79d0ecb0ec91573c52fd8b5efd5cf6d20e612971848c9529378e0c42c0e213d +EBUILD gcc-8.5.0-r1.ebuild 549 BLAKE2B ff92dcaf33780ec98032b59fa9b9de925e44375d50fdf82f6bedc1747cd37399753b5db4aa6c2af8e983b4a8a1ff38090e8d913252320b4d7f3eb24af2c22c57 SHA512 856d099e61a03b38fe468a82dc94c52d51e4678499c9a10a54ca009ef4cc67e24f8aaf984dc5eea2604b6db36f4eaf29ac8cf81ef7651b2221758f4f07898996 +EBUILD gcc-9.5.0.ebuild 1257 BLAKE2B b398cea6cb4227fd126b85feb3e735f6b505236f54aecc9983e46fd30dbfcd8f16e80680c231567212c7cbd524b0d485574f7c5c5830137f9ebeea089a641e90 SHA512 0faea0a2389563bede22ba172ae6ab490a693c221bf6700152e9f63b23fad8d74a595a50c40cdf2eed32ee5e9cdddfdb6e2907629036c94034327f5772c93f6f MISC metadata.xml 5408 BLAKE2B 14aa1cd76e0e7b0f9ac5600f34343287f3af14e7e9ca366f9c65d85dd726597b183705aaf174a6c3d3ccb87ca4792dba5f6bd6f2de439d66f8c4c689cba74933 SHA512 c58beaad2236523b0de58336c4c9c7cf74e8bf042d673d2481ef98bd3b4eb51f867e885b9eb78388625e2dd65bc627e2bf0ebd218605d088911fb4846ab3c558 diff --git a/sys-devel/gcc/gcc-10.5.0.ebuild b/sys-devel/gcc/gcc-10.5.0.ebuild index 1c38d13dc19a..0f2205413cb9 100644 --- a/sys-devel/gcc/gcc-10.5.0.ebuild +++ b/sys-devel/gcc/gcc-10.5.0.ebuild @@ -4,6 +4,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="10.5.0" PATCH_VER="6" MUSL_VER="2" diff --git a/sys-devel/gcc/gcc-11.4.1_p20240501.ebuild b/sys-devel/gcc/gcc-11.4.1_p20240501.ebuild index 25c7d792237f..417f4754dea4 100644 --- a/sys-devel/gcc/gcc-11.4.1_p20240501.ebuild +++ b/sys-devel/gcc/gcc-11.4.1_p20240501.ebuild @@ -4,6 +4,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="11.4.0" PATCH_VER="12" MUSL_VER="2" diff --git a/sys-devel/gcc/gcc-11.5.0.ebuild b/sys-devel/gcc/gcc-11.5.0.ebuild index b371c9aa7310..4282e62ae404 100644 --- a/sys-devel/gcc/gcc-11.5.0.ebuild +++ b/sys-devel/gcc/gcc-11.5.0.ebuild @@ -4,6 +4,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="11.4.0" PATCH_VER="12" MUSL_VER="2" diff --git a/sys-devel/gcc/gcc-12.3.1_p20240209.ebuild b/sys-devel/gcc/gcc-12.3.1_p20240209.ebuild index af4495489e4d..7f7adbf4aa22 100644 --- a/sys-devel/gcc/gcc-12.3.1_p20240209.ebuild +++ b/sys-devel/gcc/gcc-12.3.1_p20240209.ebuild @@ -4,6 +4,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="12.3.0" PATCH_VER="3" MUSL_VER="1" diff --git a/sys-devel/gcc/gcc-12.4.0.ebuild b/sys-devel/gcc/gcc-12.4.0.ebuild index af4495489e4d..7f7adbf4aa22 100644 --- a/sys-devel/gcc/gcc-12.4.0.ebuild +++ b/sys-devel/gcc/gcc-12.4.0.ebuild @@ -4,6 +4,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="12.3.0" PATCH_VER="3" MUSL_VER="1" diff --git a/sys-devel/gcc/gcc-12.4.1_p20240829.ebuild b/sys-devel/gcc/gcc-12.4.1_p20240829.ebuild index 220fd184cf7a..d6312b98e032 100644 --- a/sys-devel/gcc/gcc-12.4.1_p20240829.ebuild +++ b/sys-devel/gcc/gcc-12.4.1_p20240829.ebuild @@ -4,6 +4,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="12.3.0" PATCH_VER="3" MUSL_VER="1" diff --git a/sys-devel/gcc/gcc-12.4.1_p20240905.ebuild b/sys-devel/gcc/gcc-12.4.1_p20240905.ebuild index 220fd184cf7a..d6312b98e032 100644 --- a/sys-devel/gcc/gcc-12.4.1_p20240905.ebuild +++ b/sys-devel/gcc/gcc-12.4.1_p20240905.ebuild @@ -4,6 +4,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="12.3.0" PATCH_VER="3" MUSL_VER="1" diff --git a/sys-devel/gcc/gcc-12.4.1_p20240912.ebuild b/sys-devel/gcc/gcc-12.4.1_p20240912.ebuild index 220fd184cf7a..d6312b98e032 100644 --- a/sys-devel/gcc/gcc-12.4.1_p20240912.ebuild +++ b/sys-devel/gcc/gcc-12.4.1_p20240912.ebuild @@ -4,6 +4,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="12.3.0" PATCH_VER="3" MUSL_VER="1" diff --git a/sys-devel/gcc/gcc-12.5.9999.ebuild b/sys-devel/gcc/gcc-12.5.9999.ebuild index b66d7f055f23..f53e12b9ce5f 100644 --- a/sys-devel/gcc/gcc-12.5.9999.ebuild +++ b/sys-devel/gcc/gcc-12.5.9999.ebuild @@ -4,6 +4,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="12.3.0" MUSL_GCC_VER="12.3.0" PYTHON_COMPAT=( python3_{10..12} ) diff --git a/sys-devel/gcc/gcc-13.2.0.ebuild b/sys-devel/gcc/gcc-13.2.0.ebuild index b14b9fea4804..dc739761db42 100644 --- a/sys-devel/gcc/gcc-13.2.0.ebuild +++ b/sys-devel/gcc/gcc-13.2.0.ebuild @@ -5,6 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..12} ) TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="13.2.0" PATCH_VER="3" MUSL_VER="2" diff --git a/sys-devel/gcc/gcc-13.2.1_p20240210.ebuild b/sys-devel/gcc/gcc-13.2.1_p20240210.ebuild index 1a557eb3d3a2..ddcc19f03dc8 100644 --- a/sys-devel/gcc/gcc-13.2.1_p20240210.ebuild +++ b/sys-devel/gcc/gcc-13.2.1_p20240210.ebuild @@ -4,6 +4,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="13.2.0" PATCH_VER="14" MUSL_VER="2" diff --git a/sys-devel/gcc/gcc-13.3.1_p20240614.ebuild b/sys-devel/gcc/gcc-13.3.1_p20240614.ebuild index e8978a0424a0..0e2a5ec26af0 100644 --- a/sys-devel/gcc/gcc-13.3.1_p20240614.ebuild +++ b/sys-devel/gcc/gcc-13.3.1_p20240614.ebuild @@ -4,6 +4,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="13.2.0" MUSL_GCC_VER="13.2.0" PATCH_VER="17" diff --git a/sys-devel/gcc/gcc-13.3.1_p20240830.ebuild b/sys-devel/gcc/gcc-13.3.1_p20240830.ebuild index 740880e94563..bc9e058b8a4a 100644 --- a/sys-devel/gcc/gcc-13.3.1_p20240830.ebuild +++ b/sys-devel/gcc/gcc-13.3.1_p20240830.ebuild @@ -4,6 +4,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="13.2.0" MUSL_GCC_VER="13.2.0" PATCH_VER="18" diff --git a/sys-devel/gcc/gcc-13.3.1_p20240906.ebuild b/sys-devel/gcc/gcc-13.3.1_p20240906.ebuild index 740880e94563..bc9e058b8a4a 100644 --- a/sys-devel/gcc/gcc-13.3.1_p20240906.ebuild +++ b/sys-devel/gcc/gcc-13.3.1_p20240906.ebuild @@ -4,6 +4,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="13.2.0" MUSL_GCC_VER="13.2.0" PATCH_VER="18" diff --git a/sys-devel/gcc/gcc-13.3.1_p20240913.ebuild b/sys-devel/gcc/gcc-13.3.1_p20240913.ebuild index 740880e94563..bc9e058b8a4a 100644 --- a/sys-devel/gcc/gcc-13.3.1_p20240913.ebuild +++ b/sys-devel/gcc/gcc-13.3.1_p20240913.ebuild @@ -4,6 +4,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="13.2.0" MUSL_GCC_VER="13.2.0" PATCH_VER="18" diff --git a/sys-devel/gcc/gcc-13.4.9999.ebuild b/sys-devel/gcc/gcc-13.4.9999.ebuild index 257dc331d8c4..d8f1286b3516 100644 --- a/sys-devel/gcc/gcc-13.4.9999.ebuild +++ b/sys-devel/gcc/gcc-13.4.9999.ebuild @@ -4,6 +4,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="13.2.0" MUSL_GCC_VER="13.2.0" PATCH_VER="16" diff --git a/sys-devel/gcc/gcc-14.2.0.ebuild b/sys-devel/gcc/gcc-14.2.0.ebuild index dc3f01c10077..ce8bd73361ff 100644 --- a/sys-devel/gcc/gcc-14.2.0.ebuild +++ b/sys-devel/gcc/gcc-14.2.0.ebuild @@ -4,6 +4,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="14.1.0" PATCH_VER="4" MUSL_VER="1" diff --git a/sys-devel/gcc/gcc-14.2.1_p20240817-r1.ebuild b/sys-devel/gcc/gcc-14.2.1_p20240817-r1.ebuild index a20857ef74ba..fdbbb220f723 100644 --- a/sys-devel/gcc/gcc-14.2.1_p20240817-r1.ebuild +++ b/sys-devel/gcc/gcc-14.2.1_p20240817-r1.ebuild @@ -4,6 +4,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="14.1.0" PATCH_VER="5" MUSL_VER="1" diff --git a/sys-devel/gcc/gcc-14.2.1_p20240817.ebuild b/sys-devel/gcc/gcc-14.2.1_p20240817.ebuild index dc3f01c10077..ce8bd73361ff 100644 --- a/sys-devel/gcc/gcc-14.2.1_p20240817.ebuild +++ b/sys-devel/gcc/gcc-14.2.1_p20240817.ebuild @@ -4,6 +4,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="14.1.0" PATCH_VER="4" MUSL_VER="1" diff --git a/sys-devel/gcc/gcc-14.2.1_p20240831.ebuild b/sys-devel/gcc/gcc-14.2.1_p20240831.ebuild index a20857ef74ba..fdbbb220f723 100644 --- a/sys-devel/gcc/gcc-14.2.1_p20240831.ebuild +++ b/sys-devel/gcc/gcc-14.2.1_p20240831.ebuild @@ -4,6 +4,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="14.1.0" PATCH_VER="5" MUSL_VER="1" diff --git a/sys-devel/gcc/gcc-14.2.1_p20240907.ebuild b/sys-devel/gcc/gcc-14.2.1_p20240907.ebuild index a20857ef74ba..fdbbb220f723 100644 --- a/sys-devel/gcc/gcc-14.2.1_p20240907.ebuild +++ b/sys-devel/gcc/gcc-14.2.1_p20240907.ebuild @@ -4,6 +4,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="14.1.0" PATCH_VER="5" MUSL_VER="1" diff --git a/sys-devel/gcc/gcc-14.2.1_p20240914.ebuild b/sys-devel/gcc/gcc-14.2.1_p20240914.ebuild index a20857ef74ba..fdbbb220f723 100644 --- a/sys-devel/gcc/gcc-14.2.1_p20240914.ebuild +++ b/sys-devel/gcc/gcc-14.2.1_p20240914.ebuild @@ -4,6 +4,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="14.1.0" PATCH_VER="5" MUSL_VER="1" diff --git a/sys-devel/gcc/gcc-14.3.9999.ebuild b/sys-devel/gcc/gcc-14.3.9999.ebuild index cee600c71e71..bc9e2e7b7b05 100644 --- a/sys-devel/gcc/gcc-14.3.9999.ebuild +++ b/sys-devel/gcc/gcc-14.3.9999.ebuild @@ -4,6 +4,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="14.1.0" MUSL_GCC_VER="14.1.0" PYTHON_COMPAT=( python3_{10..12} ) diff --git a/sys-devel/gcc/gcc-15.0.0_pre20240825.ebuild b/sys-devel/gcc/gcc-15.0.0_pre20240825.ebuild index 65d6a54537ef..20fecb656626 100644 --- a/sys-devel/gcc/gcc-15.0.0_pre20240825.ebuild +++ b/sys-devel/gcc/gcc-15.0.0_pre20240825.ebuild @@ -4,6 +4,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="15.0.0" PATCH_VER="11" MUSL_VER="2" diff --git a/sys-devel/gcc/gcc-15.0.0_pre20240901.ebuild b/sys-devel/gcc/gcc-15.0.0_pre20240901.ebuild index 251b75fc96ae..3ae01ca0596b 100644 --- a/sys-devel/gcc/gcc-15.0.0_pre20240901.ebuild +++ b/sys-devel/gcc/gcc-15.0.0_pre20240901.ebuild @@ -4,6 +4,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="15.0.0" PATCH_VER="12" MUSL_VER="2" diff --git a/sys-devel/gcc/gcc-15.0.0_pre20240908.ebuild b/sys-devel/gcc/gcc-15.0.0_pre20240908.ebuild index 251b75fc96ae..3ae01ca0596b 100644 --- a/sys-devel/gcc/gcc-15.0.0_pre20240908.ebuild +++ b/sys-devel/gcc/gcc-15.0.0_pre20240908.ebuild @@ -4,6 +4,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="15.0.0" PATCH_VER="12" MUSL_VER="2" diff --git a/sys-devel/gcc/gcc-15.0.0_pre20240915.ebuild b/sys-devel/gcc/gcc-15.0.0_pre20240915.ebuild index 251b75fc96ae..3ae01ca0596b 100644 --- a/sys-devel/gcc/gcc-15.0.0_pre20240915.ebuild +++ b/sys-devel/gcc/gcc-15.0.0_pre20240915.ebuild @@ -4,6 +4,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="15.0.0" PATCH_VER="12" MUSL_VER="2" diff --git a/sys-devel/gcc/gcc-15.0.9999.ebuild b/sys-devel/gcc/gcc-15.0.9999.ebuild index 54390309a356..01eae230d759 100644 --- a/sys-devel/gcc/gcc-15.0.9999.ebuild +++ b/sys-devel/gcc/gcc-15.0.9999.ebuild @@ -4,6 +4,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="15.0.0" MUSL_GCC_VER="15.0.0" PYTHON_COMPAT=( python3_{10..12} ) diff --git a/sys-devel/gcc/gcc-8.5.0-r1.ebuild b/sys-devel/gcc/gcc-8.5.0-r1.ebuild index 13197fafa7d8..c1ae8df40177 100644 --- a/sys-devel/gcc/gcc-8.5.0-r1.ebuild +++ b/sys-devel/gcc/gcc-8.5.0-r1.ebuild @@ -5,6 +5,7 @@ EAPI="7" TOOLCHAIN_PATCH_SUFFIX="xz" TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_VER="4" PYTHON_COMPAT=( python3_{10..12} ) diff --git a/sys-devel/gcc/gcc-9.5.0.ebuild b/sys-devel/gcc/gcc-9.5.0.ebuild index 3e1ae186c507..db195459e4a6 100644 --- a/sys-devel/gcc/gcc-9.5.0.ebuild +++ b/sys-devel/gcc/gcc-9.5.0.ebuild @@ -4,6 +4,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="9.5.0" PATCH_VER="2" PYTHON_COMPAT=( python3_{10..12} ) diff --git a/sys-devel/kgcc64/Manifest b/sys-devel/kgcc64/Manifest index a130ce628a64..a205af985bca 100644 --- a/sys-devel/kgcc64/Manifest +++ b/sys-devel/kgcc64/Manifest @@ -22,14 +22,13 @@ DIST gcc-14-20240817.tar.xz 88024252 BLAKE2B 994b3e263246e344c6898943a17feb63f07 DIST gcc-14.1.0-musl-patches-1.tar.xz 3600 BLAKE2B 4cd920b7ca1f122cae806707564d8e45bfd48e78c88788a12a301f6068b5a5f335d8885e67479ac536c66aeaa81f2ecb7240ae56e9fc821a7246ab66b453711f SHA512 61c48d90a55dfc2129d96aee69d939d6a89f6407f69f7bd12c1a619f28989f471fd219d731958f8e62b0fd650c32300f0ad8dc06d5df23d9fc8c1a77fe210c25 DIST gcc-14.1.0-patches-1.tar.xz 11584 BLAKE2B d483f4e3324acdc26b9837028d5e20ad0cdcf3ef4bcc78a6902d63ceebc7e5ff70c8163f6a8c8e36405df47c59dd2df506147c53ce51a8ec73494e65b5902647 SHA512 3d7aea113b594d1896c93e9e6be85f467488fa75de2800ed76eab2f87cef26829b235d1f361b187e38cf13b0fb9518cd4431c3106ec1e49d0f744e7eb703eaa0 DIST gcc-14.1.0-patches-4.tar.xz 11620 BLAKE2B c819fbdea1f3bf10c8d4214d4c33cf28c1410171d2833b6f8c1225eeefe749ddb815067b3fdb750e5839761aee8d39ffc51ffb492f88e630076818a61b18362b SHA512 0d6e1b04591607dfc8022124b186ce499467c32db7667ee1a640fe2e07706597edc0e4ad5c7ebcb75c8f5fc6e45e9b9ef715402c71ff9ab21fe380007fe5d84f -DIST gcc-validate-failures-a447cd6dee206facb66720bdacf0c765a8b09f33.py 27537 BLAKE2B 96c7474de0bc50ab890a91551412398c979396c43aa237a4b6d8baa98ce7fda2cc9f5a755a03fd9d055d885ee2fb40ba29644a0649c24398361ce75a20fae634 SHA512 409434953351cf1f2287f1e4a4fbde5b28a27add35ddd284080acec71b33cb4ec5e1c07f41a79fac060bd6f1eedd198812495141923e410ded907429fe515f83 -EBUILD kgcc64-10.5.0.ebuild 1097 BLAKE2B 9e5b63d039a864ee4a0c420e35ba2d9fadd4ee91988df2d23a666b7f68be79ba7bb9e27ba108e056de531b6fb14730d1495ddec6a1cb214d81108236a27cae34 SHA512 50ba0c8ff4c5d2e0dc019cf1713112f879585e61e0df5c755ad9f0e0af3c16830f5122a9dab652b39dba2ce1ac8c20e4f5f14294320a52ad8e9931fe192a6c8e -EBUILD kgcc64-11.4.1_p20240501.ebuild 1098 BLAKE2B 273315d30f9c9179520bb858674b60b522d42cdfa57e757dd0adf867418692f55818c4d762e42c9f8d56c111d25faa7115bbdb13512d95a0f89c524aaab0b29d SHA512 689b31e36c8906cdbe4b6611443385c388b59f556872833733fa9bcae9a1c6a8b3bfaabfb48c69d8208ea4997ce33c552039ab1be721328e42262549fb6aeb58 -EBUILD kgcc64-11.5.0.ebuild 1099 BLAKE2B b105316e308098a88352e89304fbb7086e2207233d4f7ca6b650e85914e718ac7173f8016f8b4f3e24276cf8e3b4c92bc4e198cdfe866815bd42d5a1003afc07 SHA512 4edc7bb9f56cb8691f78057dca13d04e1b2642a836037e1d5edf68aad1b36e1e230abc9e9c97077d51fbe5dfa2b6906a93c6889293f6181c55119b32ff02602b -EBUILD kgcc64-12.3.1_p20240502.ebuild 1138 BLAKE2B 07e4d9f7bd8ffffd24a5a1fe94e54f86cf91e8d7b52f1b119ce7fdbbb4229bcba3849f322c3f4780acb989cfad470636d0897f912346db4c87d72b823100cb94 SHA512 391546a7d04a907ff92765cf68d1f79d720d94a7685cf7b70ed83800c203a7befcb1fa0398b670c86fdf730643110e4140926ed71f167adef5515de0d9249799 -EBUILD kgcc64-12.4.0.ebuild 1139 BLAKE2B 4145216ce99f51af2c0b4865d9357c725d2385e9c20c2041dcaf4ddc3f159c445c4c209f2264797da2fb57c970f03869eadc0f5b5e3bbd848648f921f8eedfe1 SHA512 158b925205194415d00b808479e0ceba90f6b37c5853d66fdf3fdd9b4f5e9a26f52f3e865b6a51d9c8a43819c12544c535bf6fc583ca73e83c1219ec97322fc1 -EBUILD kgcc64-13.2.1_p20240503.ebuild 1097 BLAKE2B 2ef980b13fce70f5eb1eddb496307baae3d972e99daa932863fdb6055e3a424b9d69686afc0074a5621e88c8a4767fb6a48ff1e041e1bd7f4d023ec89b3a748c SHA512 86e2ed7d599dca7b7b7263c1e91a8878f4e6f8c68b1bc4c26f1e1a02352b12cfef16e6ee4f89b5e4d9208669451c82200588c231cfd3fce2f80c62ad681ecab8 -EBUILD kgcc64-13.3.1_p20240614.ebuild 1098 BLAKE2B 90d3ca19db83c9ca6b3f099ad5cc83beb93e520759991d192bf4b286acdab90c1dbbdf2cf586a30cff45de1d981936be10dbbe8b6a3e02dc1fd779b48c718679 SHA512 4a4fc527e80425b68cfedfda708df4ee5cfc41b194f69d1a187187f03c976f9973aef1b1817b4f31b6544a48af8ba3ddfa9d65a6080a7a5da741283da68555ce -EBUILD kgcc64-14.1.1_p20240511.ebuild 1097 BLAKE2B b6f6157106b65f5a32da5229a2311dfd115d471b1e5e9088ee8b5e5ef5b0a4f94990451d9511ecf01770d176d42dae87236aa058264192bf22ed1de8ee0b7901 SHA512 7328f80e3b2fb2a81883c6854792846bfb1bb7d4823246725ef80094a4c7fb9c8cec4be81d2b620dc84aa5b59ca04344cdd13066047720a04e9e45c736c3e96d -EBUILD kgcc64-14.2.1_p20240817.ebuild 1097 BLAKE2B 31189f96658a12c3b72661a0e4a495585c96d9e866096c2d4a333c0dc2797b40bc6ba4424e7a4d9ba67d7b56632434471991be040a018d4d474a48a557f3a224 SHA512 7c66c1698f90a6fc228804026e82732b4f287937b5bd7f4b587a6ab4b78b11759a87c9896ef3d23f3cfa236987bad73f025cf20be3156d1b5b7e959f6aa32bab +EBUILD kgcc64-10.5.0.ebuild 1062 BLAKE2B 6a33ca69a324f1ecd7ece35a364e10262d25aa66b3a3653aa306b7091a66e3143326f2c59ac9ea594f73daecb35a6a2795d4b0b14c0531671464aa79391341a1 SHA512 980d2fa2334aa3b2688d0dc5e26e803014ab21bdbec5ed7dc168facd28920960b63bd73711ea5c838a9c767f4e187d9c7ba070006d6a7ba1d0d0f0f16610db1d +EBUILD kgcc64-11.4.1_p20240501.ebuild 1063 BLAKE2B c42af580de4a85ee5b3112bfd7b85e0113841083922f4dcf70a7443636dc749a4ff85438682f7daa6d6591ba9042ec3c90bb7f31f78ac3cbb78f613964110890 SHA512 2f6a77d0374a6b90a38e870b9b9422bcc43714ed1202cd210834ad07bd1f03c53abffceea64f940d6b445739d6a9a032fe2a41aecfcc9d0c4d0feb1335e7c422 +EBUILD kgcc64-11.5.0.ebuild 1064 BLAKE2B 3e628ae892013ab224f73df0869fdccc055f21d0561a1e3843d61b692baa1a4c574d4a7f9136355bed44416605bf3f5a3a1c9526bd7f52adc1df29fd79c11f6c SHA512 94b36914ae1a4a728deb24ff07a3bfff71e35ab8a07036303a3fad76ac4382cb5a0ca34dcbe837a9bc206f5bb236a39d874909975cff49b283ca1dfb96f6e28b +EBUILD kgcc64-12.3.1_p20240502.ebuild 1103 BLAKE2B 2bc94c9d19148534f9e26f8341e6b96e15a58f6a49a71c0604b02af050158173fe1188276a7fe8760942940cd1a4bfb0ba381b5a8839bfce61a04a146a5fc130 SHA512 297bd97cafdafee307ebb3965ea94a3086028ef9162dc09559d7f31a01ae305a5fb56dafc4f433903c1ee54aef607223fe6429b10fd337ec99097dc16c9e4144 +EBUILD kgcc64-12.4.0.ebuild 1104 BLAKE2B 930b3449f8423a5b8b2534bc56d58e008aa2172e4ee996d22304eb5c861781b3a962215d418df26f3df568ba4f239866042aa4deeecb03761226fb9fabbbac68 SHA512 83be0aee4c92dcd7bd4d7450fbbb0f95a5ad94052ee7932c10d1440c95c362830ef5896c51d6f2b52324a3ad8a6f430a2e0235254ff606feab431c8ad7fbb8d6 +EBUILD kgcc64-13.2.1_p20240503.ebuild 1062 BLAKE2B 508e20bf8d1a3c823b1ce0292555730dc50b3543f24b7babbd88ffd40f79d16a6925ec2ac8200dbd54ad8d7378dd08146843d87edfdc9e43364764b964013325 SHA512 aea9edf0d985649e19bba1e4e17eb7532b70ec4987d2516f2e163839bf3bf25521fbd81d92b4f93c3769e5870e321535444b78c7a5ea84b350b940dbbc1123a7 +EBUILD kgcc64-13.3.1_p20240614.ebuild 1063 BLAKE2B 639b6d6525ec42645fce24aa978f7378710db0d1138234aa21a7b1278c62cc0d7b5f2def82c566370cec99361f8d3ad60f1d0fccc64f17c1a07babbbbc37ff18 SHA512 44d823dcc3b79810cab2b2bf1513e695eaf117f33775d0ec8eb647603975e90326e0592367342df7f9329f03733bada1252ffa56d3d00f8632be4c0e6672ac37 +EBUILD kgcc64-14.1.1_p20240511.ebuild 1062 BLAKE2B a78638feabb3e1544a4392a6f9d35b654588485df71a664fb7fce1975fbafc760153f41a1ac232cd12757eca23cfe8bc9ebd34a8eafe349cc7ae08a5d69fee1d SHA512 248b7c759ce7559d06c6f7a0ed4cd8c0266c0d9fa1d01c9a33963e3b3ba8608c5d6ffa001cadf85acbeba038548c9b8d5aa2f77068a6eb07aea7b24bbd5d3927 +EBUILD kgcc64-14.2.1_p20240817.ebuild 1062 BLAKE2B 180f65d6ddd55a756f6640b606f26a5e173d9025ab2ed2b68b59c052a35353f6b5eaac1012ff59a4a1b7da626df2a6b5aab3d0ccb01bb193267926eda319f78f SHA512 9e73354478a2510aa53f8201b446868095d6e01da286b6ad93cc3018f61cefddd49d73f8df5f55fe935ea3a468fe9efe57fb2c07e678e04457071bf69c3bb12c MISC metadata.xml 268 BLAKE2B 8482f168e8ebdc914b137d3b41df6840c3478b8898d5278c5d43742538d0edb403505d66583f44b142b094f8735777d79637b69b6fcb3b7cd7026e415eb48e58 SHA512 433cd6a955f0104f3767d50ab08e08e79c8ca4276a56c2cd284692472cf5f19918d1ff22539eedf0232224193c15d6c84198c95647ed390f2b520d05211de721 diff --git a/sys-devel/kgcc64/kgcc64-10.5.0.ebuild b/sys-devel/kgcc64/kgcc64-10.5.0.ebuild index fbde9c9ed90f..2c36a71417c8 100644 --- a/sys-devel/kgcc64/kgcc64-10.5.0.ebuild +++ b/sys-devel/kgcc64/kgcc64-10.5.0.ebuild @@ -20,7 +20,6 @@ PATCH_VER="6" MUSL_VER="2" MUSL_GCC_VER="10.5.0" GCC_TARGET_NO_MULTILIB=true -PYTHON_COMPAT=( python3_{10..12} ) inherit toolchain diff --git a/sys-devel/kgcc64/kgcc64-11.4.1_p20240501.ebuild b/sys-devel/kgcc64/kgcc64-11.4.1_p20240501.ebuild index ffb81657cd1d..932a1026c94e 100644 --- a/sys-devel/kgcc64/kgcc64-11.4.1_p20240501.ebuild +++ b/sys-devel/kgcc64/kgcc64-11.4.1_p20240501.ebuild @@ -20,7 +20,6 @@ PATCH_GCC_VER="11.4.0" PATCH_VER="12" MUSL_VER="2" MUSL_GCC_VER="11.4.0" -PYTHON_COMPAT=( python3_{10..12} ) inherit toolchain DESCRIPTION="64bit kernel compiler" diff --git a/sys-devel/kgcc64/kgcc64-11.5.0.ebuild b/sys-devel/kgcc64/kgcc64-11.5.0.ebuild index 8b9a457d1bdf..6664cd1bfd0c 100644 --- a/sys-devel/kgcc64/kgcc64-11.5.0.ebuild +++ b/sys-devel/kgcc64/kgcc64-11.5.0.ebuild @@ -20,7 +20,6 @@ PATCH_GCC_VER="11.4.0" PATCH_VER="12" MUSL_VER="2" MUSL_GCC_VER="11.4.0" -PYTHON_COMPAT=( python3_{10..12} ) inherit toolchain DESCRIPTION="64bit kernel compiler" diff --git a/sys-devel/kgcc64/kgcc64-12.3.1_p20240502.ebuild b/sys-devel/kgcc64/kgcc64-12.3.1_p20240502.ebuild index 6dd586e62c0a..b224186bda08 100644 --- a/sys-devel/kgcc64/kgcc64-12.3.1_p20240502.ebuild +++ b/sys-devel/kgcc64/kgcc64-12.3.1_p20240502.ebuild @@ -19,7 +19,6 @@ PATCH_GCC_VER="12.3.0" MUSL_VER="1" MUSL_GCC_VER="12.3.0" GCC_TARGET_NO_MULTILIB=true -PYTHON_COMPAT=( python3_{10..12} ) inherit toolchain DESCRIPTION="64bit kernel compiler" diff --git a/sys-devel/kgcc64/kgcc64-12.4.0.ebuild b/sys-devel/kgcc64/kgcc64-12.4.0.ebuild index 61305646587b..4945bcb6d029 100644 --- a/sys-devel/kgcc64/kgcc64-12.4.0.ebuild +++ b/sys-devel/kgcc64/kgcc64-12.4.0.ebuild @@ -19,7 +19,6 @@ PATCH_GCC_VER="12.3.0" MUSL_VER="1" MUSL_GCC_VER="12.3.0" GCC_TARGET_NO_MULTILIB=true -PYTHON_COMPAT=( python3_{10..12} ) inherit toolchain DESCRIPTION="64bit kernel compiler" diff --git a/sys-devel/kgcc64/kgcc64-13.2.1_p20240503.ebuild b/sys-devel/kgcc64/kgcc64-13.2.1_p20240503.ebuild index bb7a651fa2f2..6dc5999d5745 100644 --- a/sys-devel/kgcc64/kgcc64-13.2.1_p20240503.ebuild +++ b/sys-devel/kgcc64/kgcc64-13.2.1_p20240503.ebuild @@ -19,7 +19,6 @@ PATCH_GCC_VER="13.2.0" MUSL_VER="2" MUSL_GCC_VER="13.2.0" GCC_TARGET_NO_MULTILIB=true -PYTHON_COMPAT=( python3_{10..12} ) inherit toolchain DESCRIPTION="64bit kernel compiler" diff --git a/sys-devel/kgcc64/kgcc64-13.3.1_p20240614.ebuild b/sys-devel/kgcc64/kgcc64-13.3.1_p20240614.ebuild index d8efdd71af25..71e23dd24e5e 100644 --- a/sys-devel/kgcc64/kgcc64-13.3.1_p20240614.ebuild +++ b/sys-devel/kgcc64/kgcc64-13.3.1_p20240614.ebuild @@ -19,7 +19,6 @@ PATCH_GCC_VER="13.2.0" MUSL_VER="2" MUSL_GCC_VER="13.2.0" GCC_TARGET_NO_MULTILIB=true -PYTHON_COMPAT=( python3_{10..12} ) inherit toolchain DESCRIPTION="64bit kernel compiler" diff --git a/sys-devel/kgcc64/kgcc64-14.1.1_p20240511.ebuild b/sys-devel/kgcc64/kgcc64-14.1.1_p20240511.ebuild index cc3127938240..295eee8a3965 100644 --- a/sys-devel/kgcc64/kgcc64-14.1.1_p20240511.ebuild +++ b/sys-devel/kgcc64/kgcc64-14.1.1_p20240511.ebuild @@ -19,7 +19,6 @@ PATCH_GCC_VER="14.1.0" MUSL_VER="1" MUSL_GCC_VER="14.1.0" GCC_TARGET_NO_MULTILIB=true -PYTHON_COMPAT=( python3_{10..12} ) inherit toolchain DESCRIPTION="64bit kernel compiler" diff --git a/sys-devel/kgcc64/kgcc64-14.2.1_p20240817.ebuild b/sys-devel/kgcc64/kgcc64-14.2.1_p20240817.ebuild index d3384b00b844..b46d16e1bf8e 100644 --- a/sys-devel/kgcc64/kgcc64-14.2.1_p20240817.ebuild +++ b/sys-devel/kgcc64/kgcc64-14.2.1_p20240817.ebuild @@ -19,7 +19,6 @@ PATCH_GCC_VER="14.1.0" MUSL_VER="1" MUSL_GCC_VER="14.1.0" GCC_TARGET_NO_MULTILIB=true -PYTHON_COMPAT=( python3_{10..12} ) inherit toolchain DESCRIPTION="64bit kernel compiler" diff --git a/sys-devel/lld-toolchain-symlinks/Manifest b/sys-devel/lld-toolchain-symlinks/Manifest index 0f71cf2941f4..054e339b08f5 100644 --- a/sys-devel/lld-toolchain-symlinks/Manifest +++ b/sys-devel/lld-toolchain-symlinks/Manifest @@ -2,6 +2,6 @@ EBUILD lld-toolchain-symlinks-15-r2.ebuild 790 BLAKE2B be95621853ffc4825c59f7375 EBUILD lld-toolchain-symlinks-16-r2.ebuild 803 BLAKE2B 44df85aa21511703bed01f018769dda77696e6c0713ceffa794d36707f764c05c3cdaa34a9c0ff469f97b991c1e4ad51bc7632d0c9ce1e2996a3dfedea319d19 SHA512 891f40206a1f3a1a7ca78bf689d4449aa81813a9baa5c57b5e98af2ada3a4cb53a506a0d13b6b8c59527f5be57862e51056d2b71ba1e736e2ad0310c4ffc187c EBUILD lld-toolchain-symlinks-17.ebuild 810 BLAKE2B 7e8223c2ebffaff98be492ec55a583b341bcd9e6ad8e05ae99a391caafd8684cbc63e1fb7a2604a85570aae69068ec40a89f1b066c86d6ebb7af3fef1059cfd6 SHA512 cdc351cb8e5121821708a043f33ab8de1f9a39603ba8d4a712bbd5d086557da5c4d0cb0625e3bf383877dae7c8b1086359ba07091e4ba1781148ebea39712973 EBUILD lld-toolchain-symlinks-18.ebuild 821 BLAKE2B f5b5034a572a75708c945a24b283e2c7f386ce35f7857817282fcf073ae75a616470775080d956e67e69f77336836904da73cd679c8a6e1a40aa20354046542f SHA512 34f7d9a3c60185c87b6fed1beeb0420c1020cacaa9b64642b01cd6aeb02b51be2abf16511e686dcfb5b4e7f913b11e131e59b371c467c73ecd0adcf4cbcffa70 -EBUILD lld-toolchain-symlinks-19.ebuild 741 BLAKE2B c7fe69e799f612934d3ac376e7f0a082eec89e14718053f99198cce5485036ed6e2c5ddf0bed429dc08c4abccc4e09fc9f9949d3513539ec73e74e0737c4993e SHA512 fe6bfb302233cd66c0a3deaa03687db079cdd5890a59421c80b170ad8a9d87b28def21a638a95acc156a2335c2fd47aefcfcc1b982650c4ed3415ae5a215a040 +EBUILD lld-toolchain-symlinks-19.ebuild 828 BLAKE2B e90487886aad6b5777d387a11166d37e0e6a8fcffc622874565b5b83b7d8cc4b34a94629e4cd8b73a42be4a23c086782162b819981407e679b22d25311900a10 SHA512 900eecafed204c5380577dcaa644f37dab8a07a2edcc0ce19e8d2e7d2119f0e5d4b1270a4c80537fb78df755ce1772b4c160553f8114fc86e06744c73429f126 EBUILD lld-toolchain-symlinks-20.ebuild 741 BLAKE2B c7fe69e799f612934d3ac376e7f0a082eec89e14718053f99198cce5485036ed6e2c5ddf0bed429dc08c4abccc4e09fc9f9949d3513539ec73e74e0737c4993e SHA512 fe6bfb302233cd66c0a3deaa03687db079cdd5890a59421c80b170ad8a9d87b28def21a638a95acc156a2335c2fd47aefcfcc1b982650c4ed3415ae5a215a040 MISC metadata.xml 784 BLAKE2B 044eebb87ddac511186e137d9e255cb3ead2d53aeffafc641cc9a53556b833f06cae439907de8e8ead1090d54f7cc4bcacdbfff52449b6fab5908aa6d354a110 SHA512 50a9ac94efe64f8f6533049f496a19c37e375803ea3920a3729c93f346117ea5b662978570db27e8fffcfaf78f990691c4ab5aaf7dd48a7e2931f713eddedb4b diff --git a/sys-devel/lld-toolchain-symlinks/lld-toolchain-symlinks-19.ebuild b/sys-devel/lld-toolchain-symlinks/lld-toolchain-symlinks-19.ebuild index b85bf912c557..595d1276529a 100644 --- a/sys-devel/lld-toolchain-symlinks/lld-toolchain-symlinks-19.ebuild +++ b/sys-devel/lld-toolchain-symlinks/lld-toolchain-symlinks-19.ebuild @@ -11,6 +11,7 @@ S=${WORKDIR} LICENSE="public-domain" SLOT="${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~arm64-macos" IUSE="multilib-symlinks +native-symlinks" RDEPEND=" diff --git a/sys-devel/lld/Manifest b/sys-devel/lld/Manifest index 27f920fe575e..9651ef148547 100644 --- a/sys-devel/lld/Manifest +++ b/sys-devel/lld/Manifest @@ -9,6 +9,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.0-rc4.src.tar.xz 141255904 BLAKE2B c693dc94aeb4b59ad4a05a426037075449535c398cbc1ae9b4371d42ea0962b267a3be8af93f4fe47b21c11964fbea6e8eb662225e6f79b20bbc35e706588435 SHA512 826978a596b26040124f2ceba858f91031f78faca22f32de2eea1a4d299a849dcb1fffdfb01601adc39d733dd0cdee43b21af05159d45dcebc842f6b6b540ba8 DIST llvm-project-19.1.0-rc4.src.tar.xz.sig 438 BLAKE2B aef02737285d2faa1b21cec1a32fff6e776ac4bb5c4fd6f26d3d1a9b9244ed1fc0a1eb786a444a6549dda8683485f67964b4d4e48393e1780e7938ee0d94348a SHA512 5b9dcbf232229fdd87824bc87d0ad4ebd54127c9288708fb3304166422d378b77a843d7c5d8258850a0de59310c24e65042d636a5314e2af8513627a43bdb6e8 +DIST llvm-project-19.1.0.src.tar.xz 141244872 BLAKE2B 972d028599006d528acdb0ff107b30af8bef247a0f174991646d07f0a47e7d237a5a1700ae668a9f4496295535d688eeeebe550669e78b0775aaab044f5b268e SHA512 396b34886f8442eeb5bc23152e8c2577e834d88f1d21a67829f9ca651b77c5ceb32df4e70c34dc1e6fea24abe45fa00f08502628de25fdbf32864f5b9066d23d +DIST llvm-project-19.1.0.src.tar.xz.sig 438 BLAKE2B b044fcc6f331e75f9340e390ef8a95242a7f74e7c9835e67161fc4dd0ba0a8a5400e8ec4efd0fe50d2a9a9d950d0b37d5c0725868f450619b161a36ebded6a67 SHA512 d596d4942750818f489f114ff953a2b27e220abcf132d4d4ce0d910b73dfc283262507fc35cc0b61363c4af22cb9112dd7a662a89ea4b9667827fa1bde6785ed DIST llvm-project-41f1b467a29d2ca4e35df37c3aa79a0a8c04bc4f.tar.gz 218633363 BLAKE2B 9367923a4257e0ce01cf443eca790a567c6d9224126ebff15849c829f04dbac39aee60de1f28eab71ee4143341105c46466e1983e0f2a1a478e75fd5363a8d02 SHA512 eca094df135f184e2c3a42a3984ac353b7a8286446da80f042aef8047761f5f5cc6eeccb9bff6056ff0ddd1babe31a468e279b028b9618364f88ae9f26053c22 DIST llvm-project-5500e21942f7047344b6fee62d3e08c0ba2f9182.tar.gz 219148250 BLAKE2B 61880a13086c46ac9a9f8326b1e007146afb1662a0a223703fe36a91da230d5708b368f1177e76ac13c1e5a30f620c4ce6346484a0a67a0f011a816bba4d13f9 SHA512 a6d4fcae960b450be2abd2da485cea638b73290b17ceeabf560651d614f55925f86ee6f76a116262d8a1ff70ba699468cb4cf4c32015e26540ba6e47c58db1b7 DIST llvm-project-bece0d7517bd0a036dc8a319514e4a8a5c497dee.tar.gz 218241938 BLAKE2B 7ac08a21ab2899823683dc700bd2f6226e22653f5be553fe0278868f9fa0d8946fabe6aae40f68cfd14e019b1a3795affb64bf41ebcc949394b73a90e7cd019c SHA512 8893512dcbc1171d2c91aeb0aa9e5fd424474c4d6b5215fb1a078dc8757ab2d404b55ed90709e09368e0794c8306f489be8339d5c502dd6c2ef1852e24636e85 @@ -16,6 +18,7 @@ EBUILD lld-15.0.7.ebuild 2269 BLAKE2B 322d5608e3acfb87bfb720646404ed405a3113c4fa EBUILD lld-16.0.6.ebuild 2324 BLAKE2B 9b849aea16a8188e4da4cfcf0c85fb3e997007e1287ec062aee182c7955c7bc78132e761c2611198c7207283fbe930fbee6bdc9a39b922d6d5387bedadaf1b76 SHA512 a7c3d4c1508e5435ba9f6250c6b2fd3157fb4f2c205a6888736f79fa739c59eec3e901927b53af81de3a3c6d4fa5d576be3eaa6ad45c60e5d952ed4ad9706c2f EBUILD lld-17.0.6.ebuild 2363 BLAKE2B 8ebe513b67f3fb8efd981b97c1f77fe5de2065c363c2b9e99b8836983539fe5637b231e8be2a87713d47b48a49bfde77471ad65fa5166b606df476eca6f94fc1 SHA512 fd63e8600e393ecd95a05a28c8ac0d71b12f5aedcf273f432bea1904165b874ee913afff4aab91c2049aa1eb95c239bca217b84150133b2060f95ea66ce1944e EBUILD lld-18.1.8.ebuild 2372 BLAKE2B f60b1b45fe7374c69bf6888892bd643061e22e8c82656aa1118f5f7b9fa6e3f4732cf9d89f833201b6aabc3a256918799d5c5c2a390bb67e09c559a8983e8c0a SHA512 8fb11719d14f1d0ae12ce734f8fcd7e12e14ba899979f0678a7c06dbc3d1e16c5db4ddb0e8e3b739d997e2e7380362b8b4fe7634af418e399a51cb917a4c1e91 +EBUILD lld-19.1.0.ebuild 2379 BLAKE2B a2fa5d5fb54079314d6c15f4707c3b4bc165f3ec9208522e16c3b137146a5252ea924f9c545e6f6a2d983ac5499489f20816f70be7d224ba96066b124a84e4e0 SHA512 f34577a29ff412f9cda3b78ebbf81a5c30189d1c50f7def0a5326ed7636c1edf43ca14b7624f92376be28738a1dcebdea61e6c078de652db141d0d1229c3ae06 EBUILD lld-19.1.0_rc4.ebuild 2293 BLAKE2B 5825f0a471a50ec1d9e7775a82736f6369fa1e99904b30cf068f0092dce44d4e0c2e76fcb21d70b9ecb1756d19e8482a5ac940bdc25c5a1d58c9aee0c21b5d7b SHA512 86226e5f9aea8a87b022b2def7cef707fc7db0f1e026f4965ec64390708f7e2355c3e1ee991487bd0c6f9f17dc2f129a6b7a2b8abbf1e14fe48dd0e4cd73b1fa EBUILD lld-20.0.0.9999.ebuild 2293 BLAKE2B 5825f0a471a50ec1d9e7775a82736f6369fa1e99904b30cf068f0092dce44d4e0c2e76fcb21d70b9ecb1756d19e8482a5ac940bdc25c5a1d58c9aee0c21b5d7b SHA512 86226e5f9aea8a87b022b2def7cef707fc7db0f1e026f4965ec64390708f7e2355c3e1ee991487bd0c6f9f17dc2f129a6b7a2b8abbf1e14fe48dd0e4cd73b1fa EBUILD lld-20.0.0_pre20240830.ebuild 2293 BLAKE2B 5825f0a471a50ec1d9e7775a82736f6369fa1e99904b30cf068f0092dce44d4e0c2e76fcb21d70b9ecb1756d19e8482a5ac940bdc25c5a1d58c9aee0c21b5d7b SHA512 86226e5f9aea8a87b022b2def7cef707fc7db0f1e026f4965ec64390708f7e2355c3e1ee991487bd0c6f9f17dc2f129a6b7a2b8abbf1e14fe48dd0e4cd73b1fa diff --git a/sys-devel/lld/lld-19.1.0.ebuild b/sys-devel/lld/lld-19.1.0.ebuild new file mode 100644 index 000000000000..2cabcdd2ddcf --- /dev/null +++ b/sys-devel/lld/lld-19.1.0.ebuild @@ -0,0 +1,94 @@ +# 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-any-r1 toolchain-funcs + +DESCRIPTION="The LLVM linker (link editor)" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~arm64-macos" +IUSE="debug test zstd" +RESTRICT="!test? ( test )" + +DEPEND=" + ~sys-devel/llvm-${PV}[debug=,zstd=] + sys-libs/zlib:= + zstd? ( app-arch/zstd:= ) +" +RDEPEND=" + ${DEPEND} + !sys-devel/lld:0 +" +BDEPEND=" + sys-devel/llvm:${LLVM_MAJOR} + test? ( + $(python_gen_any_dep ">=dev-python/lit-${PV}[\${PYTHON_USEDEP}]") + ) +" +PDEPEND=" + >=sys-devel/lld-toolchain-symlinks-16-r2:${LLVM_MAJOR} +" + +LLVM_COMPONENTS=( lld cmake libunwind/include/mach-o ) +llvm.org_set_globals + +python_check_deps() { + python_has_version ">=dev-python/lit-${PV}[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_unpack() { + llvm.org_src_unpack + + # Directory ${WORKDIR}/llvm does not exist with USE="-test", + # but LLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" is set below, + # and ${LLVM_MAIN_SRC_DIR}/../libunwind/include is used by build system + # (lld/MachO/CMakeLists.txt) and is expected to be resolvable + # to existent directory ${WORKDIR}/libunwind/include. + mkdir -p "${WORKDIR}/llvm" || die +} + +src_configure() { + llvm_prepend_path "${LLVM_MAJOR}" + + # ODR violations (https://github.com/llvm/llvm-project/issues/83529, bug #922353) + filter-lto + + # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 + use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" + + use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152 + + local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}" + -DBUILD_SHARED_LIBS=ON + -DLLVM_INCLUDE_TESTS=$(usex test) + -DLLVM_ENABLE_ZLIB=FORCE_ON + -DLLVM_ENABLE_ZSTD=$(usex zstd FORCE_ON OFF) + ) + + use test && mycmakeargs+=( + -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit" + -DLLVM_LIT_ARGS="$(get_lit_flags)" + -DPython3_EXECUTABLE="${PYTHON}" + ) + + tc-is-cross-compiler && mycmakeargs+=( + -DLLVM_TABLEGEN_EXE="${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-tblgen" + ) + + cmake_src_configure +} + +src_test() { + local -x LIT_PRESERVES_TMP=1 + cmake_build check-lld +} diff --git a/sys-devel/llvm-common/Manifest b/sys-devel/llvm-common/Manifest index d2cc2408d758..20969e001ca5 100644 --- a/sys-devel/llvm-common/Manifest +++ b/sys-devel/llvm-common/Manifest @@ -8,6 +8,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.0-rc4.src.tar.xz 141255904 BLAKE2B c693dc94aeb4b59ad4a05a426037075449535c398cbc1ae9b4371d42ea0962b267a3be8af93f4fe47b21c11964fbea6e8eb662225e6f79b20bbc35e706588435 SHA512 826978a596b26040124f2ceba858f91031f78faca22f32de2eea1a4d299a849dcb1fffdfb01601adc39d733dd0cdee43b21af05159d45dcebc842f6b6b540ba8 DIST llvm-project-19.1.0-rc4.src.tar.xz.sig 438 BLAKE2B aef02737285d2faa1b21cec1a32fff6e776ac4bb5c4fd6f26d3d1a9b9244ed1fc0a1eb786a444a6549dda8683485f67964b4d4e48393e1780e7938ee0d94348a SHA512 5b9dcbf232229fdd87824bc87d0ad4ebd54127c9288708fb3304166422d378b77a843d7c5d8258850a0de59310c24e65042d636a5314e2af8513627a43bdb6e8 +DIST llvm-project-19.1.0.src.tar.xz 141244872 BLAKE2B 972d028599006d528acdb0ff107b30af8bef247a0f174991646d07f0a47e7d237a5a1700ae668a9f4496295535d688eeeebe550669e78b0775aaab044f5b268e SHA512 396b34886f8442eeb5bc23152e8c2577e834d88f1d21a67829f9ca651b77c5ceb32df4e70c34dc1e6fea24abe45fa00f08502628de25fdbf32864f5b9066d23d +DIST llvm-project-19.1.0.src.tar.xz.sig 438 BLAKE2B b044fcc6f331e75f9340e390ef8a95242a7f74e7c9835e67161fc4dd0ba0a8a5400e8ec4efd0fe50d2a9a9d950d0b37d5c0725868f450619b161a36ebded6a67 SHA512 d596d4942750818f489f114ff953a2b27e220abcf132d4d4ce0d910b73dfc283262507fc35cc0b61363c4af22cb9112dd7a662a89ea4b9667827fa1bde6785ed DIST llvm-project-41f1b467a29d2ca4e35df37c3aa79a0a8c04bc4f.tar.gz 218633363 BLAKE2B 9367923a4257e0ce01cf443eca790a567c6d9224126ebff15849c829f04dbac39aee60de1f28eab71ee4143341105c46466e1983e0f2a1a478e75fd5363a8d02 SHA512 eca094df135f184e2c3a42a3984ac353b7a8286446da80f042aef8047761f5f5cc6eeccb9bff6056ff0ddd1babe31a468e279b028b9618364f88ae9f26053c22 DIST llvm-project-5500e21942f7047344b6fee62d3e08c0ba2f9182.tar.gz 219148250 BLAKE2B 61880a13086c46ac9a9f8326b1e007146afb1662a0a223703fe36a91da230d5708b368f1177e76ac13c1e5a30f620c4ce6346484a0a67a0f011a816bba4d13f9 SHA512 a6d4fcae960b450be2abd2da485cea638b73290b17ceeabf560651d614f55925f86ee6f76a116262d8a1ff70ba699468cb4cf4c32015e26540ba6e47c58db1b7 DIST llvm-project-bece0d7517bd0a036dc8a319514e4a8a5c497dee.tar.gz 218241938 BLAKE2B 7ac08a21ab2899823683dc700bd2f6226e22653f5be553fe0278868f9fa0d8946fabe6aae40f68cfd14e019b1a3795affb64bf41ebcc949394b73a90e7cd019c SHA512 8893512dcbc1171d2c91aeb0aa9e5fd424474c4d6b5215fb1a078dc8757ab2d404b55ed90709e09368e0794c8306f489be8339d5c502dd6c2ef1852e24636e85 @@ -15,6 +17,7 @@ EBUILD llvm-common-15.0.7.ebuild 1014 BLAKE2B da3b7ec6cd3c1e57758312fb9ea25e6933 EBUILD llvm-common-16.0.6.ebuild 1034 BLAKE2B 1e0a0b6cbb746a7eb45e3f553bc949b69314afc3d913cda004d395e7b322c17f976496eed074cf08718dc2d9efa7f3db81dec4f38394fe6ea2b77793b74f4371 SHA512 8fbb211a6b05d24409642fcb00a4fb798499721cc30c4c5fa2df120ed74d9da7286916cf3788ea26f2cb21e334876417b05a4336fedff99e95d1ebe358f8b311 EBUILD llvm-common-17.0.6.ebuild 1034 BLAKE2B 1e0a0b6cbb746a7eb45e3f553bc949b69314afc3d913cda004d395e7b322c17f976496eed074cf08718dc2d9efa7f3db81dec4f38394fe6ea2b77793b74f4371 SHA512 8fbb211a6b05d24409642fcb00a4fb798499721cc30c4c5fa2df120ed74d9da7286916cf3788ea26f2cb21e334876417b05a4336fedff99e95d1ebe358f8b311 EBUILD llvm-common-18.1.8.ebuild 1040 BLAKE2B e48cc3f1b8cb1672859d620d637023ddce71a4a37827108ba2fd9a8eb66660175069e8d77c84549ec7bf843ecfe1ce3e2c8660c439c7acb08601a36fe72b4218 SHA512 626adbcb09088b70167deb3cc956b41cd1deb0321ff7b937faa6ab4d0a9a1ee219e9ed17a4b4233a47578fad528227b5e3d5e93d88db9610463947317e896e26 +EBUILD llvm-common-19.1.0.ebuild 1047 BLAKE2B 195324cff3d34038012504238dfbbdb44fc9a8ff2dc7d2af7165006f0b7a10dfe28439631c601d89e02a304477509ee268653a98a956936c234e3d7520574691 SHA512 00c0448fa43e250ce7a3f1c4fb20312eba3ab860387f33399eb66e50bea5029bc72c1c1f733acaf24f729a6f7b5ee6e6a6308b4532ed1ec135b99c9541c49173 EBUILD llvm-common-19.1.0_rc4.ebuild 925 BLAKE2B 18510f8adb0e892eb63bdbf8a6154f56e23ed026ee6f0bf05bbccbafea843beb228bf57e14b01525fb0b067fdfa897faadbfd61179844a7c397c7f1d3b6fca64 SHA512 0cff75fcbabf14ba1526201d65b79486aefaf559accf5bd479a3643c4351ac997f6d55b2323328fabc4009e887e1cfe70681df5593c62a5b5bbfffb8312ea22d EBUILD llvm-common-20.0.0.9999.ebuild 925 BLAKE2B 18510f8adb0e892eb63bdbf8a6154f56e23ed026ee6f0bf05bbccbafea843beb228bf57e14b01525fb0b067fdfa897faadbfd61179844a7c397c7f1d3b6fca64 SHA512 0cff75fcbabf14ba1526201d65b79486aefaf559accf5bd479a3643c4351ac997f6d55b2323328fabc4009e887e1cfe70681df5593c62a5b5bbfffb8312ea22d EBUILD llvm-common-20.0.0_pre20240830.ebuild 925 BLAKE2B 18510f8adb0e892eb63bdbf8a6154f56e23ed026ee6f0bf05bbccbafea843beb228bf57e14b01525fb0b067fdfa897faadbfd61179844a7c397c7f1d3b6fca64 SHA512 0cff75fcbabf14ba1526201d65b79486aefaf559accf5bd479a3643c4351ac997f6d55b2323328fabc4009e887e1cfe70681df5593c62a5b5bbfffb8312ea22d diff --git a/sys-devel/llvm-common/llvm-common-19.1.0.ebuild b/sys-devel/llvm-common/llvm-common-19.1.0.ebuild new file mode 100644 index 000000000000..7a852f871e36 --- /dev/null +++ b/sys-devel/llvm-common/llvm-common-19.1.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp-common llvm.org + +DESCRIPTION="Common files shared between multiple slots of LLVM" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" +IUSE="emacs" + +RDEPEND=" + !sys-devel/llvm:0 +" +BDEPEND=" + emacs? ( >=app-editors/emacs-23.1:* ) +" + +LLVM_COMPONENTS=( llvm/utils ) +llvm.org_set_globals + +SITEFILE="50llvm-gentoo.el" +BYTECOMPFLAGS="-L emacs" + +src_compile() { + default + + use emacs && elisp-compile emacs/*.el +} + +src_install() { + insinto /usr/share/vim/vimfiles + doins -r vim/*/ + # some users may find it useful + newdoc vim/README README.vim + dodoc vim/vimrc + + if use emacs ; then + elisp-install llvm emacs/*.{el,elc} + elisp-make-site-file "${SITEFILE}" llvm + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/sys-devel/llvm-toolchain-symlinks/Manifest b/sys-devel/llvm-toolchain-symlinks/Manifest index 044d91309bbc..9295e149410b 100644 --- a/sys-devel/llvm-toolchain-symlinks/Manifest +++ b/sys-devel/llvm-toolchain-symlinks/Manifest @@ -4,6 +4,6 @@ EBUILD llvm-toolchain-symlinks-17-r1.ebuild 1129 BLAKE2B 3c1573cee569be660def025 EBUILD llvm-toolchain-symlinks-17.ebuild 1057 BLAKE2B 3d95e74859c18e2c1a12a8f154a5e3f9169534c59be41ae94686b9bbf2d45bec17c92510d6b5b566452583f00c2a3c55e53690a8f542cc5f18d58b2fde96ad30 SHA512 3f6299933d27c024765a9a0fabba33735e4e9468fdbc6568d6fcf3213c7496e3e306bfb6caf24e213614299c842ea50aa3f680a676f4f436f553b67cf3ee3b29 EBUILD llvm-toolchain-symlinks-18-r1.ebuild 1135 BLAKE2B 15f32f393f8960527f4acf5ff4cb24c729f144067f5a21fa6f6e8566780e6a1ac4d3bd97b1caff07af63c68e77688f320a6083a0518666838d958a154c9d3221 SHA512 c7cc4c6a3b96c58b7a463760113464d99ba19b350ee56abbf3af7dab3a3a02154884a4570c0633456522d9174b5071823e1d7fc80ebfba5a0557bef196729ca5 EBUILD llvm-toolchain-symlinks-18.ebuild 1063 BLAKE2B 57ef47a9badff27dae86846e611b1706ae7aa339d29de6a8fe08c93bcad75e9fd3950d8b394e4e3fdc33ed1ff7da5c4e71f5d6448cd1be58e5d5d1e31202aa7c SHA512 9eb6afe7f7fcc1bf290d35f6f65162e6bb090a295968c18e5ccfcf6937a5d76e3a3af9ac06210f807e026cff3894b84c1c4085566fb10f0665b39dab5c946f14 -EBUILD llvm-toolchain-symlinks-19.ebuild 1013 BLAKE2B 2b3fdc3537caf4b979a9209cad1430cec3c8e064a5ce58579da5a2fc0032e719eb93144156ffc16209483c9f2deed3cd027c1c7808e3a93085bf464bc87477ff SHA512 0c938188f08bba5f123449f7edf057c09b2da6bb408a6fd9f6cc8d465fe8afe652d742279f861574121e89bec7bc6909cfaeba21cd1e726a8edd27c89045e918 +EBUILD llvm-toolchain-symlinks-19.ebuild 1135 BLAKE2B 15f32f393f8960527f4acf5ff4cb24c729f144067f5a21fa6f6e8566780e6a1ac4d3bd97b1caff07af63c68e77688f320a6083a0518666838d958a154c9d3221 SHA512 c7cc4c6a3b96c58b7a463760113464d99ba19b350ee56abbf3af7dab3a3a02154884a4570c0633456522d9174b5071823e1d7fc80ebfba5a0557bef196729ca5 EBUILD llvm-toolchain-symlinks-20.ebuild 1007 BLAKE2B 53719df286b75b0611566afd5b14a74ecba82f2d68a4dc01e6618ed26cc8ee49104ff9a419a3e05109d15ec132ea1aba04fccc2d055150ccbcde95a6e1850378 SHA512 8f28cb79c342632d6f4dc6fd774277f11aacf4df2cb2e82ab06941b551defee494e15bf480a065374ea6b4fe1175793bd38cb4311f1ec2c78858e070e6f6e3eb MISC metadata.xml 815 BLAKE2B 963f1b8425495144d04659d2d8cdabab910f15f9861634bf436a82ccb70b27682b44c47415ca6884956097e92294457d09b5c44e7a2f108c93abb79df8884aa7 SHA512 940a6c63c4c13a1c78c041c02df9bd3d2ac0f19eb552fcfb8134784386a2197956b1dd4950c760ca6ac9e8fb154eb550d59fc6ab1aea9c9236e7e005882d556a diff --git a/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-19.ebuild b/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-19.ebuild index 60b627fbf393..0f622a6f7cbb 100644 --- a/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-19.ebuild +++ b/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-19.ebuild @@ -11,6 +11,7 @@ S=${WORKDIR} LICENSE="public-domain" SLOT="${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" IUSE="multilib-symlinks +native-symlinks" RDEPEND=" diff --git a/sys-devel/llvm/Manifest b/sys-devel/llvm/Manifest index 0e25fdf2a05f..e5d97b3ae5b9 100644 --- a/sys-devel/llvm/Manifest +++ b/sys-devel/llvm/Manifest @@ -4,6 +4,7 @@ DIST llvm-17.0.1-manpages.tar.bz2 263148 BLAKE2B 6485a261e356eacc4a274f9b8d329b5 DIST llvm-18.1.0-manpages.tar.bz2 270429 BLAKE2B d85d6e23197184dc512019c25805af0aa145eefb4c36215807c1ba70ad47943c05c06dbaafd84a7e6487bdd83814e03277374e095d97b129e3fc8d468c10741c SHA512 5f492c85fad4e04e0148ea509f4b6520de9e2765c51e617363a11aa8e47c2d847f6b0897958ca1d93bccf0f6a9150868b7e04c728bd430c05bf2da30bdeba6cc DIST llvm-gentoo-patchset-15.0.7-r3.tar.xz 24268 BLAKE2B 6531ae385ecea87bc26dba8ce19b4cde8ff224c80fd81f04c6ded131e305ecfdeb8d29ebd3b68a641d240805dc83eb0ebc7cc85124f02ad0ee66e0f201b91d7e SHA512 66cb33f8b423736b990fb75d4f2d1e5f14c0b03308f403297204dd1a352d72f85f34220fd66d3de5d6df328cdf2ffce03c2a111cb0bb57791cf68a88069ac7df DIST llvm-gentoo-patchset-15.0.7-r6.tar.xz 25208 BLAKE2B c9fca31a053ee059c3060a94dcf675d472fc1a59b5f927648de58fb4ff20bfc229890f789ed47b3d053bd466b860a0c60a53b4b024a8fe18c776e9a72434d6de SHA512 601cd923711839dca7cb5bfea53ded644777c6340265a797939a53409fd2ca27059a015fd6ca6832e60314699ade27919a9a59dab395cc27f8fdc479a0f3c034 +DIST llvm-gentoo-patchset-15.0.7-r7.tar.xz 26012 BLAKE2B a3b6059e18e1347b1da18ef6eb66e12de8980d1fe6b7e92189dd1ce36b16e31d940e45e5f99bd53c30a5780c26ff0686adf5373d3469b8a9b3c5f44d83827832 SHA512 3eb7c36793a6fa0ff585a7732287f6a14141e6c9c9a20b37390303d46372ee9d9a768597e64c77de0731d9aa4c26295f26b36bbc26c69dfbd8ab14cb2564a171 DIST llvm-gentoo-patchset-16.0.6-r5.tar.xz 19728 BLAKE2B 36b605401893034b2b560d26cfb57512c81eddbc35b25d9c3d1fe051b8825c38cae1b8ed999faf8fef564ca5578402d3979bc56ba0a5514dc62594d893696f41 SHA512 20a36b69dfc2b4796ce33318a28529ebdc213945ee67a983e4218117d2ee2c93be1ecb38b0e8189249c5806a442cba708e0890e1b7bf6376edec4403bcc71425 DIST llvm-gentoo-patchset-16.0.6.tar.xz 17340 BLAKE2B 37cdf4b38367b4256d4f7a25d1b4f41758e5f81be8e20a1c94a10d6c5e36642e9672121b455e73a0bac2eb40467ef2db4b43789b2912a6790593d97b8b5c27e3 SHA512 2c02b9d8a4c5af9fddcd26c95dc66fffae32cb5b7f85c65a1aa4ed00dd8cd5b01cc1975a711aee63c0b8b11e9dc20f2bc05ea753904eb516892b820f02aff825 DIST llvm-gentoo-patchset-17.0.6-r2.tar.xz 3664 BLAKE2B b3d61090bec41469027115f1a7b9c51ff2cd720a5363c755da7c87c120e4c85b5a2b4d65b95e418f15d947e580824d267a5ee86336f2d9272e58ec24fa2acaf7 SHA512 4be3d2fefce3f5b6b8f64632ff47a53d4de8a20b276e538527ba01a1a663c2846e1eba28fdd70364e583884618d94ee774791b1ca03fdda1fef8110b664e506c @@ -21,11 +22,14 @@ 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.0-rc4.src.tar.xz 141255904 BLAKE2B c693dc94aeb4b59ad4a05a426037075449535c398cbc1ae9b4371d42ea0962b267a3be8af93f4fe47b21c11964fbea6e8eb662225e6f79b20bbc35e706588435 SHA512 826978a596b26040124f2ceba858f91031f78faca22f32de2eea1a4d299a849dcb1fffdfb01601adc39d733dd0cdee43b21af05159d45dcebc842f6b6b540ba8 DIST llvm-project-19.1.0-rc4.src.tar.xz.sig 438 BLAKE2B aef02737285d2faa1b21cec1a32fff6e776ac4bb5c4fd6f26d3d1a9b9244ed1fc0a1eb786a444a6549dda8683485f67964b4d4e48393e1780e7938ee0d94348a SHA512 5b9dcbf232229fdd87824bc87d0ad4ebd54127c9288708fb3304166422d378b77a843d7c5d8258850a0de59310c24e65042d636a5314e2af8513627a43bdb6e8 +DIST llvm-project-19.1.0.src.tar.xz 141244872 BLAKE2B 972d028599006d528acdb0ff107b30af8bef247a0f174991646d07f0a47e7d237a5a1700ae668a9f4496295535d688eeeebe550669e78b0775aaab044f5b268e SHA512 396b34886f8442eeb5bc23152e8c2577e834d88f1d21a67829f9ca651b77c5ceb32df4e70c34dc1e6fea24abe45fa00f08502628de25fdbf32864f5b9066d23d +DIST llvm-project-19.1.0.src.tar.xz.sig 438 BLAKE2B b044fcc6f331e75f9340e390ef8a95242a7f74e7c9835e67161fc4dd0ba0a8a5400e8ec4efd0fe50d2a9a9d950d0b37d5c0725868f450619b161a36ebded6a67 SHA512 d596d4942750818f489f114ff953a2b27e220abcf132d4d4ce0d910b73dfc283262507fc35cc0b61363c4af22cb9112dd7a662a89ea4b9667827fa1bde6785ed DIST llvm-project-41f1b467a29d2ca4e35df37c3aa79a0a8c04bc4f.tar.gz 218633363 BLAKE2B 9367923a4257e0ce01cf443eca790a567c6d9224126ebff15849c829f04dbac39aee60de1f28eab71ee4143341105c46466e1983e0f2a1a478e75fd5363a8d02 SHA512 eca094df135f184e2c3a42a3984ac353b7a8286446da80f042aef8047761f5f5cc6eeccb9bff6056ff0ddd1babe31a468e279b028b9618364f88ae9f26053c22 DIST llvm-project-5500e21942f7047344b6fee62d3e08c0ba2f9182.tar.gz 219148250 BLAKE2B 61880a13086c46ac9a9f8326b1e007146afb1662a0a223703fe36a91da230d5708b368f1177e76ac13c1e5a30f620c4ce6346484a0a67a0f011a816bba4d13f9 SHA512 a6d4fcae960b450be2abd2da485cea638b73290b17ceeabf560651d614f55925f86ee6f76a116262d8a1ff70ba699468cb4cf4c32015e26540ba6e47c58db1b7 DIST llvm-project-bece0d7517bd0a036dc8a319514e4a8a5c497dee.tar.gz 218241938 BLAKE2B 7ac08a21ab2899823683dc700bd2f6226e22653f5be553fe0278868f9fa0d8946fabe6aae40f68cfd14e019b1a3795affb64bf41ebcc949394b73a90e7cd019c SHA512 8893512dcbc1171d2c91aeb0aa9e5fd424474c4d6b5215fb1a078dc8757ab2d404b55ed90709e09368e0794c8306f489be8339d5c502dd6c2ef1852e24636e85 EBUILD llvm-15.0.7-r3.ebuild 12592 BLAKE2B 81cd473990810203c4e8a47ceb0189ed399c869b85fab3181724dbd1429063cdaad1f6b6cb1ab5b392f531b0b4907cc61f266558b873b236f9a3ff439045aa37 SHA512 2321f9e6da93af22d5f074175a6a92b7dcd271e2b9b92128d268dd777a9c3bdd876010740153734e2593b90d26a58d4f784b2256a6b1e18160d13b3c10441fb3 EBUILD llvm-15.0.7-r6.ebuild 12599 BLAKE2B e180c4c343c9ca4e0a69118676cbdfd0787ace210fd638db0cb6a115b05dd1e10142c6dfb088c2d195f340cc81c3b997542c5957bf784ff4df1e7e577d24f440 SHA512 3f3b5a67a2188ae5063a9080abfc9be468a0ced00d2ef865c9ccef9a363d39f781b2be45743bc676dfcb738a3d2894c7e307588ecc7768394d2e11574d82b167 +EBUILD llvm-15.0.7-r7.ebuild 12599 BLAKE2B 1944e6a99f5eb6d303f3d05495378956c0022076b63507cbae1a546938e8e2c2ef71c32c6323469a2d7b69d2b269a72a408723198d03fbfff5f15bb3f654ed82 SHA512 ba608bfeceddefee6834b110a538b176ba1b31135a7be939fae86dadb2de51324e653ccb2f27bf5aa93223722c21f176586f2865fc85771ce35f9dc33b259a44 EBUILD llvm-16.0.6-r5.ebuild 12832 BLAKE2B c63736426def1e30266dc43dba9c6b2d47767fde332b0165f53beaec85bed33a2f3cf0cc8f213769bb3167060ea8f940f82a645dd7e2ead39e9c5efad2d59a17 SHA512 33003aa6e8e55a2696c2b0831b83a1bfe947ce25b9b5c6d9035d085f016c134e8f549a28c26a47854fb07e3735432848377f0a50d26654b4bef209e6e63b15f6 EBUILD llvm-16.0.6.ebuild 12822 BLAKE2B fe0a8bca0506827f09ea9edc18e8574443af644540cec84126fa3668ca8fa538a103c76315ee7c61b0af67a1391168ae7b04201e7825958a46fe8642a327e93b SHA512 a1a861d11791cb583dc33b9c71a86bd50690ffb8b743a6bccf8b4600976f48e96a2b4171cc9b449c17c8b0516ef440cee89df8cff97a3c691968b3431a149612 EBUILD llvm-17.0.6-r2.ebuild 13303 BLAKE2B 292bff5aa3489c685c2a89ba55a6e4d0c06123cfcf6986c934494b1bc28a93f8768f8cac04f86eca44595167b6ce8b0c84548db45c4e810bdbbfb3f42660048a SHA512 2a7c8fb5a691acc9293c7bd39b2c7e0354420556ae7d9a02df35e550f2668063d690e9f8453da22f76cfe1e39132ba4af8e95112f4de8e8486521d8c5e81dfd6 @@ -33,6 +37,7 @@ EBUILD llvm-17.0.6-r3.ebuild 13303 BLAKE2B 82441400486b9478d70bdff84a96ba576d52f EBUILD llvm-17.0.6.ebuild 13293 BLAKE2B 50e4212c63f1561f4fc8397a831f83bd3ea370349fa3b6239dfe2f9212757f6e8d5bb1921b8714680fe94d0f02ca523d289447b1396124aa94f91b539aabb17a SHA512 5b2b1d2293cf00d0c547a06111a0af706b2cad1f7cb5f2cc421f54a129c165560adbba4342d9bea486d5b2474a1eed066f1ae955a89133cd94b61a62313980bb EBUILD llvm-18.1.8-r1.ebuild 13372 BLAKE2B cb78f1c21e29ec1987c52edeebdc3d0200ec0b6f5d4b6443b2fd62eda6e3cafcc4bf849cd0bd1112f899904f3816970f5f4672f9c7a51f400bb39ce924d023d4 SHA512 9246e225b934b64e982c3d4399faea476871845616f979fa6d7eed832a75f879d611f85a29e04ca768bd6690945f24a3e7eebdbe8b81f156299b37965944ec91 EBUILD llvm-18.1.8-r4.ebuild 13382 BLAKE2B 2d52ad708ed578868b700b97cc581ea732147219b9b71d4ced6dbe2553054e2524ba0971e051934b610d5aaa4e6a164e14c56be9961637349b37d9bafa97916b SHA512 4e67d7e9ceb174d8b9135e330ff5371e385d0253f6d8f6c7058840de7dc7819a5711670fa6ca0b487d9f4985de20987c0d69ee1809e131fbea029029643da475 +EBUILD llvm-19.1.0.ebuild 13162 BLAKE2B 293856e63ed74df233a0e31d0d143ad7c950dfcdda8af786994352dc75448d3eeb5ef1b7d52e8abb4f2f7cc6864874eedd4e2d295bc5227b03a74429331d22be SHA512 7c21b5d6266b2c00cd194293ca863804de05b816d1e8391ace2beb09477781d63238c80ed303b921c16a26467a3b44a0acafe44c8cc8987da6ba932a1a019bb2 EBUILD llvm-19.1.0_rc4.ebuild 13041 BLAKE2B 914b33f85966c0b7ce92bc3ada3219ab7f670af431a69272b5a5b4bc95adc94e8fa8c1da360f0d0ba24a53122e2649beb20b7938d1ecab75db12ea900e65ac23 SHA512 855ef1af58a4288b23604850d1e45742e1ea9e2f584917da7bb41fce5a025d470d344896a376a9a78fe97362607e8a7266b9f76834379b86b8ca6c6b680ad798 EBUILD llvm-20.0.0.9999.ebuild 13152 BLAKE2B 8b157cde59f8cddf7393d5db87992e7154bb733eae7c13cfbd28a195ba0d40ccaa00b5264ba00d1c5d9be452e7d6251c74ecd38a97f49a2ac5b108392de1f2de SHA512 51b5728a89f5ff7d92af282e3b914276ddcd5e301a87d3c73f4504739cad16442271aa404c29b9cf6a0dffabf19ff0ef56c9617e5dfd333dec50118afdadce5c EBUILD llvm-20.0.0_pre20240830.ebuild 13152 BLAKE2B 8b157cde59f8cddf7393d5db87992e7154bb733eae7c13cfbd28a195ba0d40ccaa00b5264ba00d1c5d9be452e7d6251c74ecd38a97f49a2ac5b108392de1f2de SHA512 51b5728a89f5ff7d92af282e3b914276ddcd5e301a87d3c73f4504739cad16442271aa404c29b9cf6a0dffabf19ff0ef56c9617e5dfd333dec50118afdadce5c diff --git a/sys-devel/llvm/llvm-15.0.7-r7.ebuild b/sys-devel/llvm/llvm-15.0.7-r7.ebuild new file mode 100644 index 000000000000..ecff8b6dcb9b --- /dev/null +++ b/sys-devel/llvm/llvm-15.0.7-r7.ebuild @@ -0,0 +1,520 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +inherit cmake flag-o-matic llvm.org multilib-minimal pax-utils python-any-r1 \ + toolchain-funcs + +DESCRIPTION="Low Level Virtual Machine" +HOMEPAGE="https://llvm.org/" + +# Additional licenses: +# 1. OpenBSD regex: Henry Spencer's license ('rc' in Gentoo) + BSD. +# 2. xxhash: BSD. +# 3. MD5 code: public-domain. +# 4. ConvertUTF.h: TODO. + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA BSD public-domain rc" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos" +IUSE=" + +binutils-plugin debug doc exegesis libedit +libffi ncurses test xar + xml z3 zstd +" +RESTRICT="!test? ( test )" + +RDEPEND=" + sys-libs/zlib:0=[${MULTILIB_USEDEP}] + exegesis? ( dev-libs/libpfm:= ) + libedit? ( dev-libs/libedit:0=[${MULTILIB_USEDEP}] ) + libffi? ( >=dev-libs/libffi-3.0.13-r1:0=[${MULTILIB_USEDEP}] ) + ncurses? ( >=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}] ) + xar? ( app-arch/xar ) + xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) + z3? ( >=sci-mathematics/z3-4.7.1:0=[${MULTILIB_USEDEP}] ) + zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] ) +" +DEPEND=" + ${RDEPEND} + binutils-plugin? ( sys-libs/binutils-libs ) +" +BDEPEND=" + ${PYTHON_DEPS} + dev-lang/perl + sys-devel/gnuconfig + kernel_Darwin? ( + <sys-libs/libcxx-${LLVM_VERSION}.9999 + >=sys-devel/binutils-apple-5.1 + ) + doc? ( $(python_gen_any_dep ' + dev-python/recommonmark[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ') ) + libffi? ( virtual/pkgconfig ) +" +# There are no file collisions between these versions but having :0 +# installed means llvm-config there will take precedence. +RDEPEND=" + ${RDEPEND} + !sys-devel/llvm:0 +" +PDEPEND=" + sys-devel/llvm-common + sys-devel/llvm-toolchain-symlinks:${LLVM_MAJOR} + binutils-plugin? ( >=sys-devel/llvmgold-${LLVM_MAJOR} ) +" + +LLVM_COMPONENTS=( llvm cmake third-party ) +LLVM_MANPAGES=1 +LLVM_PATCHSET=${PV/_/-}-r7 +LLVM_USE_TARGETS=provide +llvm.org_set_globals + +python_check_deps() { + use doc || return 0 + + python_has_version -b "dev-python/recommonmark[${PYTHON_USEDEP}]" && + python_has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" +} + +check_uptodate() { + local prod_targets=( + $(sed -n -e '/set(LLVM_ALL_TARGETS/,/)/p' CMakeLists.txt \ + | tail -n +2 | head -n -1) + ) + local all_targets=( + lib/Target/*/ + ) + all_targets=( "${all_targets[@]#lib/Target/}" ) + all_targets=( "${all_targets[@]%/}" ) + + local exp_targets=() i + for i in "${all_targets[@]}"; do + has "${i}" "${prod_targets[@]}" || exp_targets+=( "${i}" ) + done + + if [[ ${exp_targets[*]} != ${ALL_LLVM_EXPERIMENTAL_TARGETS[*]} ]]; then + eqawarn "ALL_LLVM_EXPERIMENTAL_TARGETS is outdated!" + eqawarn " Have: ${ALL_LLVM_EXPERIMENTAL_TARGETS[*]}" + eqawarn "Expected: ${exp_targets[*]}" + eqawarn + fi + + if [[ ${prod_targets[*]} != ${ALL_LLVM_PRODUCTION_TARGETS[*]} ]]; then + eqawarn "ALL_LLVM_PRODUCTION_TARGETS is outdated!" + eqawarn " Have: ${ALL_LLVM_PRODUCTION_TARGETS[*]}" + eqawarn "Expected: ${prod_targets[*]}" + fi +} + +check_distribution_components() { + if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then + local all_targets=() my_targets=() l + cd "${BUILD_DIR}" || die + + while read -r l; do + if [[ ${l} == install-*-stripped:* ]]; then + l=${l#install-} + l=${l%%-stripped*} + + case ${l} in + # shared libs + LLVM|LLVMgold) + ;; + # TableGen lib + deps + LLVMDemangle|LLVMSupport|LLVMTableGen) + ;; + # static libs + LLVM*) + continue + ;; + # meta-targets + distribution|llvm-libraries) + continue + ;; + # used only w/ USE=doc + docs-llvm-html) + use doc || continue + ;; + esac + + all_targets+=( "${l}" ) + fi + done < <(${NINJA} -t targets all) + + while read -r l; do + my_targets+=( "${l}" ) + done < <(get_distribution_components $"\n") + + local add=() remove=() + for l in "${all_targets[@]}"; do + if ! has "${l}" "${my_targets[@]}"; then + add+=( "${l}" ) + fi + done + for l in "${my_targets[@]}"; do + if ! has "${l}" "${all_targets[@]}"; then + remove+=( "${l}" ) + fi + done + + if [[ ${#add[@]} -gt 0 || ${#remove[@]} -gt 0 ]]; then + eqawarn "get_distribution_components() is outdated!" + eqawarn " Add: ${add[*]}" + eqawarn "Remove: ${remove[*]}" + fi + cd - >/dev/null || die + fi +} + +src_prepare() { + # disable use of SDK on OSX, bug #568758 + sed -i -e 's/xcrun/false/' utils/lit/lit/util.py || die + + # Update config.guess to support more systems + cp "${BROOT}/usr/share/gnuconfig/config.guess" cmake/ || die + + # Verify that the ebuild is up-to-date + check_uptodate + + llvm.org_src_prepare +} + +get_distribution_components() { + local sep=${1-;} + + local out=( + # shared libs + LLVM + LTO + Remarks + + # tools + llvm-config + + # common stuff + cmake-exports + llvm-headers + + # libraries needed for clang-tblgen + LLVMDemangle + LLVMSupport + LLVMTableGen + ) + + if multilib_is_native_abi; then + out+=( + # utilities + llvm-tblgen + FileCheck + llvm-PerfectShuffle + count + not + yaml-bench + UnicodeNameMappingGenerator + + # tools + bugpoint + dsymutil + llc + lli + lli-child-target + llvm-addr2line + llvm-ar + llvm-as + llvm-bcanalyzer + llvm-bitcode-strip + llvm-c-test + llvm-cat + llvm-cfi-verify + llvm-config + llvm-cov + llvm-cvtres + llvm-cxxdump + llvm-cxxfilt + llvm-cxxmap + llvm-debuginfod + llvm-debuginfod-find + llvm-diff + llvm-dis + llvm-dlltool + llvm-dwarfdump + llvm-dwarfutil + llvm-dwp + llvm-exegesis + llvm-extract + llvm-gsymutil + llvm-ifs + llvm-install-name-tool + llvm-jitlink + llvm-jitlink-executor + llvm-lib + llvm-libtool-darwin + llvm-link + llvm-lipo + llvm-lto + llvm-lto2 + llvm-mc + llvm-mca + llvm-ml + llvm-modextract + llvm-mt + llvm-nm + llvm-objcopy + llvm-objdump + llvm-opt-report + llvm-otool + llvm-pdbutil + llvm-profdata + llvm-profgen + llvm-ranlib + llvm-rc + llvm-readelf + llvm-readobj + llvm-reduce + llvm-remark-size-diff + llvm-rtdyld + llvm-sim + llvm-size + llvm-split + llvm-stress + llvm-strings + llvm-strip + llvm-symbolizer + llvm-tapi-diff + llvm-tli-checker + llvm-undname + llvm-windres + llvm-xray + obj2yaml + opt + sancov + sanstats + split-file + verify-uselistorder + yaml2obj + + # python modules + opt-viewer + ) + + if llvm_are_manpages_built; then + out+=( + # manpages + docs-dsymutil-man + docs-llvm-dwarfdump-man + docs-llvm-man + ) + fi + use doc && out+=( + docs-llvm-html + ) + + use binutils-plugin && out+=( + LLVMgold + ) + fi + + printf "%s${sep}" "${out[@]}" +} + +multilib_src_configure() { + if use ppc && tc-is-gcc && [[ $(gcc-major-version) -lt 14 ]]; then + # Workaround for bug #880677 + append-flags $(test-flags-CXX -fno-ipa-sra -fno-ipa-modref -fno-ipa-icf) + fi + + # ODR violations (bug #917536, bug #926529). Just do it for GCC for now + # to avoid people grumbling. GCC is, anecdotally, more likely to miscompile + # LLVM with LTO anyway (which is not necessarily its fault). + tc-is-gcc && filter-lto + + local ffi_cflags ffi_ldflags + if use libffi; then + ffi_cflags=$($(tc-getPKG_CONFIG) --cflags-only-I libffi) + ffi_ldflags=$($(tc-getPKG_CONFIG) --libs-only-L libffi) + fi + + local libdir=$(get_libdir) + local mycmakeargs=( + # disable appending VCS revision to the version to improve + # direct cache hit ratio + -DLLVM_APPEND_VC_REV=OFF + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}" + -DLLVM_LIBDIR_SUFFIX=${libdir#lib} + + -DBUILD_SHARED_LIBS=OFF + -DLLVM_BUILD_LLVM_DYLIB=ON + -DLLVM_LINK_LLVM_DYLIB=ON + -DLLVM_DISTRIBUTION_COMPONENTS=$(get_distribution_components) + + # cheap hack: LLVM combines both anyway, and the only difference + # is that the former list is explicitly verified at cmake time + -DLLVM_TARGETS_TO_BUILD="" + -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}" + -DLLVM_BUILD_TESTS=$(usex test) + + -DLLVM_ENABLE_FFI=$(usex libffi) + -DLLVM_ENABLE_LIBEDIT=$(usex libedit) + -DLLVM_ENABLE_TERMINFO=$(usex ncurses) + -DLLVM_ENABLE_LIBXML2=$(usex xml) + -DLLVM_ENABLE_ASSERTIONS=$(usex debug) + -DLLVM_ENABLE_LIBPFM=$(usex exegesis) + -DLLVM_ENABLE_EH=ON + -DLLVM_ENABLE_RTTI=ON + -DLLVM_ENABLE_Z3_SOLVER=$(usex z3) + -DLLVM_ENABLE_ZLIB=FORCE_ON + -DLLVM_ENABLE_ZSTD=$(usex zstd FORCE_ON OFF) + + -DLLVM_HOST_TRIPLE="${CHOST}" + + -DFFI_INCLUDE_DIR="${ffi_cflags#-I}" + -DFFI_LIBRARY_DIR="${ffi_ldflags#-L}" + # used only for llvm-objdump tool + -DLLVM_HAVE_LIBXAR=$(multilib_native_usex xar 1 0) + + -DPython3_EXECUTABLE="${PYTHON}" + + # disable OCaml bindings (now in dev-ml/llvm-ocaml) + -DOCAMLFIND=NO + ) + + if [[ $(tc-get-cxx-stdlib) == libc++ ]]; then + # Smart hack: alter version suffix -> SOVERSION when linking + # against libc++. This way we won't end up mixing LLVM libc++ + # libraries with libstdc++ clang, and the other way around. + mycmakeargs+=( + -DLLVM_VERSION_SUFFIX="libcxx" + -DLLVM_ENABLE_LIBCXX=ON + ) + fi + +# Note: go bindings have no CMake rules at the moment +# but let's kill the check in case they are introduced +# if ! multilib_is_native_abi || ! use go; then + mycmakeargs+=( + -DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND + ) +# fi + + use test && mycmakeargs+=( + -DLLVM_LIT_ARGS="$(get_lit_flags)" + ) + + if multilib_is_native_abi; then + local build_docs=OFF + if llvm_are_manpages_built; then + build_docs=ON + mycmakeargs+=( + -DCMAKE_INSTALL_MANDIR="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/share/man" + -DLLVM_INSTALL_SPHINX_HTML_DIR="${EPREFIX}/usr/share/doc/${PF}/html" + -DSPHINX_WARNINGS_AS_ERRORS=OFF + ) + fi + + mycmakeargs+=( + -DLLVM_BUILD_DOCS=${build_docs} + -DLLVM_ENABLE_OCAMLDOC=OFF + -DLLVM_ENABLE_SPHINX=${build_docs} + -DLLVM_ENABLE_DOXYGEN=OFF + -DLLVM_INSTALL_UTILS=ON + ) + use binutils-plugin && mycmakeargs+=( + -DLLVM_BINUTILS_INCDIR="${EPREFIX}"/usr/include + ) + fi + + if tc-is-cross-compiler; then + local tblgen="${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-tblgen" + [[ -x "${tblgen}" ]] \ + || die "${tblgen} not found or usable" + mycmakeargs+=( + -DCMAKE_CROSSCOMPILING=ON + -DLLVM_TABLEGEN="${tblgen}" + ) + fi + + # LLVM can have very high memory consumption while linking, + # exhausting the limit on 32-bit linker executable + use x86 && local -x LDFLAGS="${LDFLAGS} -Wl,--no-keep-memory" + + # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 + use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" + cmake_src_configure + + grep -q -E "^CMAKE_PROJECT_VERSION_MAJOR(:.*)?=${LLVM_MAJOR}$" \ + CMakeCache.txt || + die "Incorrect version, did you update _LLVM_MASTER_MAJOR?" + multilib_is_native_abi && check_distribution_components +} + +multilib_src_compile() { + tc-env_build cmake_build distribution + + pax-mark m "${BUILD_DIR}"/bin/llvm-rtdyld + pax-mark m "${BUILD_DIR}"/bin/lli + pax-mark m "${BUILD_DIR}"/bin/lli-child-target + + if use test; then + pax-mark m "${BUILD_DIR}"/unittests/ExecutionEngine/Orc/OrcJITTests + pax-mark m "${BUILD_DIR}"/unittests/ExecutionEngine/MCJIT/MCJITTests + pax-mark m "${BUILD_DIR}"/unittests/Support/SupportTests + fi +} + +multilib_src_test() { + # respect TMPDIR! + local -x LIT_PRESERVES_TMP=1 + cmake_build check +} + +src_install() { + local MULTILIB_CHOST_TOOLS=( + /usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-config + ) + + local MULTILIB_WRAPPED_HEADERS=( + /usr/include/llvm/Config/llvm-config.h + ) + + local LLVM_LDPATHS=() + multilib-minimal_src_install + + # move wrapped headers back + mv "${ED}"/usr/include "${ED}"/usr/lib/llvm/${LLVM_MAJOR}/include || die +} + +multilib_src_install() { + DESTDIR=${D} cmake_build install-distribution + + # move headers to /usr/include for wrapping + rm -rf "${ED}"/usr/include || die + mv "${ED}"/usr/lib/llvm/${LLVM_MAJOR}/include "${ED}"/usr/include || die + + LLVM_LDPATHS+=( "${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)" ) +} + +multilib_src_install_all() { + local revord=$(( 9999 - ${LLVM_MAJOR} )) + newenvd - "60llvm-${revord}" <<-_EOF_ + PATH="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/bin" + # we need to duplicate it in ROOTPATH for Portage to respect... + ROOTPATH="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/bin" + MANPATH="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/share/man" + LDPATH="$( IFS=:; echo "${LLVM_LDPATHS[*]}" )" + _EOF_ + + docompress "/usr/lib/llvm/${LLVM_MAJOR}/share/man" + llvm_install_manpages +} + +pkg_postinst() { + elog "You can find additional opt-viewer utility scripts in:" + elog " ${EROOT}/usr/lib/llvm/${LLVM_MAJOR}/share/opt-viewer" + elog "To use these scripts, you will need Python along with the following" + elog "packages:" + elog " dev-python/pygments (for opt-viewer)" + elog " dev-python/pyyaml (for all of them)" +} diff --git a/sys-devel/llvm/llvm-19.1.0.ebuild b/sys-devel/llvm/llvm-19.1.0.ebuild new file mode 100644 index 000000000000..64c63c9517cb --- /dev/null +++ b/sys-devel/llvm/llvm-19.1.0.ebuild @@ -0,0 +1,548 @@ +# 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 multilib-minimal pax-utils python-any-r1 +inherit toolchain-funcs + +DESCRIPTION="Low Level Virtual Machine" +HOMEPAGE="https://llvm.org/" + +# Additional licenses: +# 1. OpenBSD regex: Henry Spencer's license ('rc' in Gentoo) + BSD. +# 2. xxhash: BSD. +# 3. MD5 code: public-domain. +# 4. ConvertUTF.h: TODO. + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA BSD public-domain rc" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" +IUSE=" + +binutils-plugin debug debuginfod doc exegesis libedit +libffi + test xml z3 zstd +" +RESTRICT="!test? ( test )" + +RDEPEND=" + sys-libs/zlib:0=[${MULTILIB_USEDEP}] + debuginfod? ( + net-misc/curl:= + dev-cpp/cpp-httplib:= + ) + exegesis? ( dev-libs/libpfm:= ) + libedit? ( dev-libs/libedit:0=[${MULTILIB_USEDEP}] ) + libffi? ( >=dev-libs/libffi-3.0.13-r1:0=[${MULTILIB_USEDEP}] ) + xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) + z3? ( >=sci-mathematics/z3-4.7.1:0=[${MULTILIB_USEDEP}] ) + zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] ) +" +DEPEND=" + ${RDEPEND} + binutils-plugin? ( sys-libs/binutils-libs ) +" +BDEPEND=" + ${PYTHON_DEPS} + dev-lang/perl + sys-devel/gnuconfig + kernel_Darwin? ( + <sys-libs/libcxx-${LLVM_VERSION}.9999 + ) + libffi? ( virtual/pkgconfig ) +" +# There are no file collisions between these versions but having :0 +# installed means llvm-config there will take precedence. +RDEPEND=" + ${RDEPEND} + !sys-devel/llvm:0 +" +PDEPEND=" + sys-devel/llvm-common + sys-devel/llvm-toolchain-symlinks:${LLVM_MAJOR} + binutils-plugin? ( >=sys-devel/llvmgold-${LLVM_MAJOR} ) +" + +LLVM_COMPONENTS=( llvm cmake third-party ) +LLVM_MANPAGES=1 +LLVM_USE_TARGETS=provide +llvm.org_set_globals + +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" doc? ( " +BDEPEND+=" + $(python_gen_any_dep ' + dev-python/myst-parser[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ') +" +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" ) " + +python_check_deps() { + llvm_are_manpages_built || return 0 + + python_has_version -b "dev-python/myst-parser[${PYTHON_USEDEP}]" && + python_has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" +} + +check_uptodate() { + local prod_targets=( + $(sed -n -e '/set(LLVM_ALL_TARGETS/,/)/p' CMakeLists.txt \ + | tail -n +2 | head -n -1) + ) + local all_targets=( + lib/Target/*/ + ) + all_targets=( "${all_targets[@]#lib/Target/}" ) + all_targets=( "${all_targets[@]%/}" ) + + local exp_targets=() i + for i in "${all_targets[@]}"; do + has "${i}" "${prod_targets[@]}" || exp_targets+=( "${i}" ) + done + + if [[ ${exp_targets[*]} != ${ALL_LLVM_EXPERIMENTAL_TARGETS[*]} ]]; then + eqawarn "ALL_LLVM_EXPERIMENTAL_TARGETS is outdated!" + eqawarn " Have: ${ALL_LLVM_EXPERIMENTAL_TARGETS[*]}" + eqawarn "Expected: ${exp_targets[*]}" + eqawarn + fi + + if [[ ${prod_targets[*]} != ${ALL_LLVM_PRODUCTION_TARGETS[*]} ]]; then + eqawarn "ALL_LLVM_PRODUCTION_TARGETS is outdated!" + eqawarn " Have: ${ALL_LLVM_PRODUCTION_TARGETS[*]}" + eqawarn "Expected: ${prod_targets[*]}" + fi +} + +check_distribution_components() { + if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then + local all_targets=() my_targets=() l + cd "${BUILD_DIR}" || die + + while read -r l; do + if [[ ${l} == install-*-stripped:* ]]; then + l=${l#install-} + l=${l%%-stripped*} + + case ${l} in + # shared libs + LLVM|LLVMgold) + ;; + # TableGen lib + deps + LLVMDemangle|LLVMSupport|LLVMTableGen) + ;; + # used by lldb + LLVMDebuginfod) + ;; + # testing libraries + LLVMTestingAnnotations|LLVMTestingSupport) + ;; + # static libs + LLVM*) + continue + ;; + # meta-targets + distribution|llvm-libraries) + continue + ;; + # used only w/ USE=doc + docs-llvm-html) + use doc || continue + ;; + esac + + all_targets+=( "${l}" ) + fi + done < <(${NINJA} -t targets all) + + while read -r l; do + my_targets+=( "${l}" ) + done < <(get_distribution_components $"\n") + + local add=() remove=() + for l in "${all_targets[@]}"; do + if ! has "${l}" "${my_targets[@]}"; then + add+=( "${l}" ) + fi + done + for l in "${my_targets[@]}"; do + if ! has "${l}" "${all_targets[@]}"; then + remove+=( "${l}" ) + fi + done + + if [[ ${#add[@]} -gt 0 || ${#remove[@]} -gt 0 ]]; then + eqawarn "get_distribution_components() is outdated!" + eqawarn " Add: ${add[*]}" + eqawarn "Remove: ${remove[*]}" + fi + cd - >/dev/null || die + fi +} + +src_prepare() { + # disable use of SDK on OSX, bug #568758 + sed -i -e 's/xcrun/false/' utils/lit/lit/util.py || die + + # Update config.guess to support more systems + cp "${BROOT}/usr/share/gnuconfig/config.guess" cmake/ || die + + # Verify that the ebuild is up-to-date + check_uptodate + + llvm.org_src_prepare + + if has_version ">=sys-libs/glibc-2.40"; then + # https://github.com/llvm/llvm-project/issues/100791 + rm -r test/tools/llvm-exegesis/X86/latency || die + fi +} + +get_distribution_components() { + local sep=${1-;} + + local out=( + # shared libs + LLVM + LTO + Remarks + + # tools + llvm-config + + # common stuff + cmake-exports + llvm-headers + + # libraries needed for clang-tblgen + LLVMDemangle + LLVMSupport + LLVMTableGen + + # testing libraries + llvm_gtest + llvm_gtest_main + LLVMTestingAnnotations + LLVMTestingSupport + ) + + if multilib_is_native_abi; then + out+=( + # library used by lldb + LLVMDebuginfod + + # utilities + llvm-tblgen + FileCheck + llvm-PerfectShuffle + count + not + yaml-bench + UnicodeNameMappingGenerator + + # tools + bugpoint + dsymutil + llc + lli + lli-child-target + llvm-addr2line + llvm-ar + llvm-as + llvm-bcanalyzer + llvm-bitcode-strip + llvm-c-test + llvm-cat + llvm-cfi-verify + llvm-config + llvm-cov + llvm-cvtres + llvm-cxxdump + llvm-cxxfilt + llvm-cxxmap + llvm-debuginfo-analyzer + llvm-debuginfod-find + llvm-diff + llvm-dis + llvm-dlltool + llvm-dwarfdump + llvm-dwarfutil + llvm-dwp + llvm-exegesis + llvm-extract + llvm-gsymutil + llvm-ifs + llvm-install-name-tool + llvm-jitlink + llvm-jitlink-executor + llvm-lib + llvm-libtool-darwin + llvm-link + llvm-lipo + llvm-lto + llvm-lto2 + llvm-mc + llvm-mca + llvm-ml + llvm-modextract + llvm-mt + llvm-nm + llvm-objcopy + llvm-objdump + llvm-opt-report + llvm-otool + llvm-pdbutil + llvm-profdata + llvm-profgen + llvm-ranlib + llvm-rc + llvm-readelf + llvm-readobj + llvm-readtapi + llvm-reduce + llvm-remarkutil + llvm-rtdyld + llvm-sim + llvm-size + llvm-split + llvm-stress + llvm-strings + llvm-strip + llvm-symbolizer + llvm-tli-checker + llvm-undname + llvm-windres + llvm-xray + obj2yaml + opt + reduce-chunk-list + sancov + sanstats + split-file + verify-uselistorder + yaml2obj + + # python modules + opt-viewer + ) + + if llvm_are_manpages_built; then + out+=( + # manpages + docs-dsymutil-man + docs-llvm-dwarfdump-man + docs-llvm-man + ) + fi + use doc && out+=( + docs-llvm-html + ) + + use binutils-plugin && out+=( + LLVMgold + ) + use debuginfod && out+=( + llvm-debuginfod + ) + fi + + printf "%s${sep}" "${out[@]}" +} + +multilib_src_configure() { + if use ppc && tc-is-gcc && [[ $(gcc-major-version) -lt 14 ]]; then + # Workaround for bug #880677 + append-flags $(test-flags-CXX -fno-ipa-sra -fno-ipa-modref -fno-ipa-icf) + fi + + # ODR violations (bug #917536, bug #926529). Just do it for GCC for now + # to avoid people grumbling. GCC is, anecdotally, more likely to miscompile + # LLVM with LTO anyway (which is not necessarily its fault). + tc-is-gcc && filter-lto + + local ffi_cflags ffi_ldflags + if use libffi; then + ffi_cflags=$($(tc-getPKG_CONFIG) --cflags-only-I libffi) + ffi_ldflags=$($(tc-getPKG_CONFIG) --libs-only-L libffi) + fi + + local libdir=$(get_libdir) + local mycmakeargs=( + # disable appending VCS revision to the version to improve + # direct cache hit ratio + -DLLVM_APPEND_VC_REV=OFF + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}" + -DLLVM_LIBDIR_SUFFIX=${libdir#lib} + + -DBUILD_SHARED_LIBS=OFF + -DLLVM_BUILD_LLVM_DYLIB=ON + -DLLVM_LINK_LLVM_DYLIB=ON + -DLLVM_DISTRIBUTION_COMPONENTS=$(get_distribution_components) + + # cheap hack: LLVM combines both anyway, and the only difference + # is that the former list is explicitly verified at cmake time + -DLLVM_TARGETS_TO_BUILD="" + -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}" + -DLLVM_INCLUDE_BENCHMARKS=OFF + -DLLVM_INCLUDE_TESTS=ON + -DLLVM_BUILD_TESTS=$(usex test) + -DLLVM_INSTALL_GTEST=ON + + -DLLVM_ENABLE_FFI=$(usex libffi) + -DLLVM_ENABLE_LIBEDIT=$(usex libedit) + -DLLVM_ENABLE_LIBXML2=$(usex xml) + -DLLVM_ENABLE_ASSERTIONS=$(usex debug) + -DLLVM_ENABLE_LIBPFM=$(usex exegesis) + -DLLVM_ENABLE_EH=ON + -DLLVM_ENABLE_RTTI=ON + -DLLVM_ENABLE_Z3_SOLVER=$(usex z3) + -DLLVM_ENABLE_ZLIB=FORCE_ON + -DLLVM_ENABLE_ZSTD=$(usex zstd FORCE_ON OFF) + -DLLVM_ENABLE_CURL=$(usex debuginfod) + -DLLVM_ENABLE_HTTPLIB=$(usex debuginfod) + + -DLLVM_HOST_TRIPLE="${CHOST}" + + -DFFI_INCLUDE_DIR="${ffi_cflags#-I}" + -DFFI_LIBRARY_DIR="${ffi_ldflags#-L}" + + -DPython3_EXECUTABLE="${PYTHON}" + + # disable OCaml bindings (now in dev-ml/llvm-ocaml) + -DOCAMLFIND=NO + ) + + local suffix= + if [[ -n ${EGIT_VERSION} && ${EGIT_BRANCH} != release/* ]]; then + # the ABI of the main branch is not stable, so let's include + # the commit id in the SOVERSION to contain the breakage + suffix+="git${EGIT_VERSION::8}" + fi + if [[ $(tc-get-cxx-stdlib) == libc++ ]]; then + # Smart hack: alter version suffix -> SOVERSION when linking + # against libc++. This way we won't end up mixing LLVM libc++ + # libraries with libstdc++ clang, and the other way around. + suffix+="+libcxx" + mycmakeargs+=( + -DLLVM_ENABLE_LIBCXX=ON + ) + fi + mycmakeargs+=( + -DLLVM_VERSION_SUFFIX="${suffix}" + ) + + use test && mycmakeargs+=( + -DLLVM_LIT_ARGS="$(get_lit_flags)" + ) + + if multilib_is_native_abi; then + local build_docs=OFF + if llvm_are_manpages_built; then + build_docs=ON + mycmakeargs+=( + -DCMAKE_INSTALL_MANDIR="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/share/man" + -DLLVM_INSTALL_SPHINX_HTML_DIR="${EPREFIX}/usr/share/doc/${PF}/html" + -DSPHINX_WARNINGS_AS_ERRORS=OFF + ) + fi + + mycmakeargs+=( + -DLLVM_BUILD_DOCS=${build_docs} + -DLLVM_ENABLE_OCAMLDOC=OFF + -DLLVM_ENABLE_SPHINX=${build_docs} + -DLLVM_ENABLE_DOXYGEN=OFF + -DLLVM_INSTALL_UTILS=ON + ) + use binutils-plugin && mycmakeargs+=( + -DLLVM_BINUTILS_INCDIR="${EPREFIX}"/usr/include + ) + fi + + use kernel_Darwin && mycmakeargs+=( + # Use our libtool instead of looking it up with xcrun + -DCMAKE_LIBTOOL="${EPREFIX}/usr/bin/${CHOST}-libtool" + ) + + # LLVM can have very high memory consumption while linking, + # exhausting the limit on 32-bit linker executable + use x86 && local -x LDFLAGS="${LDFLAGS} -Wl,--no-keep-memory" + + # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 + use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" + cmake_src_configure + + grep -q -E "^CMAKE_PROJECT_VERSION_MAJOR(:.*)?=${LLVM_MAJOR}$" \ + CMakeCache.txt || + die "Incorrect version, did you update _LLVM_MAIN_MAJOR?" + multilib_is_native_abi && check_distribution_components +} + +multilib_src_compile() { + tc-env_build cmake_build distribution + + pax-mark m "${BUILD_DIR}"/bin/llvm-rtdyld + pax-mark m "${BUILD_DIR}"/bin/lli + pax-mark m "${BUILD_DIR}"/bin/lli-child-target + + if use test; then + pax-mark m "${BUILD_DIR}"/unittests/ExecutionEngine/Orc/OrcJITTests + pax-mark m "${BUILD_DIR}"/unittests/ExecutionEngine/MCJIT/MCJITTests + pax-mark m "${BUILD_DIR}"/unittests/Support/SupportTests + fi +} + +multilib_src_test() { + # respect TMPDIR! + local -x LIT_PRESERVES_TMP=1 + cmake_build check +} + +src_install() { + local MULTILIB_CHOST_TOOLS=( + /usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-config + ) + + local MULTILIB_WRAPPED_HEADERS=( + /usr/include/llvm/Config/llvm-config.h + ) + + local LLVM_LDPATHS=() + multilib-minimal_src_install + + # move wrapped headers back + mv "${ED}"/usr/include "${ED}"/usr/lib/llvm/${LLVM_MAJOR}/include || die +} + +multilib_src_install() { + DESTDIR=${D} cmake_build install-distribution + + # move headers to /usr/include for wrapping + rm -rf "${ED}"/usr/include || die + mv "${ED}"/usr/lib/llvm/${LLVM_MAJOR}/include "${ED}"/usr/include || die + + LLVM_LDPATHS+=( "${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)" ) +} + +multilib_src_install_all() { + local revord=$(( 9999 - ${LLVM_MAJOR} )) + newenvd - "60llvm-${revord}" <<-_EOF_ + PATH="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/bin" + # we need to duplicate it in ROOTPATH for Portage to respect... + ROOTPATH="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/bin" + MANPATH="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/share/man" + LDPATH="$( IFS=:; echo "${LLVM_LDPATHS[*]}" )" + _EOF_ + + docompress "/usr/lib/llvm/${LLVM_MAJOR}/share/man" + llvm_install_manpages +} + +pkg_postinst() { + elog "You can find additional opt-viewer utility scripts in:" + elog " ${EROOT}/usr/lib/llvm/${LLVM_MAJOR}/share/opt-viewer" + elog "To use these scripts, you will need Python along with the following" + elog "packages:" + elog " dev-python/pygments (for opt-viewer)" + elog " dev-python/pyyaml (for all of them)" +} diff --git a/sys-devel/llvmgold/Manifest b/sys-devel/llvmgold/Manifest index 1191c185263e..99a596d91941 100644 --- a/sys-devel/llvmgold/Manifest +++ b/sys-devel/llvmgold/Manifest @@ -2,6 +2,6 @@ EBUILD llvmgold-15.ebuild 576 BLAKE2B c9493f322fa0e387411df160c28078a514510e684f EBUILD llvmgold-16.ebuild 583 BLAKE2B b4c4b79a88e671db744f646cf645788aadbf1a76c86ce3f2d76bb850a5cedb21b0ed92feb1f647188176a6d218adf0b3d0f21da16390188cf91ade0a495fb32e SHA512 39d956efdd7685b0b99e274badd0a42b2a088eb9d8d065670743c93cb24ad617bc1e7f6e92112e67f00393c1d68fe1397b36222546b24ecc58be2eb11d47bd21 EBUILD llvmgold-17.ebuild 583 BLAKE2B ef13dbfa0436488cdd3c19605d9bea4c2a2809697ef2afc7bf42e746d5a606db14f970136f5ad003b19b14af56e41e9f1102db8221784a433aa1a5d699f43deb SHA512 35f0d5a652ef54b5ebea6d3b9965eae0216a46b5d00d88d97b67d2fc2d3f0d2a2930b62b9058354a7fa983c3831c2e5c87732a92a33ee612e6753621a09db183 EBUILD llvmgold-18.ebuild 589 BLAKE2B caa50ef6a67088f36230061383404916797fae10f57c7a1bc98386b2c9a742408cc135513cf8dc14ca562e103915da0049349af1db08a317f18280c035586d2d SHA512 0aeb341aa005ddbe2c5636696ba36e8cf6c2333c92e4ac6d0f553eaff1aef3e934a1b73252e1d6d47661f3ef8003da295e3ff4aeb32d2b4688e2aab764b21d0b -EBUILD llvmgold-19.ebuild 508 BLAKE2B 7d5b7e88512381f3a9a7e3ef019b706f6ba00d71e1a69e4f83face525864611602dad8e8c4765b25553647fe02223fcecec91cb6282e16b8d375473cb59a25ef SHA512 f51985a55f4c3b9909c3cdce098bac4f7ff6a29cbf09fd55d1684a00cb7733af904140e9cc2196bea60df1c8f3bfee5579d2f170e902eefeb7380bd9f6a0c955 +EBUILD llvmgold-19.ebuild 595 BLAKE2B 6b650dac6d20f051a4924b461d52a1b05052e01d9565ff92eb28847a1dcff8f8f6dca3dc444d5d4989496705b043a0257811a0e4ea7d528e642f37944569940f SHA512 70a55b4158ecc6cb7da5b7058174a25dea00312a1e51308f83c7cfa81bf2f3abfc937da1696a6eabc212b3a7b2e216d7c4ab3edfedadc67316da915268084dbb EBUILD llvmgold-20.ebuild 508 BLAKE2B 7d5b7e88512381f3a9a7e3ef019b706f6ba00d71e1a69e4f83face525864611602dad8e8c4765b25553647fe02223fcecec91cb6282e16b8d375473cb59a25ef SHA512 f51985a55f4c3b9909c3cdce098bac4f7ff6a29cbf09fd55d1684a00cb7733af904140e9cc2196bea60df1c8f3bfee5579d2f170e902eefeb7380bd9f6a0c955 MISC metadata.xml 299 BLAKE2B 2feead2cd1b35b3a43335ddd7711f8181b52bc63ee7166608914260c67528add5251349063afbef4f8cf0ec09b2cd4c3ffdd90f2c14ed60bb69ebc03888f6333 SHA512 cd745c54ab18d25bdaff18582105072574103a36cfe7c175ef740f266d00e9fc6f44c332904d23b911c939cf5bdf52973b388923099d8dd5dfef3c283b5cb685 diff --git a/sys-devel/llvmgold/llvmgold-19.ebuild b/sys-devel/llvmgold/llvmgold-19.ebuild index cc4a41d311fc..3c22e4ea24ab 100644 --- a/sys-devel/llvmgold/llvmgold-19.ebuild +++ b/sys-devel/llvmgold/llvmgold-19.ebuild @@ -9,6 +9,7 @@ S=${WORKDIR} LICENSE="public-domain" SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux" RDEPEND=" sys-devel/llvm:${PV}[binutils-plugin] |