From f15615b11954dd7c5e4366fc615a1eee62e0ee57 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 28 Oct 2014 10:17:55 +0100 Subject: gnu: atlas: Make it non-substitutable. Suggested by Federico Beffa . * gnu/packages/maths.scm (atlas)[arguments]: Pass #:substitutable? #f. [description]: Adjust accordingly. --- gnu/packages/maths.scm | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 10f26698bc..1aa3757ebe 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -956,6 +956,13 @@ point numbers") (arguments `(#:parallel-build? #f #:parallel-tests? #f + + ;; ATLAS tunes itself for the machine it is built on, as explained at + ;; . + ;; For this reason, we want users to build it locally instead of using + ;; substitutes. + #:substitutable? #f + #:modules ((srfi srfi-26) (srfi srfi-1) (guix build gnu-build-system) @@ -1037,15 +1044,11 @@ point numbers") providing C and Fortran77 interfaces to a portably efficient BLAS implementation, as well as a few routines from LAPACK. -Optimization occurs at build time. For this reason you should build the -library on the maschine on which you will use it. The package must therefore -be installed without making use of substitutes. This can be achieved with the -following command: - -\"guix package --no-substitutes -i atlas\" +Optimization occurs at build time. For this reason, the library is built on +the machine where it is installed, without resorting to pre-built substitutes. -In addition, before building the library, CPU throttling should be disabled. -This can be done in the BIOS, or, on Linux, with the following commands: +Before building the library, CPU throttling should be disabled. This can be +done in the BIOS, or, on GNU/Linux, with the following commands: cpufreq-selector -g performance -c 0 ... -- cgit v1.2.3