1 |
commit: cfc2dad8e08d3822c8086b517c7e1e4c6c67e5c9 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 24 23:46:42 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 24 23:46:42 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfc2dad8 |
7 |
|
8 |
sys-devel/gcc: add 10.3.1_p20220623 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sys-devel/gcc/Manifest | 1 + |
13 |
sys-devel/gcc/gcc-10.3.1_p20220623.ebuild | 58 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 59 insertions(+) |
15 |
|
16 |
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest |
17 |
index e3d873948b20..1d280a6c7444 100644 |
18 |
--- a/sys-devel/gcc/Manifest |
19 |
+++ b/sys-devel/gcc/Manifest |
20 |
@@ -1,6 +1,7 @@ |
21 |
DIST gcc-10-20211126.tar.xz 71674848 BLAKE2B 81f4a572e973db7a3701601e66ea58c8e535a55d4d4ac164de00bdb06f7f265585f45d46171cf40d42ebcd3fb02ac81b643398c560912698eb6c008ac6e09518 SHA512 db887184c649ebeede5a1b9f13c00fe425012434cb93ec960c3ca50c0bcdeab04a1cc13b20de21b940e5d6a09c3b1c7fc415110a0e990ec1d938627bf97b9342 |
22 |
DIST gcc-10-20220609.tar.xz 71752672 BLAKE2B c29511145d3712624caa3e8a194a5f37f958b6b556afa79d8c360697f3fa9a78fbb2146457e656b4ee9f10ee5e7d87b26e314c01348689e066fdfc186082d739 SHA512 333252e045107688e7a6af397456626b04e2bdd2086f4bbaced4ccacc387af2a63dd8aa46c261f602fc287b55821a91ab772122a3ea252528e52fab7cf046f21 |
23 |
DIST gcc-10-20220616.tar.xz 71754768 BLAKE2B 6cd2febb886496191183efe593bf918fb8045346987fdcec6c3a36ebb696546cce3d3c2d12d2d32c01fc3765cd287936255187c40e2bda3bb112216938d20340 SHA512 1d574ca79ca22c18f8e7bbac2792c71a4a6102b7c53f8864950df08036ad341ee11fc95be9b2ceca043eb13fd301cf09efe9da14f6138913c7c25dbc045ccf4e |
24 |
+DIST gcc-10-20220623.tar.xz 71747668 BLAKE2B 3849182a188f4a3b5f19e66008a23ab50ff5bf933d28254432d62ce880b7921124302658553c7bc1e8756c430d11b5d577685d1d70b9851b714d1e15b1d7b4ac SHA512 294093cdd0949238e903f91c4ed28b2fd063d25aa6aa7947acdb318350c582e43d15b98a78756da692d0625c6d190c67b62f215ac865594712d6f8efe298831b |
25 |
DIST gcc-10.3.0-musl-patches-1.tar.bz2 2999 BLAKE2B 3e36bbf2f93fdce15e20f807fa262f7a7abbde85b6f6b4e1383f6eccd8a53d876687d56cde83a80cde8a50e15bec407a1212aa0c85520892563e3d5ef7aaca98 SHA512 21483912a7b152f27db82d837a4cf91f2552d5fe238702aeca0c0dd8c7d3695bc70d8794c94a19106df28e053baf14c38433ca8e38e849082b76273cb51f2384 |
26 |
DIST gcc-10.3.0-patches-3.tar.bz2 18935 BLAKE2B 13eaf1e055b5b63069aed1575ed93f6bc822b5e3f2181ddfc88f4e7ff801f58997cd131b2efd79b90469b1f861db994feb2adcaecacf165442078f76e233fd9a SHA512 c3d6a6f32863cc0ff7c877314ff0c00a892e473f64d16b82d46b4a77aa97c3e7a575492d27f0d423acb2621c86c9a49bca0e26e45bda9e697495444fcac85084 |
27 |
DIST gcc-10.3.0.tar.xz 76692288 BLAKE2B ac7898f5eb8a7c5f151a526d1bb38913a68b50a65e4d010ac09fa20b6c801c671c790d780f23ccb8e4ecdfc686f4aa588082ccc9eb5c80c7b0e30788f824c1eb SHA512 2b2dd7453d48a398c29eaebd1422b70341001b8c90a62aee51e83344e7fdd8a8e45f82a4a9165bd7edc76dada912c932f4b6632c5636760fec4c5d7e402b3f86 |
28 |
|
29 |
diff --git a/sys-devel/gcc/gcc-10.3.1_p20220623.ebuild b/sys-devel/gcc/gcc-10.3.1_p20220623.ebuild |
30 |
new file mode 100644 |
31 |
index 000000000000..3b0410d85b84 |
32 |
--- /dev/null |
33 |
+++ b/sys-devel/gcc/gcc-10.3.1_p20220623.ebuild |
34 |
@@ -0,0 +1,58 @@ |
35 |
+# Copyright 1999-2022 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=8 |
39 |
+ |
40 |
+TOOLCHAIN_PATCH_SUFFIX="xz" |
41 |
+TOOLCHAIN_PATCH_DEV="sam" |
42 |
+#TOOLCHAIN_GCC_RC=1 |
43 |
+PATCH_GCC_VER="10.4.0" |
44 |
+PATCH_VER="1" |
45 |
+MUSL_VER="1" |
46 |
+MUSL_GCC_VER="10.4.0" |
47 |
+ |
48 |
+if [[ $(ver_cut 3) == 9999 ]] ; then |
49 |
+ MY_PV_2=$(ver_cut 2) |
50 |
+ if [[ ${MY_PV_2} == 0 ]] ; then |
51 |
+ MY_PV_2=0 |
52 |
+ else |
53 |
+ MY_PV_2=$(($(ver_cut 2) - 1)) |
54 |
+ fi |
55 |
+ |
56 |
+ # e.g. 12.2.9999 -> 12.1.1 |
57 |
+ TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.$(($(ver_cut 3) - 9998)) |
58 |
+elif [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then |
59 |
+ # Cheesy hack for RCs |
60 |
+ MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) |
61 |
+ MY_P=${PN}-${MY_PV} |
62 |
+ GCC_TARBALL_SRC_URI="https://gcc.gnu.org/pub/gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" |
63 |
+ TOOLCHAIN_SET_S=no |
64 |
+ S="${WORKDIR}"/${MY_P} |
65 |
+fi |
66 |
+ |
67 |
+inherit toolchain |
68 |
+# Needs to be after inherit (for now?), bug #830908 |
69 |
+EGIT_BRANCH=releases/gcc-$(ver_cut 1) |
70 |
+ |
71 |
+# Don't keyword live ebuilds |
72 |
+#if ! tc_is_live && [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then |
73 |
+# KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
74 |
+#fi |
75 |
+ |
76 |
+RDEPEND="" |
77 |
+BDEPEND="${CATEGORY}/binutils" |
78 |
+ |
79 |
+src_prepare() { |
80 |
+ local p upstreamed_patches=( |
81 |
+ # add them here |
82 |
+ ) |
83 |
+ for p in "${upstreamed_patches[@]}"; do |
84 |
+ rm -v "${WORKDIR}/patch/${p}" || die |
85 |
+ done |
86 |
+ |
87 |
+ if has_version '>=sys-libs/glibc-2.32-r1'; then |
88 |
+ rm -v "${WORKDIR}/patch/23_all_disable-riscv32-ABIs.patch" || die |
89 |
+ fi |
90 |
+ |
91 |
+ toolchain_src_prepare |
92 |
+} |