Added missing -lpthread to OpenBLAS check.
See: https://github.com/xianyi/OpenBLAS/wiki/faq#static_link
This commit is contained in:
parent
92afa52eec
commit
ee6a75c9b5
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ def check_install(self, spec):
|
|||
# TODO: Automate these path and library settings
|
||||
cc('-c', "-I%s" % join_path(spec.prefix, "include"), "check.c")
|
||||
cc('-o', "check", "check.o",
|
||||
"-L%s" % join_path(spec.prefix, "lib"), "-llapack", "-lblas")
|
||||
"-L%s" % join_path(spec.prefix, "lib"), "-llapack", "-lblas", "-lpthread")
|
||||
try:
|
||||
check = Executable('./check')
|
||||
output = check(return_output=True)
|
||||
|
|
Loading…
Reference in a new issue