From df5e151049a6fd9ba14632516a70f3a81f1a2379 Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Fri, 23 Sep 2016 19:06:18 +0200 Subject: hypre: fix a bug with blas/lapack names (#1841) --- var/spack/repos/builtin/packages/hypre/package.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'var') 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 ] -- cgit v1.2.3-70-g09d2