diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2016-03-30 11:41:25 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-03-30 11:41:25 -0700 |
commit | 01657e6991197c999180c2fec367fc75e59fba15 (patch) | |
tree | e26e94da7ad9e7963c2a0f2b7a66e29a75f152fa | |
parent | f42b1dfcbd9425f220258412770cf491242e0bee (diff) | |
download | spack-01657e6991197c999180c2fec367fc75e59fba15.tar.gz spack-01657e6991197c999180c2fec367fc75e59fba15.tar.bz2 spack-01657e6991197c999180c2fec367fc75e59fba15.tar.xz spack-01657e6991197c999180c2fec367fc75e59fba15.zip |
Make suite-sparse use spack compilers.
-rw-r--r-- | var/spack/repos/builtin/packages/suite-sparse/package.py | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/suite-sparse/package.py b/var/spack/repos/builtin/packages/suite-sparse/package.py index b57f9967c3..c2196dcec4 100644 --- a/var/spack/repos/builtin/packages/suite-sparse/package.py +++ b/var/spack/repos/builtin/packages/suite-sparse/package.py @@ -23,4 +23,14 @@ class SuiteSparse(Package): # 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') |