diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-09-30 11:34:34 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-09-30 13:38:15 +0300 |
commit | 1d4a44a29b75cb4d2ffe79aec135efbced02476a (patch) | |
tree | f082994e52408935065bdef4d78e2684da6054bc /gnu | |
parent | edfdc905d9438d502de95b8db43073ccd7cd1b7f (diff) | |
download | guix-1d4a44a29b75cb4d2ffe79aec135efbced02476a.tar guix-1d4a44a29b75cb4d2ffe79aec135efbced02476a.tar.gz |
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
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/gcc.scm | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index 7fceb4be96..c6c7730ad1 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -645,6 +645,10 @@ Go. It also includes runtime support libraries for these languages.") (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 @@ It also includes runtime support libraries for these languages.") (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 |