summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-12-26 03:24:40 +0000
committerSam James <sam@gentoo.org>2022-12-26 03:24:40 +0000
commit2f65a55f585c92e24c3dd960a93d0d6a93727386 (patch)
tree789e06cae5e4f45424c8ef23b6c2202c79b3d0d6 /sys-devel/gcc
parentdev-libs/libpipeline: Stabilize 1.5.7 hppa, #888454 (diff)
downloadgentoo-2f65a55f585c92e24c3dd960a93d0d6a93727386.tar.gz
gentoo-2f65a55f585c92e24c3dd960a93d0d6a93727386.tar.bz2
gentoo-2f65a55f585c92e24c3dd960a93d0d6a93727386.zip
sys-devel/gcc: add 13.0.0_pre20221225
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r--sys-devel/gcc/Manifest1
-rw-r--r--sys-devel/gcc/gcc-13.0.0_pre20221225.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest
index 3c30862b0e52..e42a3be7fc2d 100644
--- a/sys-devel/gcc/Manifest
+++ b/sys-devel/gcc/Manifest
@@ -29,6 +29,7 @@ DIST gcc-12.2.0.tar.xz 84645292 BLAKE2B 715574af9ad678f9dc8cfd19c866bf910c7edfd4
DIST gcc-13-20221204.tar.xz 80748844 BLAKE2B a5ea8a72b475991602ebff668e50f03e1c9343083e33d3f1a02499fed59cdd6214743567e79d866851ed4506cabc2ff52b6e1634eabfff9deca19d4402382d36 SHA512 b40b800d4369cb899f0a8224d15e7a78f6b182d8490de01ab1520647862263cc478f49f021172c91c2c6d39cbbc4ec92e18644cf3bab5a0df44dabbc3b7c6702
DIST gcc-13-20221211.tar.xz 80786948 BLAKE2B e7fc58b53584d5269f889ec2575de6b50d9b9fff9b6e71749979a3e47291465dbc26600790e5ab66993e666cd654d7e4663d0d9ce2b51c7ac7e50b8300a18aa2 SHA512 dcb51c9f6654dd1730943468d72084eed869d8ea09e1645e066cdb3a9ff8be2439082d43de620e045e66b3b894f21163b665166b02942821485b2b06a5180782
DIST gcc-13-20221218.tar.xz 82692928 BLAKE2B d68af44da5708d6433cc4c409d93d725111bd69fa76d49e8354043ad2bb8aa8cb396489151442910fc4544fedd5290277aa8934aac5c24332c0963dc4605c149 SHA512 27b98455bedecbd8cf70f6357924ca1ad45f79ce4a50aefcbcf5b14f6c6a0a5c60fda5b85e7c2c24cf8ce65233dc1eda72c5e48dd0cac699ded1e72c32f0164d
+DIST gcc-13-20221225.tar.xz 82806372 BLAKE2B 73da814af9d75a1217de7cc84ab3fee1b762ee3845242b21e8724ff22193447f2a5d5c850270083b8de4eb66cf6d70821aa10e0a552d094a7fb7ae0d61a55477 SHA512 30bcb6a6a914489513eca6c065b8f6105417bb1fa279664a1b5aa4c2103d9b0fe1c4ba37156f5448c5ffd5990aa72785710082825ab54ccce3998ddd97730b9e
DIST gcc-13.1.0-patches-3.tar.xz 10984 BLAKE2B b032049090732e39c94788f4014a463e82fe186ad9ca5ca7ec1d522dfc4499bd2c229bc3bed7ed1d4e1e5f196444037acdea8b865d62c164d6daf307f949e307 SHA512 940d5f1e7f8cb48e9e6d63b5cd31dc5e4bd1669c78b3adfa6b7c30d3f85d8de4f26c1db4e3727f3789b1d439d07d3eeb9a8120f45693da6c2e6d9ca27e264941
DIST gcc-13.1.0-patches-5.tar.xz 11404 BLAKE2B 5ba2b4002e917750757a28fa4c7ff6ff7090c35f28eb984aee6ad7fc0ac80c88a9d08e1d4d9efa98e6bd3f06e89df47b10b51f8294bb7d2ef0d1ac3fd2a1a963 SHA512 6864738794237bd7430c612404dd4b84e275362cb5abd081284a91e5b24c1b0aa97d90b9543168c72147be146887219715325d52ae2920912d9c4e17e7224aa3
DIST gcc-8.5.0-patches-2.tar.bz2 16921 BLAKE2B 619a47f74edf05fa01c9de59d0ff7abb027a01cf0bdec91ac41046166192f4eae561684136c4a6a5e077f64754bb5b0710905129f31b0def21d88f92e6bba7fb SHA512 b6095d4570895e2c4dd58fed5756194aea27391b813e5e2de42b2749cb318c4bea2087eb0ff92c70e7f98ae4482c49d476db57be83d7beb19fd462aa61714ab2
diff --git a/sys-devel/gcc/gcc-13.0.0_pre20221225.ebuild b/sys-devel/gcc/gcc-13.0.0_pre20221225.ebuild
new file mode 100644
index 000000000000..d4606768767d
--- /dev/null
+++ b/sys-devel/gcc/gcc-13.0.0_pre20221225.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+TOOLCHAIN_PATCH_DEV="sam"
+PATCH_VER="5"
+PATCH_GCC_VER="13.1.0"
+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}
+fi
+
+inherit toolchain
+# Needs to be after inherit (for now?), bug #830908
+EGIT_BRANCH=master
+
+# 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
+
+# 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
+}