all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hilton Chain via Guix-patches via <guix-patches@gnu.org>
To: 66230@debbugs.gnu.org
Cc: Hilton Chain <hako@ultrarare.space>
Subject: [bug#66230] [PATCH 1/2] gnu: Add gcc-13.
Date: Wed, 27 Sep 2023 18:50:49 +0800	[thread overview]
Message-ID: <5b51cce25c97881e2ab74d8b92bfb92b477909fb.1695811680.git.hako@ultrarare.space> (raw)

* gnu/packages/gcc.scm (gcc-13): New variable.
---
 gnu/packages/gcc.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index c3a2d6256c..04926e6385 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -783,6 +783,28 @@ (define-public gcc-12
        ("x86_64" ,@%gcc-12-x86_64-micro-architectures))
       ,@(package-properties gcc-11)))))
 
+(define-public gcc-13
+  (package
+    (inherit gcc-11)
+    (version "13.2.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnu/gcc/gcc-"
+                                  version "/gcc-" version ".tar.xz"))
+              (sha256
+               (base32
+                "1nj3qyswcgc650sl3h0480a171ixp33ca13zl90p61m689jffxg2"))
+              (patches (search-patches "gcc-12-strmov-store-file-names.patch"
+                                       "gcc-5.0-libvtv-runpath.patch"))
+              (modules '((guix build utils)))
+              (snippet gcc-canadian-cross-objdump-snippet)))
+    (properties
+     `((compiler-cpu-architectures
+        ("aarch64" ,@%gcc-13-aarch64-micro-architectures)
+        ("armhf" ,@%gcc-13-armhf-micro-architectures)
+        ("x86_64" ,@%gcc-13-x86_64-micro-architectures))
+       ,@(package-properties gcc-11)))))
+
 
 ;; Note: When changing the default gcc version, update
 ;;       the gcc-toolchain-* definitions.

base-commit: 15fdeaeb2d4df755811db92cc7c3c7cb19155dec
-- 
2.41.0





             reply	other threads:[~2023-09-27 10:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-27 10:50 Hilton Chain via Guix-patches via [this message]
2023-09-27 10:57 ` [bug#66230] [PATCH 2/2] gnu: Add gcc-toolchain-13 Hilton Chain via Guix-patches via
2023-09-28 16:46   ` bug#66230: " Efraim Flashner

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=5b51cce25c97881e2ab74d8b92bfb92b477909fb.1695811680.git.hako@ultrarare.space \
    --to=guix-patches@gnu.org \
    --cc=66230@debbugs.gnu.org \
    --cc=hako@ultrarare.space \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.