aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
Diffstat (limited to 'development')
-rw-r--r--development/numpy/README18
-rw-r--r--development/numpy/numpy.SlackBuild8
-rw-r--r--development/numpy/numpy.info6
3 files changed, 23 insertions, 9 deletions
diff --git a/development/numpy/README b/development/numpy/README
index fe0e06e44f063..7e44029a857cb 100644
--- a/development/numpy/README
+++ b/development/numpy/README
@@ -5,8 +5,22 @@ arrays. NumPy is built on the Numeric code base and adds features
introduced by numarray as well as an extended C-API and the ability to
create arrays of arbitrary type which also makes NumPy suitable for
interfacing with general-purpose data-base applications.
-
+
There are also basic facilities for discrete fourier transform, basic
linear algebra and random number generation.
-If you need to build numpy for debugging, set DEBUG=y.
+If you need to build numpy for debugging, set DEBUG=y. If software
+depending on numpy is having problems with the new relaxed strides
+checking, set NPY_RSC=0.
+
+It is highly recommended to install optimized BLAS and LAPACK libs
+before installing numpy. You may choose between ATLAS+LAPACK and
+OpenBLAS.
+
+IMPORTANT: The version installed by this SlackBuild doesn NOT include the
+ oldnumeric and numarray compatibility modules since starting with
+ version 1.9.0 these modules got removed by the numpy developers.
+ If you need these compatibility modules please consider the
+ numpy-legacy SlackBuild.
+ THUS: This SlackBuild conflicts with the numpy-legacy SlackBuild
+ which installs versions < 1.9.0!
diff --git a/development/numpy/numpy.SlackBuild b/development/numpy/numpy.SlackBuild
index 2bc381c679656..d3e416836be86 100644
--- a/development/numpy/numpy.SlackBuild
+++ b/development/numpy/numpy.SlackBuild
@@ -3,13 +3,13 @@
# Slackware build script for NumPy
# Written by Aleksandar Samardzic <asamardzic@gmail.com>
-# Updated up to 1.6.2 by Serban Udrea <S.Udrea@gsi.de>
+# Updated up to 1.9.0 by Serban Udrea <S.Udrea@gsi.de>
# Added support for building with debugging symbols (S. Udrea)
# LIBDIRSUFFIX is now needed to set the proper path for
# UMFPACK (S. Udrea)
PRGNAM=numpy
-VERSION=${VERSION:-1.8.0}
+VERSION=${VERSION:-1.9.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -77,12 +77,12 @@ case "$DEBUG" in
esac
if [ ! "$DEBUG" ]; then
- python setup.py install --root $PKG
+ NPY_RELAXED_STRIDES_CHECKING=${NPY_RSC:-1} python setup.py install --root $PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
else
- python setup.py build --debug
+ NPY_RELAXED_STRIDES_CHECKING=${NPY_RSC:-1} python setup.py build --debug
python setup.py install --root $PKG
fi
diff --git a/development/numpy/numpy.info b/development/numpy/numpy.info
index b07704439c470..2d911b98ef46c 100644
--- a/development/numpy/numpy.info
+++ b/development/numpy/numpy.info
@@ -1,8 +1,8 @@
PRGNAM="numpy"
-VERSION="1.8.0"
+VERSION="1.9.0"
HOMEPAGE="http://numpy.scipy.org/"
-DOWNLOAD="http://download.sourceforge.net/project/numpy/NumPy/1.8.0/numpy-1.8.0.tar.gz"
-MD5SUM="2a4b0423a758706d592abb6721ec8dcd"
+DOWNLOAD="http://download.sourceforge.net/project/numpy/NumPy/1.9.0/numpy-1.9.0.tar.gz"
+MD5SUM="a93dfc447f3ef749b31447084839930b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""