~ruther/guix-local

f15615b11954dd7c5e4366fc615a1eee62e0ee57 — Ludovic Courtès 11 years ago 77b0ac9
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.
1 files changed, 11 insertions(+), 8 deletions(-)

M gnu/packages/maths.scm
M gnu/packages/maths.scm => gnu/packages/maths.scm +11 -8
@@ 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
       ;; <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)
                  (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
...