unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#66230] [PATCH 1/2] gnu: Add gcc-13.
@ 2023-09-27 10:50 Hilton Chain via Guix-patches via
  2023-09-27 10:57 ` [bug#66230] [PATCH 2/2] gnu: Add gcc-toolchain-13 Hilton Chain via Guix-patches via
  0 siblings, 1 reply; 3+ messages in thread
From: Hilton Chain via Guix-patches via @ 2023-09-27 10:50 UTC (permalink / raw)
  To: 66230; +Cc: Hilton Chain

* 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





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#66230] [PATCH 2/2] gnu: Add gcc-toolchain-13.
  2023-09-27 10:50 [bug#66230] [PATCH 1/2] gnu: Add gcc-13 Hilton Chain via Guix-patches via
@ 2023-09-27 10:57 ` Hilton Chain via Guix-patches via
  2023-09-28 16:46   ` bug#66230: " Efraim Flashner
  0 siblings, 1 reply; 3+ messages in thread
From: Hilton Chain via Guix-patches via @ 2023-09-27 10:57 UTC (permalink / raw)
  To: 66230; +Cc: Hilton Chain

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

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 9604f06a47..80fdb5aed7 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -3635,6 +3635,9 @@ (define-public gcc-toolchain-11
 (define-public gcc-toolchain-12
   (make-gcc-toolchain gcc-12))
 
+(define-public gcc-toolchain-13
+  (make-gcc-toolchain gcc-13))
+
 (define-public gcc-toolchain-aka-gcc
   ;; It's natural for users to try "guix install gcc".  This package
   ;; automatically "redirects" them to 'gcc-toolchain'.
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#66230: [PATCH 2/2] gnu: Add gcc-toolchain-13.
  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   ` Efraim Flashner
  0 siblings, 0 replies; 3+ messages in thread
From: Efraim Flashner @ 2023-09-28 16:46 UTC (permalink / raw)
  To: Hilton Chain; +Cc: 66230-done

[-- Attachment #1: Type: text/plain, Size: 238 bytes --]

Thanks. Patches pushed!

-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-28 16:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-27 10:50 [bug#66230] [PATCH 1/2] gnu: Add gcc-13 Hilton Chain via Guix-patches via
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

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).