summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-07-17 21:20:39 -0700
committerGitHub <noreply@github.com>2016-07-17 21:20:39 -0700
commitc898b9db04677a801273690d794b8e29919160a3 (patch)
tree4bc3ecadd53b0a92dec36ff79142a86507637d96 /var
parent117743863e35b50be7e9de6823182b1cc962cff7 (diff)
parentd339f2af292a46401449395c81a87a37203b5061 (diff)
downloadspack-c898b9db04677a801273690d794b8e29919160a3.tar.gz
spack-c898b9db04677a801273690d794b8e29919160a3.tar.bz2
spack-c898b9db04677a801273690d794b8e29919160a3.tar.xz
spack-c898b9db04677a801273690d794b8e29919160a3.zip
Merge pull request #1188 from epfl-scitas/packages/py-numpy
RPATH for blas in py numpy
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-numpy/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-numpy/package.py b/var/spack/repos/builtin/packages/py-numpy/package.py
index 273f5bfd8d..6bc11a5e48 100644
--- a/var/spack/repos/builtin/packages/py-numpy/package.py
+++ b/var/spack/repos/builtin/packages/py-numpy/package.py
@@ -24,6 +24,7 @@
##############################################################################
from spack import *
+
class PyNumpy(Package):
"""NumPy is the fundamental package for scientific computing with Python.
It contains among other things: a powerful N-dimensional array object,
@@ -38,7 +39,6 @@ class PyNumpy(Package):
version('1.9.2', 'a1ed53432dbcd256398898d35bc8e645')
version('1.9.1', '78842b73560ec378142665e712ae4ad9')
-
variant('blas', default=True)
variant('lapack', default=True)
@@ -63,6 +63,6 @@ class PyNumpy(Package):
f.write('[DEFAULT]\n')
f.write('libraries=%s\n' % ','.join(libraries))
f.write('library_dirs=%s\n' % ':'.join(library_dirs))
+ f.write('rpath=%s\n' % ':'.join(library_dirs))
python('setup.py', 'install', '--prefix=%s' % prefix)
-