提交 900fe64c authored 作者: Frederic Bastien's avatar Frederic Bastien

Remove a warning. It happen frequently enough that people need to work around…

Remove a warning. It happen frequently enough that people need to work around g++ bugs or strange installation environment that it is more annoing then useful. Also people don't set it if they don't have problem, so it don't really help.
上级 a559145f
...@@ -1885,11 +1885,6 @@ class GCC_compiler(Compiler): ...@@ -1885,11 +1885,6 @@ class GCC_compiler(Compiler):
for f in cxxflags: for f in cxxflags:
# If the user give an -march=X parameter, don't add one ourself # If the user give an -march=X parameter, don't add one ourself
if ((f.startswith("--march=") or f.startswith("-march="))): if ((f.startswith("--march=") or f.startswith("-march="))):
_logger.warn(
"WARNING: your Theano flags `gcc.cxxflags` specify"
" an `-march=X` flags.\n"
" It is better to let Theano/g++ find it"
" automatically, but we don't do it now")
detect_march = False detect_march = False
GCC_compiler.march_flags = [] GCC_compiler.march_flags = []
break break
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论