From 9e497f44ba8104b6b4743e72cb041c8e15586a83 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 6 Nov 2021 01:06:06 -0400 Subject: gnu: openblas: Add support for older x86 processors. Fixes . * gnu/packages/maths.scm (openblas)[make-flags]: Make the x86_64, i686, powerpc64le and aarch64 architectures share the same flags; this causes the DYNAMIC_OLDER=1 to be added for all of them and TARGET=GENERIC to be added for the x86_64 and i686 architectures. --- gnu/packages/maths.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 2f0ef52613..45c28106e7 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -4444,13 +4444,13 @@ parts of it.") ,@(let ((system (or (%current-target-system) (%current-system)))) (cond ((or (string-prefix? "x86_64" system) - (string-prefix? "i686" system)) - '("DYNAMIC_ARCH=1")) - ;; On some of these architectures the CPU can't be detected. - ((or (string-prefix? "powerpc64le" system) + (string-prefix? "i686" system) + (string-prefix? "powerpc64le" system) (string-prefix? "aarch64" system)) - '("DYNAMIC_ARCH=1" - "TARGET=GENERIC")) + ;; Dynamic older enables a few extra CPU architectures that + ;; were released before 2010. + '("DYNAMIC_ARCH=1" "DYNAMIC_OLDER=1" "TARGET=GENERIC")) + ;; On some of these architectures the CPU can't be detected. ;; On MIPS we force the "SICORTEX" TARGET, as for the other ;; two available MIPS targets special extended instructions ;; for Loongson cores are used. -- cgit v1.2.3