提交 fa0ef1a8 authored 作者: Frederic's avatar Frederic

When g++ is not there, don't allow linker that need it.

I still allow the vm and vm_nogc linker, but I'm not sure the current version will work, but we can fix it.
上级 f5bc7fc1
......@@ -138,8 +138,7 @@ except OSError:
AddConfigVar('linker',
("Default linker used if the theano flags mode is Mode "
"or ProfileMode"),
EnumStr('py', 'c|py', 'c', 'c|py_nogc', 'c&py',
'vm', 'cvm', 'vm_nogc', 'cvm_nogc'),
EnumStr('py', 'vm', 'vm_nogc'),
in_c_key=False)
_logger.warning('g++ not detected ! Theano will be unable to execute '
'optimized C-implementations (for both CPU and GPU) and will '
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论