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:
parent
f3671244e4
commit
6592b4d46d
1 changed files with 5 additions and 0 deletions
|
@ -105,6 +105,11 @@ def configure_args(self):
|
|||
'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
|
||||
|
||||
@when('@:2.2')
|
||||
|
|
Loading…
Reference in a new issue