Merge pull request #1188 from epfl-scitas/packages/py-numpy
RPATH for blas in py numpy
This commit is contained in:
commit
c898b9db04
@ -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 @@ def install(self, spec, prefix):
|
||||
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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user