fix suite-sparse built with tbb from intel-parallel-studio (#11134)

* fix suite-sparse built with tbb from intel-parallel-studio

* intel: add tbb_headers, strip newline from cxx_lib

* use property
This commit is contained in:
Denis Davydov
2019-05-15 20:03:19 +02:00
committed by Gregory Lee
parent 5c021f5416
commit 9d34326992
2 changed files with 12 additions and 2 deletions

View File

@@ -111,7 +111,7 @@ def install(self, spec, prefix):
if 'tbb' in spec:
make_args += [
'SPQR_CONFIG=-DHAVE_TBB',
'TBB=-L%s -ltbb' % spec['tbb'].prefix.lib,
'TBB=%s' % spec['tbb'].libs.ld_flags,
]
if '@5.3:' in spec: