summaryrefslogtreecommitdiff
path: root/development/numpy/numpy.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/numpy/numpy.SlackBuild')
-rw-r--r--development/numpy/numpy.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/development/numpy/numpy.SlackBuild b/development/numpy/numpy.SlackBuild
index 2bc381c679..d3e416836b 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