suite-sparse: support 64bit BLAS (#6767)

* suite-sparse: support 64bit BLAS

* use double quotes instead of escaped quotes
This commit is contained in:
Denis Davydov 2018-01-03 16:58:19 +01:00 committed by Adam J. Stewart
parent 2ed914aa1b
commit e623bbb679

View file

@ -99,6 +99,12 @@ def install(self, spec, prefix):
'LAPACK=%s' % spec['lapack'].libs.ld_flags, 'LAPACK=%s' % spec['lapack'].libs.ld_flags,
] ]
# 64bit blas in UMFPACK:
if (spec.satisfies('^openblas+ilp64') or
spec.satisfies('^intel-mkl+ilp64') or
spec.satisfies('^intel-parallel-studio+mkl+ilp64')):
make_args.append('UMFPACK_CONFIG=-DLONGBLAS="long long"')
# SuiteSparse defaults to using '-fno-common -fexceptions' in # SuiteSparse defaults to using '-fno-common -fexceptions' in
# CFLAGS, but not all compilers use the same flags for these # CFLAGS, but not all compilers use the same flags for these
# optimizations # optimizations