提交 76f2634a authored 作者: cocu's avatar cocu

check specified compiler is g++

上级 cbf89c32
...@@ -1572,6 +1572,13 @@ class GCC_compiler(object): ...@@ -1572,6 +1572,13 @@ class GCC_compiler(object):
GCC_compiler.march_flags = [] GCC_compiler.march_flags = []
break break
if not "g++" in theano.config.cxx:
_logger.warn(
"WARNING: your Theano flag `cxx` seems not to specify `g++`.\n"
" Please specify name or path including `g++`."
)
detect_march = False
if detect_march: if detect_march:
GCC_compiler.march_flags = [] GCC_compiler.march_flags = []
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论