diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-22 04:04:46 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-22 04:04:46 +0100 |
commit | a15e8dc7444560123d7d4be1bccb19afd5b611d0 (patch) | |
tree | 6e26ee0323c09494a66d0f78c4b81e305bb0d096 /sys-devel/gcc | |
parent | 3dc4de6331223493015f198dc61854af604da86c (diff) |
gentoo auto-resync : 22:10:2024 - 04:04:46
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r-- | sys-devel/gcc/Manifest | 2 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-15.0.0_pre20241020-r2.ebuild | 53 |
2 files changed, 55 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index 6b90cfc45617..a5c01a889075 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -42,6 +42,7 @@ DIST gcc-15.0.0-patches-14.tar.xz 14764 BLAKE2B 3da7b4d81ea45ca1254ab9f290ca0c94 DIST gcc-15.0.0-patches-15.tar.xz 13116 BLAKE2B ec558b7ddf5907f63c4cde12a5a2b2d563d4db127b6da55682d066db12c5556ab2e70ef62cf019f20479cfd3d6c76a0f7da17dd5e729506b1abc0fad55ed82c4 SHA512 9fcf9f3e5f9d070061b9c636147f8b43fc8254314b51dce52a7a59d525309160da9fc950b64cac04644027a2b66b675bcc741c5883ade2d630cf2d4286b35d5b DIST gcc-15.0.0-patches-16.tar.xz 16392 BLAKE2B 1f97157c41a56fb0458711bdf9963ad2cc52373e2f8f2bf35eb1ecfd915aef92384ca4a5d2f7b35bfb51b76f372c4f94dbddb9271ce56ed66a288586b0d09563 SHA512 cf2e0929dd6595d7619f12289b2d50571bcc84bf1051fe9d7c57c18a2e2c076644c673758e258411c6542e53519fdf4bcb2112be98cb44e4c4806355a147f9ed DIST gcc-15.0.0-patches-17.tar.xz 19144 BLAKE2B b66b93a4de5013870941a76bb271dc773f87c7929d50cdf30517dae59bea52be6640d4ebccfb9aa686c5993ec1bd9d1c1f913b85b0b651fc8fa79cdd5d10a58f SHA512 538442ec20f030bf1332dbda2943d408cd3febe2f8860caad73a0910ee39621e30263b3ece22dcd5e71a7e74b439380c80dc4c0bad27d874463666d20dc6ae5b +DIST gcc-15.0.0-patches-19.tar.xz 20168 BLAKE2B cfbd147179a95d5d57084576c76da74b8596842e308df9aa59e66521795ba8099c4c8f81917f319c358157cfb085a75c023908cc80d06f5a4ff44fe8e54b318f SHA512 e370217f27cf2d50b3302794285420688d393cd1d4571265af78e711e101a852536196dcaf485c4694612a6ffc3e463e86340221fa79062c47c94da6fe2a67e1 DIST gcc-8.5.0-patches-4.tar.xz 18616 BLAKE2B 7594cbaea5daecf1a0b3d526c06aeba0a84c6da66aee2e105a51fda6be8d30a37ccc3814281b284a4582d892a1d556bca063551584edfc2525bed8ea5b6888e7 SHA512 1aa5742c361186637e7855f06feb1a4547e7d4d5de6e51f3d049e0ef3c19e2eff179465f52781739f59422035b7f8e4c0efa3844849f920f3c96acfdc37ca6a6 DIST gcc-8.5.0.tar.xz 63841008 BLAKE2B aa81a1a730fd7371360f6abed6ba78b5843fd18c58d5de5687acc320741b9e430e85df3535a1ef7a26051409be8d2f0945f503e5968480d919103123a99d4b12 SHA512 92f599680e6b7fbce88bcdda810f468777d541e5fddfbb287f7977d51093de2a5178bd0e6a08dfe37090ea10a0508a43ccd00220041abbbec33f1179bfc174d8 DIST gcc-9.5.0-patches-2.tar.xz 14324 BLAKE2B 1d3bf3e673108ad2fcdcb86daefb4603d1c9f6aa815e34d1591054d466b76d6f50cce124ab4760528c4951ea16eb00888a3e6485417f81ebf250548732df4a8e SHA512 a6d6f650aaf0bd193a17ac279649f0544a282cea295824384c59341c3000eac4b574b60e00dd427585d928f9768166abf85168b47772132790ad98854acacbbf @@ -75,6 +76,7 @@ EBUILD gcc-15.0.0_pre20240929.ebuild 1360 BLAKE2B 889d886eb63ddc117d9ff1ce034486 EBUILD gcc-15.0.0_pre20241006.ebuild 1360 BLAKE2B 99f7840ea5f1296738c0da6189aeb01b5f9fae307e4febbc3ff6386f6cdda7cd3ee917a951ccdcdf431dff44df897fbf02144d065ac029834ac74c8b44631115 SHA512 c7a7077e5c406e0a3f1d64df262581e44b0d9c5824cb54e80cd6b8c28362805ca06b23aeb9b51b43589c4c8c4523ca23d5b776c171f6b428414953a09b721b94 EBUILD gcc-15.0.0_pre20241013-r1.ebuild 1360 BLAKE2B 2dafa9f5765a30b07358224e87044b0748874adde9ef8952f07ab1ebee93702c4b0fef80ac418097410f9228fa6303309f0d77710029328ecca7f9afc3c0d458 SHA512 7bfd3590de335e7226605fcbf8a5e32a19c1b67d52181152b4685a84c5c07fd1e30eee8dc7ba9461b935f41f2fbdcfb3f8665f9657cf6ded02bae1d65176b041 EBUILD gcc-15.0.0_pre20241013.ebuild 1360 BLAKE2B 99f7840ea5f1296738c0da6189aeb01b5f9fae307e4febbc3ff6386f6cdda7cd3ee917a951ccdcdf431dff44df897fbf02144d065ac029834ac74c8b44631115 SHA512 c7a7077e5c406e0a3f1d64df262581e44b0d9c5824cb54e80cd6b8c28362805ca06b23aeb9b51b43589c4c8c4523ca23d5b776c171f6b428414953a09b721b94 +EBUILD gcc-15.0.0_pre20241020-r2.ebuild 1360 BLAKE2B eaa37b9c39584ebf0af863418d6df25b982eb570b9dd39d48148b6086c2f035dea78d7ffda7c63be4d30f7909e3c64fc1dd29d47af75176269b8d202fdee075a SHA512 276b4e4b611aa4afca5e57004846cbdd3b84af57110343fa4aee79579f38f308609e303d23789c736319ace43c0fb8c4c130db2bd75f803e39c7f4e3a1b8dbfd EBUILD gcc-15.0.0_pre20241020.ebuild 1360 BLAKE2B 5b503cabae6bb4d120d5e5de575e7127f7e81726ad5f4647c92fa65a3ac07a5fc1e7d6989409bbef2a1823befe13d63e7ea0687e8f7d745a92256a91b405c11e SHA512 21c51410140a5e96a223c912d8690865855bd58bd6b2d654f290ca254beb141e009a52f13b4074426c5330d0fe48f3504cef04d1d3561bb7b7627ae3c582837d EBUILD gcc-15.0.9999.ebuild 1332 BLAKE2B 6f17f77603522bac72d4d57094cc086263a9bfe6273c04d91b169ebc23d78fa2943c0950d4a40fe846d9d92648e54ca54ad1cecd5446ed5710062f9dca569b4b SHA512 4e4a673229a36dee68238e10efb2d9e0ff1c530411395e5230bbf567c92342a4b79d0ecb0ec91573c52fd8b5efd5cf6d20e612971848c9529378e0c42c0e213d EBUILD gcc-8.5.0-r1.ebuild 549 BLAKE2B ff92dcaf33780ec98032b59fa9b9de925e44375d50fdf82f6bedc1747cd37399753b5db4aa6c2af8e983b4a8a1ff38090e8d913252320b4d7f3eb24af2c22c57 SHA512 856d099e61a03b38fe468a82dc94c52d51e4678499c9a10a54ca009ef4cc67e24f8aaf984dc5eea2604b6db36f4eaf29ac8cf81ef7651b2221758f4f07898996 diff --git a/sys-devel/gcc/gcc-15.0.0_pre20241020-r2.ebuild b/sys-devel/gcc/gcc-15.0.0_pre20241020-r2.ebuild new file mode 100644 index 000000000000..e470434a9bcc --- /dev/null +++ b/sys-devel/gcc/gcc-15.0.0_pre20241020-r2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="15.0.0" +PATCH_VER="19" +MUSL_VER="2" +MUSL_GCC_VER="15.0.0" +PYTHON_COMPAT=( python3_{10..12} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=master +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + + eapply_user +} |