gnu: atlas: Make it non-substitutable.

Suggested by Federico Beffa <beffa@ieee.org>.

* gnu/packages/maths.scm (atlas)[arguments]: Pass #:substitutable? #f.
  [description]: Adjust accordingly.
This commit is contained in:
Ludovic Courtès 2014-10-28 10:17:55 +01:00
parent 77b0ac905d
commit f15615b119

View File

@ -956,6 +956,13 @@ point numbers")
(arguments (arguments
`(#:parallel-build? #f `(#:parallel-build? #f
#:parallel-tests? #f #:parallel-tests? #f
;; ATLAS tunes itself for the machine it is built on, as explained at
;; <http://lists.gnu.org/archive/html/guix-devel/2014-10/msg00305.html>.
;; For this reason, we want users to build it locally instead of using
;; substitutes.
#:substitutable? #f
#:modules ((srfi srfi-26) #:modules ((srfi srfi-26)
(srfi srfi-1) (srfi srfi-1)
(guix build gnu-build-system) (guix build gnu-build-system)
@ -1037,15 +1044,11 @@ point numbers")
providing C and Fortran77 interfaces to a portably efficient BLAS providing C and Fortran77 interfaces to a portably efficient BLAS
implementation, as well as a few routines from LAPACK. implementation, as well as a few routines from LAPACK.
Optimization occurs at build time. For this reason you should build the Optimization occurs at build time. For this reason, the library is built on
library on the maschine on which you will use it. The package must therefore the machine where it is installed, without resorting to pre-built substitutes.
be installed without making use of substitutes. This can be achieved with the
following command:
\"guix package --no-substitutes -i atlas\" Before building the library, CPU throttling should be disabled. This can be
done in the BIOS, or, on GNU/Linux, with the following commands:
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:
cpufreq-selector -g performance -c 0 cpufreq-selector -g performance -c 0
... ...