diff options
author | Sam James <sam@gentoo.org> | 2022-06-02 08:37:12 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-06-02 08:37:37 +0100 |
commit | 33191259047b013ad193c8917a34496b19c9ecc1 (patch) | |
tree | e23a673d219cde6b28fbd176b10125f339f5980b /sys-devel | |
parent | toolchain.eclass: add variable to force fetching patches from git (diff) | |
download | gentoo-33191259047b013ad193c8917a34496b19c9ecc1.tar.gz gentoo-33191259047b013ad193c8917a34496b19c9ecc1.tar.bz2 gentoo-33191259047b013ad193c8917a34496b19c9ecc1.zip |
sys-devel/gcc: add 13.0.0_pre20220529
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/gcc/Manifest | 1 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-13.0.0_pre20220529.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index 375f1a7fbff0..4ea148e55e34 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -23,6 +23,7 @@ DIST gcc-12.1.0-musl-patches-4.tar.xz 4448 BLAKE2B ddad7bccea7474a0552e069df25e6 DIST gcc-12.1.0-patches-6.tar.xz 10264 BLAKE2B 8ae3f1d0a943551717ea2f5a04253728c97bc3e0583028d6213a030864591b8cc7942e4e1782e7114b9482f9406309deba1d140130d08bbe8bfd2d78581274a1 SHA512 4b20a02034a7847965b451167e201bab31d666e9d0a452a0036076f540c8e4ad8b905fff99e47ea07e074052cf2e52fe022b423d182b73b7ad7f085d21696060 DIST gcc-12.1.0-patches-7.tar.xz 11584 BLAKE2B 4487726f8225d6bb2fde91fce8343c34ebece8cca08b258115a55b0f0c594e3a205efe26738c2b06cb8c6ea9d13b451514e073bb3a94d664a56120d9826515df SHA512 4882754d2f55c8144a5af4bcfbc1ee7802f08fc5acca96151cc6323a98e94b9246a69e067bcbf92dcdb8021499b8e1197cd7bd682876aca3e6f1f63a405c1dae DIST gcc-12.1.0.tar.xz 82701928 BLAKE2B dca5df8fea680dbeda721742cce5c97de7eb4be490a32a158e06b88e2b9dd092150b7cfe490bb69e48e2f75d8bba231c8a54cd46b48ddcdc01bf9553ab57019d SHA512 2121d295292814a6761edf1fba08c5f633ebe16f52b80e7b73a91050e71e1d2ed98bf17eebad263e191879561c02b48906c53faa4c4670c486a26fc75df23900 +DIST gcc-13-20220529.tar.xz 79246040 BLAKE2B cf7bd1ee6000dabc098725b7eeb188c3d064ad2c63bf745dafe7c3b42db7aa888e1ed5bd50e45d7851a7540bd75a30f5eaaee6485fe303f34e70a88158e70b91 SHA512 2c2a7663a64be88b77a29532cd17d501020b640b7dabb516f1414d0375c5d40c9d068548ba443e482d1d976284227cb3d219f564d002e5d9d190f387ba261cde DIST gcc-8.5.0-patches-2.tar.bz2 16921 BLAKE2B 619a47f74edf05fa01c9de59d0ff7abb027a01cf0bdec91ac41046166192f4eae561684136c4a6a5e077f64754bb5b0710905129f31b0def21d88f92e6bba7fb SHA512 b6095d4570895e2c4dd58fed5756194aea27391b813e5e2de42b2749cb318c4bea2087eb0ff92c70e7f98ae4482c49d476db57be83d7beb19fd462aa61714ab2 DIST gcc-8.5.0.tar.xz 63841008 BLAKE2B aa81a1a730fd7371360f6abed6ba78b5843fd18c58d5de5687acc320741b9e430e85df3535a1ef7a26051409be8d2f0945f503e5968480d919103123a99d4b12 SHA512 92f599680e6b7fbce88bcdda810f468777d541e5fddfbb287f7977d51093de2a5178bd0e6a08dfe37090ea10a0508a43ccd00220041abbbec33f1179bfc174d8 DIST gcc-9.4.0-musl-patches-1.tar.bz2 2337 BLAKE2B 7bddc631c9f0e68884acb2bb603e2867e1f65e44f3bd519844341984fa17f323a953bca21cfc05a0f84f7da943c83f2f5341899c917ab88891ac33ccafeb8f75 SHA512 b2cf463613011892b07d1a932f402d7606aa3fce4e059c342996c4ef6aa37f20159812a81fa82897b2caf658853644c5075d23c81d04c4c98e06a72bd9680488 diff --git a/sys-devel/gcc/gcc-13.0.0_pre20220529.ebuild b/sys-devel/gcc/gcc-13.0.0_pre20220529.ebuild new file mode 100644 index 000000000000..bea09e8dcdb1 --- /dev/null +++ b/sys-devel/gcc/gcc-13.0.0_pre20220529.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PATCH_GCC_VER="13.1.0" +MUSL_GCC_VER="13.1.0" +TOOLCHAIN_USE_GIT_PATCHES=yes + +if [[ $(ver_cut 3) == 9999 ]] ; then + MY_PV_2=$(ver_cut 2) + MY_PV_3=$(($(ver_cut 3) - 9998)) + if [[ ${MY_PV_2} == 0 ]] ; then + MY_PV_2=0 + MY_PV_3=0 + else + MY_PV_2=$(($(ver_cut 2) - 1)) + fi + + # e.g. 12.2.9999 -> 12.1.1 + TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.${MY_PV_3} +fi + +inherit toolchain +# Needs to be after inherit (for now?), bug #830908 +EGIT_BRANCH=master + +# Don't keyword live ebuilds +#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86" + +# 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}" +BDEPEND="${CATEGORY}/binutils[cet(-)?]" + +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 +} |