mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: gcc: Add 12.1.0.
* gnu/packages/gcc.scm (gcc-12): New variable.
This commit is contained in:
parent
dc9503dd5e
commit
37e29ccd33
1 changed files with 18 additions and 0 deletions
|
@ -698,6 +698,24 @@ (define-public gcc-11
|
|||
("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)
|
||||
|
|
Loading…
Reference in a new issue