diff options
author | Lukasz <lukasz.kaczmarczyk@glasgow.ac.uk> | 2018-07-22 22:32:47 +0100 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2018-07-22 16:32:47 -0500 |
commit | dcaa6759574ab511cc42cc99ea6ee62195225c53 (patch) | |
tree | cefb10eb06e35a5955e2e07e748ff83f57c9f72f | |
parent | a18a6420748da96aafdd00b8ce1a9d80995a10a4 (diff) | |
download | spack-dcaa6759574ab511cc42cc99ea6ee62195225c53.tar.gz spack-dcaa6759574ab511cc42cc99ea6ee62195225c53.tar.bz2 spack-dcaa6759574ab511cc42cc99ea6ee62195225c53.tar.xz spack-dcaa6759574ab511cc42cc99ea6ee62195225c53.zip |
add necessary dependence on lapacak, and fix ld_flags for blas (#8776)
-rw-r--r-- | var/spack/repos/builtin/packages/moab/package.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/moab/package.py b/var/spack/repos/builtin/packages/moab/package.py index 89dc41d36c..ae1ef0c35a 100644 --- a/var/spack/repos/builtin/packages/moab/package.py +++ b/var/spack/repos/builtin/packages/moab/package.py @@ -80,6 +80,7 @@ class Moab(AutotoolsPackage): # depends_on('vtk', when='+vtk') depends_on('blas') + depends_on('lapack') depends_on('mpi', when='+mpi') depends_on('hdf5', when='+hdf5') depends_on('hdf5+mpi', when='+hdf5+mpi') @@ -124,7 +125,8 @@ class Moab(AutotoolsPackage): # else: # options.append('--without-mpi') - options.append('--with-blas=%s' % spec['blas'].libs) + options.append('--with-blas=%s' % spec['blas'].libs.ld_flags) + options.append('--with-lapack=%s' % spec['lapack'].libs.ld_flags) if '+hdf5' in spec: options.append('--with-hdf5=%s' % spec['hdf5'].prefix) |