openblas: fix flags (#3344)
This commit is contained in:
parent
1cf8dbd200
commit
003e841016
@ -140,8 +140,8 @@ def check_install(self):
|
|||||||
blessed_file = join_path(os.path.dirname(self.module.__file__),
|
blessed_file = join_path(os.path.dirname(self.module.__file__),
|
||||||
'test_cblas_dgemm.output')
|
'test_cblas_dgemm.output')
|
||||||
|
|
||||||
include_flags = spec.cppflags
|
include_flags = spec['openblas'].cppflags
|
||||||
link_flags = spec.libs.ld_flags
|
link_flags = spec['openblas'].libs.ld_flags
|
||||||
if self.compiler.name == 'intel':
|
if self.compiler.name == 'intel':
|
||||||
link_flags += ' -lifcore'
|
link_flags += ' -lifcore'
|
||||||
link_flags += ' -lpthread'
|
link_flags += ' -lpthread'
|
||||||
|
Loading…
Reference in New Issue
Block a user