diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-21 12:02:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-21 12:02:15 +0100 |
commit | d1f1f3bc630772e7197391e85311655e2b6e7fa2 (patch) | |
tree | 0566ad543bdf6d9d9e03d8ab618ccc744913985a /sys-devel/gcc | |
parent | 0cdd46ad5d0cd7ede78815175764fdf76649d46e (diff) |
gentoo auto-resync : 21:04:2023 - 12:02:15
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r-- | sys-devel/gcc/Manifest | 2 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-13.0.1_pre20230421.ebuild | 62 |
2 files changed, 64 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index 273332112248..d6fa6d6e3512 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -24,6 +24,7 @@ DIST gcc-12.2.0-patches-10.tar.xz 14252 BLAKE2B 99368db982227728a6a9e2b1f694999f DIST gcc-12.2.0-patches-13.tar.xz 13756 BLAKE2B df0388a669458f2991951d2f4027badbff3f802e6a0422478206b5cdda76e70b531a474d2ac42817e9e7f8200e9ac35ca8276af539839b4ebb2e22903ec25a23 SHA512 2970de9d2806d59c5d0f77e66000860c816ebd674489db8114f48f6aa11575644154431480222580b520b9e312647b06f94ab38959a49a8cda818158d6babf1d DIST gcc-12.2.0-patches-14.tar.xz 13752 BLAKE2B c44609a8a3a96480f144b7e6859c2b1d7105f421ffa08929c35fc13eb5ec11d967b02cf8248ecb4ea85824b1872125a73c92f404050c3399d5c06fe668711fd3 SHA512 c1db7a7f3a929dfdc8de9a662448f57296ab818b9fd133763b2ab0dddce2e01cf322e5ac53f3d69c2366053ef3c4fa44c72eed248dc7aeef49f558341bdd3854 DIST gcc-13-20230416.tar.xz 83936936 BLAKE2B c052fff2838a0bdd87f90345a5f7f5c607a6fe360b02ce8cb076f6dd3a62f6aae0c7d3914eee447e9c92c971331ddcbf0c94f2aa120aef89a742162b5e7dbfdd SHA512 222bb6db05b23aeb428262c69319a4964097065a88a5ae6c19b104c31af82c465f139c08f01bb077b0e776685769b77a54b772ebc4e2057e7c3e8954283997cf +DIST gcc-13.1.0-RC-20230421.tar.xz 91762984 BLAKE2B e939f1c9d672c32cbdfc9be12367265a9c4c68a7d7fa33c32e78b449504e2228158c27a6f37982ce5a8b5790fa0886676bab4c8528a6f0717b03122382334072 SHA512 bc0bb66d6ef875e5e36c9836ee0294af46e19d2d50eb85ec2a599d6e5e67bfd994f88067debc7c42ea63a64737a90aced44ec006b4d67a134260872128050c16 DIST gcc-13.1.0-RC2-20230419.tar.xz 87499876 BLAKE2B c105278da9f6a2b22407eae8871169f778cffbc1ac6f94c2804da42b8251dd795fce97fe2856934b78de5f21522a79edd7295a0b3c12755cdc28e918f897e76d SHA512 7bb1a0d284ac26f84ae522e8024871056ef037d2e9be625606e3e6834620e81555f3f4ea066375a46ad2149286f3b19cfbeddede4a80e90ede2a59bbcdcaf1df DIST gcc-13.1.0-musl-patches-1.tar.xz 3528 BLAKE2B c572ab4a0fb929b16ec36b3a3616cdcccd62f7ee27ded8077008b9beb50539db64cc251ff8a3eade54e8ebfe1012f8f32d0802379bf8ffb0f1b8ce7c8457da37 SHA512 ffb7dfa54a9d23b5333664e915efd9f18a43cd696f4ff5669a8b072a0e9cf4978de53e315123542441a2533e4f269de0bb7d90ee7a37d3a7517b7cda6ea06681 DIST gcc-13.1.0-patches-9.tar.xz 11720 BLAKE2B c26a2924fa8aab318a1f4a4974ca4aeba255f3605fa0cbf448a4e48b6f3e9359012aeae15726299059257b93043c5cdd86bf1b2f2fffd4b9a096ab411a0503ba SHA512 98e48abaa664ea18bf00ba7bdb29cc1e908cc55ba9d12d52061e86fc917753ade8e38a190c04d23c63102808ac5a9e8ecf085dcc29a1568a329ceb5d43cf0290 @@ -49,6 +50,7 @@ EBUILD gcc-12.3.9999.ebuild 1593 BLAKE2B 0cac4b67933abbacf0037f3e89b4209ea2a8147 EBUILD gcc-13.0.1.9999.ebuild 1327 BLAKE2B ec9652e60d12944e328922bfbd8873ab2258e7f194c1d4aa5da5e8e7e090aca6d8e17d33e2b6b7397ad30e669c3ff072260a9de12a398b8ff7cc7ce533ca2f9a SHA512 62066f20c7861c90e567268fc327d4b8f59043e63df6bb4831e6e2538f91113ffb075eb1be13a8fc3a67a26c79681e06b84f2a9405286f99fc59eee3cea46222 EBUILD gcc-13.0.1_pre20230416.ebuild 1354 BLAKE2B b1dcf92771940c65b4862f76107df49bdc811c279fa33205cc63d8ed74ceed786712e42a7c050e691a30494b3b55c7bcf62e14d7baa2550c392b7d0bac0007d0 SHA512 4e49f8ea0487bd4cf57a2518647e1dc1f82e1b891a200463f2c17f6285b67070abd1d732ef2c578389a927f142495b3f721a6017f211684b27a3f5ce903cd774 EBUILD gcc-13.0.1_pre20230419-r1.ebuild 1586 BLAKE2B 706553fd8f224c7217e937d152c1fc6147f694c9c12019b52509fce063382d769628fc1ff4eb6aa4cac2c9c9e38ee88ce139c4243098f9cd97e0df42aee9fe50 SHA512 0d0a31b864f8381b71b198f2e0c22821e07b9575a465e176946b6b4f0771a6ea32685d1dd0af0d6655597f781166c3074e7f1f8f1b14c3dd3e7e95ce254bb8d3 +EBUILD gcc-13.0.1_pre20230421.ebuild 1585 BLAKE2B 19bb0458a8d44cc1995e7492a7008556de8616c6b7f464d4ed8760cc2bc0d234c5e46cf0d869406370ad6016aafcd0da65734218081b1d8c4b2716d14fe7bb26 SHA512 4b586a1cc0e92ba36d9a972584b6213ac1d3fda8a284461513fc39eb7542411ba48787d7d86c95722bbe02646b05dd9d720e5c7fbcee2575b75bec0bbe7c0ed1 EBUILD gcc-14.0.0.9999.ebuild 1308 BLAKE2B 13b309bfa235931db063ba9503ddac66f91cc7ec2e01008c2a8b732a780419a0ee5871ed05f118cd478b63e3943f8295bbbc199afd0eba50e4b3927079c18144 SHA512 3dcc2d4c6af3893c13fc786b8701adbf7d9a0fe0cea407589682dbc4face96eb8f383b686d07cb33a810c963d706e2fdc9c52d393a8852142871dceab5eb7370 EBUILD gcc-8.5.0-r1.ebuild 498 BLAKE2B e24f62fdb50bf2e9957cbb85c72adc96d369938a7f552735772de964f7023b8b34bd11e7e544d268cc308e25272084a728bd061f37c568d42ea65d55bb2a2e93 SHA512 f35b353e9f54eb3e1c6f8e0ea262458b41da9bddb993793aff79f765c4d93811744979d34e50c6470a9b2cfb63b7006bd284d819b7a98e56a8b3a34ae570ae76 EBUILD gcc-9.5.0.ebuild 844 BLAKE2B 719c259a6f39c72f7d1748095a9e649d4ab3dde04b118125313ab9b915eb9cbd038592532185317080dbc46d73a8bd324b498462db73b12d23144cd58378dd9c SHA512 1ed19c79239d155be3b267fcad4d7230821406ba8fb2c11857168fc0e717c4edcd8d7fb0972bc6df0fbcfbd8a9f085aa023f452368278c0e7e0af014c1124d89 diff --git a/sys-devel/gcc/gcc-13.0.1_pre20230421.ebuild b/sys-devel/gcc/gcc-13.0.1_pre20230421.ebuild new file mode 100644 index 000000000000..f0ad71e33ed5 --- /dev/null +++ b/sys-devel/gcc/gcc-13.0.1_pre20230421.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +TOOLCHAIN_GCC_RC=1 +TOOLCHAIN_PATCH_DEV="sam" +PATCH_VER="9" +PATCH_GCC_VER="13.1.0" +MUSL_VER="1" +MUSL_GCC_VER="13.1.0" + +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} +elif [[ -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 + +# Don't keyword live ebuilds +if ! tc_is_live && [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then +# KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~loong" +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}" + BDEPEND=">=${CATEGORY}/binutils-2.30[cet(-)?]" +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 +} |