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