Fix latest HPL for MKL use (#11712)

The 2.3 version of HPL needs LDFLAGS set for use of MKL libraries.
This commit is contained in:
Glenn Johnson 2019-06-15 15:46:59 -05:00 committed by Adam J. Stewart
parent f3671244e4
commit 6592b4d46d

View file

@ -105,6 +105,11 @@ def configure_args(self):
'CFLAGS=-O3' 'CFLAGS=-O3'
] ]
if (self.spec.satisfies('^intel-mkl') or
self.spec.satisfies('^intel-parallel-studio+mkl')):
config.append('LDFLAGS={0}'.format(
self.spec['blas'].libs.ld_flags))
return config return config
@when('@:2.2') @when('@:2.2')