gnu: gcc: Add tuning targets for powerpc64le-linux.

* gnu/packages/gcc.scm (%gcc-10-ppc64le-micro-architectures): New
variable.
(gcc-10, gcc-11, gcc-12, gcc-13)[properties]: Add entry in
compiler-cpu-architectures for powerpc64le.

Change-Id: I3f5d0f5949eea7ac1b1914ac1db2867f5d14aee6
This commit is contained in:
Efraim Flashner 2024-06-10 09:13:00 +03:00
parent d346f392ee
commit 9087ee2f6e
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -599,6 +599,9 @@ Go. It also includes runtime support libraries for these languages.")
'("armv8.3-a" "armv8.4-a" "armv8.5-a" "armv8.6-a"
"armv8-r" "armv8.1-m.main")))
(define %gcc-10-ppc64le-micro-architectures
'("power8" "power9" "power10" "powerpc64le"))
(define %gcc-10-x86_64-micro-architectures
;; Suitable '-march' values for GCC 10.
(append %gcc-7.5-x86_64-micro-architectures
@ -730,6 +733,7 @@ It also includes runtime support libraries for these languages.")
`((compiler-cpu-architectures
("aarch64" ,@%gcc-10-aarch64-micro-architectures)
("armhf" ,@%gcc-10-armhf-micro-architectures)
("powerpc64le" ,@%gcc-10-ppc64le-micro-architectures)
("i686" ,@%gcc-10-x86_64-micro-architectures)
("x86_64" ,@%gcc-10-x86_64-micro-architectures))
,@(package-properties gcc-8)))))
@ -767,6 +771,7 @@ It also includes runtime support libraries for these languages.")
("aarch64" ,@%gcc-11-aarch64-micro-architectures)
("armhf" ,@%gcc-11-armhf-micro-architectures)
("i686" ,@%gcc-11-x86_64-micro-architectures)
("powerpc64le" ,@%gcc-10-ppc64le-micro-architectures)
("x86_64" ,@%gcc-11-x86_64-micro-architectures))
,@(package-properties gcc-8)))))
@ -790,6 +795,7 @@ It also includes runtime support libraries for these languages.")
("aarch64" ,@%gcc-12-aarch64-micro-architectures)
("armhf" ,@%gcc-12-armhf-micro-architectures)
("i686" ,@%gcc-12-x86_64-micro-architectures)
("powerpc64le" ,@%gcc-10-ppc64le-micro-architectures)
("x86_64" ,@%gcc-12-x86_64-micro-architectures))
,@(package-properties gcc-11)))))
@ -820,6 +826,7 @@ It also includes runtime support libraries for these languages.")
("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-13-x86_64-micro-architectures))
,@(package-properties gcc-11)))))