diff options
author | Kevin Brandstatter <kbrandst@hawk.iit.edu> | 2015-03-03 22:27:16 -0600 |
---|---|---|
committer | Kevin Brandstatter <kbrandst@hawk.iit.edu> | 2015-03-03 22:27:16 -0600 |
commit | 8921d52a82c7a6eec50feb5e3138d154c7fabcbb (patch) | |
tree | e7ce8dabacebfa44cdd004017988a2df68749004 /var | |
parent | 51cb7856951bc2b1b424dd7adf2fcfed54da0178 (diff) | |
download | spack-8921d52a82c7a6eec50feb5e3138d154c7fabcbb.tar.gz spack-8921d52a82c7a6eec50feb5e3138d154c7fabcbb.tar.bz2 spack-8921d52a82c7a6eec50feb5e3138d154c7fabcbb.tar.xz spack-8921d52a82c7a6eec50feb5e3138d154c7fabcbb.zip |
Working lapack install linking to installed ATLAS
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/packages/lapack/package.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/packages/lapack/package.py b/var/spack/packages/lapack/package.py index 682a0a1111..94c05d6173 100644 --- a/var/spack/packages/lapack/package.py +++ b/var/spack/packages/lapack/package.py @@ -37,7 +37,9 @@ class Lapack(Package): depends_on('atlas') def install(self, spec, prefix): - cmake(".", '-DBLAS_LIBRARIES=f77blas;atlas', *std_cmake_args) + atlas_blas = spec['atlas'].prefix.lib + '/libf77blas.a' + atlas_lib = spec['atlas'].prefix.lib + "/libatlas.a" + cmake(".", '-DBLAS_LIBRARIES='+atlas_blas + ";" + atlas_lib, *std_cmake_args) make() make("install") |