提交 709403a2 authored 作者: Frederic's avatar Frederic

flake8

上级 81b563b1
......@@ -2004,7 +2004,7 @@ class GCC_compiler(Compiler):
# architectures in order to make Theano compatible with the Raspberry
# Pi, and Raspberry Pi 2.
if (not any(['arm' in flag for flag in cxxflags]) and
'arm' not in platform.machine()):
'arm' not in platform.machine()):
n_bits = local_bitwidth()
cxxflags.append('-m%d' % n_bits)
_logger.debug("Compiling for %s bit architecture", n_bits)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论