提交 183b5f1a authored 作者: Frédéric Bastien's avatar Frédéric Bastien 提交者: GitHub

Merge pull request #5626 from nouiz/warning

Remove a warning. It happen frequently enough that people need to wor…
...@@ -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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论