提交 3e0e53e1 authored 作者: f0k's avatar f0k

Fix fallback in BLAS detection

上级 5e1295f2
...@@ -340,7 +340,7 @@ SOMEPATH/Canopy_64bit/User/lib/python2.7/site-packages/numpy/distutils/system_in ...@@ -340,7 +340,7 @@ SOMEPATH/Canopy_64bit/User/lib/python2.7/site-packages/numpy/distutils/system_in
} }
""") """)
flags = ['-lblas'] flags = ['-lblas']
flags.extend('-L'.join(theano.gof.cmodule.std_lib_dirs())) flags.extend('-L' + d for d in theano.gof.cmodule.std_lib_dirs())
res = GCC_compiler.try_compile_tmp( res = GCC_compiler.try_compile_tmp(
test_code, tmp_prefix='try_blas_', test_code, tmp_prefix='try_blas_',
flags=flags, try_run=True) flags=flags, try_run=True)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论