aboutsummaryrefslogtreecommitdiff
path: root/reproduce/config/pipeline
diff options
context:
space:
mode:
authorRaul Infante-Sainz <infantesainz@gmail.com>2019-04-02 16:26:43 +0100
committerRaul Infante-Sainz <infantesainz@gmail.com>2019-04-02 16:26:43 +0100
commitf0030ea8974b41ef4b26c3ce41c3294b224fb358 (patch)
tree56b6051d54c14e2b8fb34bf38d6c14dfa73c9768 /reproduce/config/pipeline
parentd26372bb074b1e4ac5ff758d7716129975fe4963 (diff)
Numpy and Scipy using OpenBLAS instead of ATLAS
We could not get ATLAS shared libraries on Mac (while the static ATLAS libraries are built and can be used successfully on Mac). So, the pipeline now builds OpenBLAS, which both Numpy and Scipy can use on Mac and GNU/Linux. We also added FFTW as a dependency of Numpy. Altough Numpy is not linking to FFTW for some reason. However, since FFTW is a low level library used by many programs, we have kept it as a dependency of Numpy anyway for now.
Diffstat (limited to 'reproduce/config/pipeline')
-rw-r--r--reproduce/config/pipeline/dependency-numpy-scipy.cfg20
-rw-r--r--reproduce/config/pipeline/dependency-versions.mk2
2 files changed, 8 insertions, 14 deletions
diff --git a/reproduce/config/pipeline/dependency-numpy-scipy.cfg b/reproduce/config/pipeline/dependency-numpy-scipy.cfg
index 55e93bc..0eecf3a 100644
--- a/reproduce/config/pipeline/dependency-numpy-scipy.cfg
+++ b/reproduce/config/pipeline/dependency-numpy-scipy.cfg
@@ -16,17 +16,6 @@
library_dirs = @LIBDIR@
include_dirs = @INCDIR@
-# Atlas
-# -----
-# Atlas is an open source optimized implementation of the BLAS and Lapack
-# routines. NumPy will try to build against Atlas by default when available in
-# the system library dirs. To build numpy against a custom installation of
-# Atlas you can add an explicit section such as the following. Here we assume
-# that Atlas was configured with ``prefix=/opt/atlas``.
-#
- [atlas]
- library_dirs = @LIBDIR@
- include_dirs = @INCDIR@
# FFT libraries
# -------------
@@ -38,10 +27,13 @@
#
# Given only this section, numpy.distutils will try to figure out which version
# of FFTW you are using.
-#[fftw]
-#libraries = fftw3
+
+# Even with this section, Numpy apparently does not use fftw. But we will
+# keep it here for the future (if a solution is found).
+[fftw]
+libraries = fftw3
#
-# For djbfft, numpy.distutils will look for either djbfft.a or libdjbfft.a .
+# For djbfft, numpy.distutils will look for either djbfft.a or libdjbfft.a .
#[djbfft]
#include_dirs = /usr/local/djbfft/include
#library_dirs = /usr/local/djbfft/lib
diff --git a/reproduce/config/pipeline/dependency-versions.mk b/reproduce/config/pipeline/dependency-versions.mk
index 211ebbd..cb5920e 100644
--- a/reproduce/config/pipeline/dependency-versions.mk
+++ b/reproduce/config/pipeline/dependency-versions.mk
@@ -6,6 +6,7 @@ binutils-version = 2.31.1
cmake-version = 3.12.4
coreutils-version = 8.30
diffutils-version = 3.7
+fftw-version = 3.3.8
findutils-version = 4.6.0.199-e3fc
flock-version = 0.2.3
freetype-version = 2.9
@@ -48,6 +49,7 @@ curl-version = 7.63.0
gsl-version = 2.5
libjpeg-version = v9b
libtiff-version = 4.0.10
+openblas-version = 0.3.5
zlib-version = 1.2.11
# Special libraries