summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorDenis Davydov <davydden@gmail.com>2016-09-23 19:06:18 +0200
committerTodd Gamblin <tgamblin@llnl.gov>2016-09-23 10:06:18 -0700
commitdf5e151049a6fd9ba14632516a70f3a81f1a2379 (patch)
tree3c3b1abb308e0371fa36049c67d5dfcf0b444255 /var
parentc0ebbc97c9a5da9e6ba2319938b6ef3dc8aca0b3 (diff)
downloadspack-df5e151049a6fd9ba14632516a70f3a81f1a2379.tar.gz
spack-df5e151049a6fd9ba14632516a70f3a81f1a2379.tar.bz2
spack-df5e151049a6fd9ba14632516a70f3a81f1a2379.tar.xz
spack-df5e151049a6fd9ba14632516a70f3a81f1a2379.zip
hypre: fix a bug with blas/lapack names (#1841)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/hypre/package.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/var/spack/repos/builtin/packages/hypre/package.py b/var/spack/repos/builtin/packages/hypre/package.py
index 96ed8411dd..f22303a864 100644
--- a/var/spack/repos/builtin/packages/hypre/package.py
+++ b/var/spack/repos/builtin/packages/hypre/package.py
@@ -54,20 +54,15 @@ class Hypre(Package):
os.environ['CXX'] = spec['mpi'].mpicxx
os.environ['F77'] = spec['mpi'].mpif77
- # Since +shared does not build on macOS and also Atlas does not have
- # a single static lib to build against, link against shared libs with
- # a hope that --whole-archive linker option (or alike) was used
- # to command the linker to include whole static libs' content into the
- # shared lib
# Note: --with-(lapack|blas)_libs= needs space separated list of names
lapack = spec['lapack'].lapack_libs
blas = spec['blas'].blas_libs
configure_args = [
'--prefix=%s' % prefix,
- '--with-lapack-libs=%s' % lapack.names,
+ '--with-lapack-libs=%s' % ' '.join(lapack.names),
'--with-lapack-lib-dirs=%s' % spec['lapack'].prefix.lib,
- '--with-blas-libs=%s' % blas.names,
+ '--with-blas-libs=%s' % ' '.join(blas.names),
'--with-blas-lib-dirs=%s' % spec['blas'].prefix.lib
]