Working lapack install linking to installed ATLAS

This commit is contained in:
Kevin Brandstatter 2015-03-03 22:27:16 -06:00
parent 51cb785695
commit 8921d52a82

View file

@ -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")