From 326fa66415fe8e9ed2b28a249b903f4a654b769e Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 25 Mar 2015 19:20:11 +0100 Subject: [PATCH] gnu: openblas: build for all supported CPUs. * gnu/packages/maths.scm (openblas)[arguments]: Pass make flag "DYNAMIC_ARCH=1" to build library for all CPUs, making it substitutable. --- gnu/packages/maths.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 49667cc..57c1e9f 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -1033,10 +1033,10 @@ constant parts of it.") (build-system gnu-build-system) (arguments '(#:tests? #f ;no "check" target - #:substitutable? #f ;force local build because of CPU detection #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")) "SHELL=bash" + "DYNAMIC_ARCH=1" "NO_LAPACK=1") ;; no configure script #:phases (alist-delete 'configure %standard-phases))) -- 2.1.0