kludge to get suite-sparse-4.5.1 to link with -lstdc++

This commit is contained in:
Greg Lee 2016-07-05 13:48:32 -07:00
parent 976b2b4d25
commit 4c063c6055

View File

@ -82,8 +82,10 @@ def install(self, spec, prefix):
# 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'
])