diff options
author | Greg Lee <lee218@llnl.gov> | 2016-07-05 13:48:32 -0700 |
---|---|---|
committer | Greg Lee <lee218@llnl.gov> | 2016-07-05 13:48:32 -0700 |
commit | 4c063c60556d714fd7fe4792b6aa137fd7d3f45e (patch) | |
tree | 9579c793a115327bf9eec2ff56d54b3a713d8016 | |
parent | 976b2b4d250c88f9668c7e4cf4f6c7bdb8324a2c (diff) | |
download | spack-4c063c60556d714fd7fe4792b6aa137fd7d3f45e.tar.gz spack-4c063c60556d714fd7fe4792b6aa137fd7d3f45e.tar.bz2 spack-4c063c60556d714fd7fe4792b6aa137fd7d3f45e.tar.xz spack-4c063c60556d714fd7fe4792b6aa137fd7d3f45e.zip |
kludge to get suite-sparse-4.5.1 to link with -lstdc++
-rw-r--r-- | var/spack/repos/builtin/packages/suite-sparse/package.py | 4 |
1 files changed, 3 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 4135c7dd72..bc25fa8c6c 100644 --- a/var/spack/repos/builtin/packages/suite-sparse/package.py +++ b/var/spack/repos/builtin/packages/suite-sparse/package.py @@ -82,8 +82,10 @@ class SuiteSparse(Package): # BLAS arguments require path to libraries # FIXME : (blas / lapack always provide libblas and liblapack as aliases) if '@4.5.1' in spec: + # adding -lstdc++ is clearly an ugly way to do this, but it follows suit + # with the TCOV path of SparseSuite 4.5.1's Suitesparse_config.mk make_args.extend([ - 'BLAS=-lblas', + 'BLAS=-lblas -lstdc++', 'LAPACK=-llapack' ]) |