提交 4c019085 authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Fix the default return from default_blas_flags to return valid flags.

上级 adf81d30
...@@ -319,7 +319,9 @@ SOMEPATH/Canopy_64bit/User/lib/python2.7/site-packages/numpy/distutils/system_in ...@@ -319,7 +319,9 @@ SOMEPATH/Canopy_64bit/User/lib/python2.7/site-packages/numpy/distutils/system_in
# readily available. We try to see if that's the case, rather # readily available. We try to see if that's the case, rather
# than disable blas. To test it correctly, we must load a program. # than disable blas. To test it correctly, we must load a program.
# Otherwise, there could be problem in the LD_LIBRARY_PATH. # Otherwise, there could be problem in the LD_LIBRARY_PATH.
return try_blas_flag(['-lblas']) ret = try_blas_flag(['-lblas'])
if ret:
return ' '.join(ret)
def try_blas_flag(flags): def try_blas_flag(flags):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论