mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: gcc-14: Add tuning target.
* gnu/packages/gcc.scm (%gcc-14-x86_64-micro-architectures): New variable. (gcc-14)[properties]: Use it. Change-Id: I00f9e2a4c9d590f97977275b157002ac330b895b
This commit is contained in:
parent
edfdc905d9
commit
1d4a44a29b
1 changed files with 13 additions and 1 deletions
|
@ -645,6 +645,10 @@ (define %gcc-13-x86_64-micro-architectures
|
|||
(append %gcc-12-x86_64-micro-architectures
|
||||
'("graniterapids"))) ;Intel
|
||||
|
||||
(define %gcc-14-x86_64-micro-architectures
|
||||
(append %gcc-13-x86_64-micro-architectures
|
||||
'("znver5"))) ;AMD
|
||||
|
||||
(define-public gcc-7
|
||||
(package
|
||||
(inherit gcc-6)
|
||||
|
@ -839,7 +843,15 @@ (define-public gcc-14
|
|||
(add-before 'configure 'pre-x86-configure
|
||||
(lambda _
|
||||
(substitute* "gcc/config/i386/t-linux64"
|
||||
(("\\.\\./lib64") "../lib"))))))))))
|
||||
(("\\.\\./lib64") "../lib"))))))))
|
||||
(properties
|
||||
`((compiler-cpu-architectures
|
||||
("aarch64" ,@%gcc-13-aarch64-micro-architectures)
|
||||
("armhf" ,@%gcc-13-armhf-micro-architectures)
|
||||
("i686" ,@%gcc-13-x86_64-micro-architectures)
|
||||
("powerpc64le" ,@%gcc-10-ppc64le-micro-architectures)
|
||||
("x86_64" ,@%gcc-14-x86_64-micro-architectures))
|
||||
,@(package-properties gcc-11)))))
|
||||
|
||||
|
||||
;; Note: When changing the default gcc version, update
|
||||
|
|
Loading…
Reference in a new issue