public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/kgcc64/
Date: Wed, 17 May 2023 01:31:56 +0000 (UTC)	[thread overview]
Message-ID: <1684284562.486bedaf1632ec7dcb80127b82b3477bd48181a9.sam@gentoo> (raw)

commit:     486bedaf1632ec7dcb80127b82b3477bd48181a9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed May 17 00:49:22 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 17 00:49:22 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=486bedaf

sys-devel/kgcc64: add 12.3.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/kgcc64/Manifest             |  3 +++
 sys-devel/kgcc64/kgcc64-12.3.0.ebuild | 45 +++++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/sys-devel/kgcc64/Manifest b/sys-devel/kgcc64/Manifest
index dcbdd672a599..b7abcb5a2fe5 100644
--- a/sys-devel/kgcc64/Manifest
+++ b/sys-devel/kgcc64/Manifest
@@ -6,3 +6,6 @@ DIST gcc-11.3.0.tar.xz 81141364 BLAKE2B 7e562d25446ca4ab9fe8cdb714866f66aba3744d
 DIST gcc-12.2.0-musl-patches-1.tar.xz 3844 BLAKE2B 004432806696f7d0a32366270ac45695e858abee73a255e44dc6e0a225339e4cad40aab0d51dfe9a55d5aa4b4001f5726064bb2eea3212a0874b2d27e229abd7 SHA512 c354edcd641a9dfaf902a0ff4c44c75065d0cf1c36bbf6c3c35c2e23bff22b8f70bcf4458a5a0ef86371e9f2fafca8a54ca822e35820ff442c9458a2819c3606
 DIST gcc-12.2.0-patches-1.tar.xz 12864 BLAKE2B a5ae0a85dfc1b6f0bd968f0d5262ebed14ec9cdb3249e3a4c571578c54eda0e53708ee7fe8e03e506366c7f3cf7926eced9b390d9dee948c1249298c0fabd9fb SHA512 f3d793b89a2a0385d596162fb0c653d4acdf21ae418cb792c1786a01fde0391bd0719715dbf07d53636f127168f5cd99108a1dc11cf6cea889b7d82385bcc258
 DIST gcc-12.2.0.tar.xz 84645292 BLAKE2B 715574af9ad678f9dc8cfd19c866bf910c7edfd479e7e9681337feaa9b54e5d304ddb85483816b8d89754d502405823ae2eff0d1e444538763f40be8e428d8da SHA512 e9e857bd81bf7a370307d6848c81b2f5403db8c7b5207f54bce3f3faac3bde63445684092c2bc1a2427cddb6f7746496d9fbbef05fbbd77f2810b2998f1f9173
+DIST gcc-12.3.0-musl-patches-1.tar.xz 3572 BLAKE2B c7bf65f7c9ea8023ddaac821ee2b778622fa310ac72a72b2f7032494a8f304eac86217f9204622e6c21aaef9952bece0d09bc126facd4f42b602927909815ab5 SHA512 babc279fea2c1fd4c018815f2f5630214fd46015ce9f365c28af242681d51818eaca30ce298eddcab1eed5ac5f2759e2b47b2335afab9d722b4469a6d4fec326
+DIST gcc-12.3.0-patches-2.tar.xz 14236 BLAKE2B 06c43662c9abb0fa3cf90d5e2273c69aecb9158e6cf6f23c04754ed5d686be2616e81e2502eb16f4298ddd50518ca7677e13249da9e9b091162d3931ff65e4fe SHA512 b0d4b85dbf1a54aaaa1997203b872e3106906b4ad49cde57e1428bc22b2f8e2d73b8cb10ae0d0b792aebaf664594da4d1dea04c44ddc34e59047410766db04d1
+DIST gcc-12.3.0.tar.xz 85491976 BLAKE2B a239749089e284887435b9fabc360a36764be1095f4c78eeac6f056f91dd23c49dab2ebec5da32a81bcc08fe8277dd3c714ad114ad725d24317faac03354d595 SHA512 8fb799dfa2e5de5284edf8f821e3d40c2781e4c570f5adfdb1ca0671fcae3fb7f794ea783e80f01ec7bfbf912ca508e478bd749b2755c2c14e4055648146c204

