Make suite-sparse use spack compilers.

This commit is contained in:
Todd Gamblin 2016-03-30 11:41:25 -07:00
parent f42b1dfcbd
commit 01657e6991

View File

@ -23,4 +23,14 @@ def install(self, spec, prefix):
# FIXME : this actually uses the current workaround
# FIXME : (blas / lapack always provide libblas and liblapack as aliases)
make('install', 'INSTALL=%s' % prefix, 'BLAS=-lblas', 'LAPACK=-llapack')
make('install', 'INSTALL=%s' % prefix,
# inject Spack compiler wrappers
'AUTOCC=no',
'CC=cc',
'CXX=c++',
'F77=f77',
# BLAS arguments require path to libraries
'BLAS=-lblas',
'LAPACK=-llapack')