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

Small fix following code review.

上级 ce87fadd
...@@ -1500,9 +1500,9 @@ class GCC_compiler(object): ...@@ -1500,9 +1500,9 @@ class GCC_compiler(object):
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="))):
_logget.warn( _logger.warn(
"WARNING: your Theano flags `gcc.cxxflags` specify" "WARNING: your Theano flags `gcc.cxxflags` specify"
" an `-march=X` flags that isn't `-march=native`.\n" " an `-march=X` flags.\n"
" It is better to let Theano/g++ find it" " It is better to let Theano/g++ find it"
" automatically, but we don't do it now") " automatically, but we don't do it now")
detect_march = False detect_march = False
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论