diff --git a/sys-devel/kgcc64/kgcc64-12.3.0.ebuild b/sys-devel/kgcc64/kgcc64-12.3.0.ebuild
new file mode 100644
index 000000000000..03a260bc6520
--- /dev/null
+++ b/sys-devel/kgcc64/kgcc64-12.3.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+case ${CHOST} in
+	hppa*)    CTARGET=hppa64-${CHOST#*-};;
+	mips*)    CTARGET=${CHOST/mips/mips64};;
+	powerpc*) CTARGET=${CHOST/powerpc/powerpc64};;
+	s390*)    CTARGET=${CHOST/s390/s390x};;
+	sparc*)   CTARGET=${CHOST/sparc/sparc64};;
+	i?86*)    CTARGET=x86_64-${CHOST#*-};;
+esac
+export CTARGET
+TOOLCHAIN_ALLOWED_LANGS="c"
+TOOLCHAIN_PATCH_DEV="sam"
+PATCH_VER="2"
+PATCH_GCC_VER="12.3.0"
+MUSL_VER="1"
+MUSL_GCC_VER="12.3.0"
+GCC_TARGET_NO_MULTILIB=true
+inherit toolchain
+
+DESCRIPTION="64bit kernel compiler"
+
+# Works on hppa and mips; all other archs, refer to bug #228115
+KEYWORDS="~hppa"
+
+# unlike every other target, hppa has not unified the 32/64 bit
+# ports in binutils yet
+BDEPEND="hppa? ( sys-devel/binutils-hppa64 )"
+
+pkg_postinst() {
+	toolchain_pkg_postinst
+
+	cd "${ROOT}"/usr/bin
+	local x
+	for x in gcc cpp ; do
+		cat <<-EOF >${CTARGET%%-*}-linux-${x}
+		#!/bin/sh
+		exec ${CTARGET}-${x} "\$@"
+		EOF
+		chmod a+rx ${CTARGET%%-*}-linux-${x}
+	done
+}


             reply	other threads:[~2023-05-17  1:32 UTC|newest]

Thread overview: 153+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-17  1:31 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-14  5:43 [gentoo-commits] repo/gentoo:master commit in: sys-devel/kgcc64/ Sam James
2025-03-14  5:17 Sam James
2025-03-14  5:17 Sam James
2025-03-14  5:17 Sam James
2024-12-27 17:58 Sam James
2024-12-27 17:58 Sam James
2024-12-27 17:58 Sam James
2024-12-27 13:16 Sam James
2024-12-27 13:16 Sam James
2024-12-27 13:16 Sam James
2024-11-21 15:15 Sam James
2024-11-21 15:15 Sam James
2024-11-20 17:33 Sam James
2024-11-20 17:33 Sam James
2024-11-20 17:33 Sam James
2024-11-20 17:33 Sam James
2024-11-20 17:29 Sam James
2024-11-20 17:29 Sam James
2024-11-20 15:52 Sam James
2024-11-19 14:47 Sam James
2024-11-02  2:44 Sam James
2024-11-02  2:44 Sam James
2024-11-02  2:43 Sam James
2024-11-02  2:43 Sam James
2024-11-02  2:43 Sam James
2024-09-22 10:36 Sam James
2024-09-22 10:36 Sam James
2024-09-22 10:36 Sam James
2024-09-22 10:36 Sam James
2024-09-22 10:36 Sam James
2024-09-22 10:19 Sam James
2024-09-22 10:19 Sam James
2024-09-22 10:19 Sam James
2024-09-18 15:55 Sam James
2024-09-18 15:51 Sam James
2024-09-09 15:10 Sam James
2024-09-05  4:05 Sam James
2024-09-05  4:05 Sam James
2024-09-05  4:05 Sam James
2024-09-05  4:05 Sam James
2024-09-05  4:05 Sam James
2024-09-05  4:05 Sam James
2024-09-05  4:05 Sam James
2024-07-17  4:31 Sam James
2024-07-17  4:31 Sam James
2024-07-17  4:31 Sam James
2024-07-17  4:31 Sam James
2024-05-19 18:44 Sam James
2024-05-09 23:29 Sam James
2024-05-04 15:10 Sam James
2024-05-04 15:10 Sam James
2024-05-04 15:10 Sam James
2024-03-23 15:44 Sam James
2024-03-16  9:29 Sam James
2024-03-16  9:29 Sam James
2024-03-02  4:57 Sam James
2024-03-02  4:57 Sam James
2024-03-02  4:57 Sam James
2024-02-15 23:40 Sam James
2024-02-15 23:40 Sam James
2024-02-15 23:40 Sam James
2024-01-23  4:23 Sam James
2024-01-23  4:23 Sam James
2024-01-23  4:23 Sam James
2024-01-22 17:28 Sam James
2024-01-22 17:28 Sam James
2024-01-22 17:28 Sam James
2023-12-18  1:20 Sam James
2023-12-18  1:20 Sam James
2023-12-18  1:20 Sam James
2023-11-22 12:08 Sam James
2023-11-22 12:08 Sam James
2023-10-30 23:09 Sam James
2023-10-30  5:00 Sam James
2023-10-20  3:49 Sam James
2023-10-20  3:49 Sam James
2023-10-18  9:48 Sam James
2023-09-27  8:26 Sam James
2023-08-27  1:54 Sam James
2023-08-27  1:54 Sam James
2023-08-27  1:54 Sam James
2023-08-07 15:54 Arthur Zamarin
2023-08-03 15:48 Sam James
2023-07-29  2:26 Sam James
2023-07-23 16:24 Sam James
2023-07-23 16:24 Sam James
2023-07-23 16:24 Sam James
2023-05-17  1:31 Sam James
2023-01-25 19:17 Arthur Zamarin
2022-11-20  4:35 Sam James
2022-11-20  4:35 Sam James
2022-08-31  4:58 Sam James
2022-08-31  4:58 Sam James
2022-08-31  4:58 Sam James
2022-07-26  4:15 Sam James
2022-06-02  8:25 Sam James
2022-04-21 20:31 Sam James
2022-04-21 12:30 Sam James
2022-04-17 18:32 Sam James
2022-03-18  6:44 Sam James
2022-03-18  6:43 Sam James
2022-01-22  3:01 Sam James
2022-01-06 20:02 Sam James
2022-01-06 20:02 Sam James
2021-06-11 16:58 Sergei Trofimovich
2021-05-09 11:53 Sergei Trofimovich
2021-05-09 11:53 Sergei Trofimovich
2021-04-30  7:10 Sergei Trofimovich
2021-04-24 12:49 Sergei Trofimovich
2021-03-06 19:38 Sergei Trofimovich
2021-03-06 19:38 Sergei Trofimovich
2021-02-20 11:02 Sergei Trofimovich
2020-10-10  8:39 Sergei Trofimovich
2020-10-10  8:39 Sergei Trofimovich
2020-07-23 17:38 Sergei Trofimovich
2020-07-23 17:18 Sergei Trofimovich
2020-07-23 17:18 Sergei Trofimovich
2020-07-23  8:59 Sergei Trofimovich
2020-06-08 16:44 Sergei Trofimovich
2020-05-08  0:31 Sergei Trofimovich
2020-04-12 15:06 Sergei Trofimovich
2020-04-12 15:06 Sergei Trofimovich
2020-04-03  6:41 Sergei Trofimovich
2020-03-14 10:04 Sergei Trofimovich
2019-11-13 23:09 Jeroen Roovers
2019-09-03 19:31 Jeroen Roovers
2019-06-30 18:39 Jeroen Roovers
2019-06-30 15:59 Jeroen Roovers
2019-02-23 13:04 Jeroen Roovers
2019-02-22 23:58 Sergei Trofimovich
2018-08-20 11:41 Jeroen Roovers
2018-07-26 21:23 Sergei Trofimovich
2018-02-25 14:31 Jeroen Roovers
2018-02-24 10:54 Jeroen Roovers
2018-02-24  8:15 Jeroen Roovers
2018-01-01 10:16 Anthony G. Basile
2017-09-16 10:00 Sergei Trofimovich
2017-09-16  9:25 Sergei Trofimovich
2017-09-16  9:25 Sergei Trofimovich
2017-05-06 11:48 Jeroen Roovers
2017-05-06 11:48 Jeroen Roovers
2017-05-06 11:48 Jeroen Roovers
2017-02-18  9:12 Jeroen Roovers
2016-10-09  9:38 Jeroen Roovers
2016-10-02 12:14 Jeroen Roovers
2016-06-25 21:01 Jeroen Roovers
2016-03-26  9:32 Jeroen Roovers
2015-10-31  7:02 Jeroen Roovers
2015-10-01 16:13 Mike Frysinger
2015-09-27  6:02 Jeroen Roovers
2015-09-27  4:34 Jeroen Roovers
2015-09-11  6:09 Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1684284562.486bedaf1632ec7dcb80127b82b3477bd48181a9.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox