guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/12: gnu: gcc: Add 12.1.0.


From: guix-commits
Subject: 03/12: gnu: gcc: Add 12.1.0.
Date: Tue, 24 May 2022 11:21:50 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 37e29ccd332f371aacedc71388e805fbc9e947fa
Author: Ludovic Courtès <ludovic.courtes@inria.fr>
AuthorDate: Tue May 24 14:54:30 2022 +0200

    gnu: gcc: Add 12.1.0.
    
    * gnu/packages/gcc.scm (gcc-12): New variable.
---
 gnu/packages/gcc.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 2d62d9d207..6823b41ee0 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -698,6 +698,24 @@ It also includes runtime support libraries for these 
languages.")
        ("armhf" ,@%gcc-11-armhf-micro-architectures)
        ("x86_64" ,@%gcc-11-x86_64-micro-architectures))))))
 
+(define-public gcc-12
+  (package
+    (inherit gcc-11)
+    ;; Note: 'compiler-cpu-architectures' is unchanged compared to GCC 11.
+    (version "12.1.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnu/gcc/gcc-"
+                                  version "/gcc-" version ".tar.xz"))
+              (sha256
+               (base32
+                "0ywws66myjxcwsmla721g35d2ymlckq6ii7j9av0477ki5467zb2"))
+              (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)))))
+
+
 ;; Note: When changing the default gcc version, update
 ;;       the gcc-toolchain-* definitions.
 (define-public gcc gcc-10)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]