提交 d70953e2 authored 作者: Moslem Kazemi's avatar Moslem Kazemi

removed spaces, indent

上级 24de4ffb
...@@ -2009,12 +2009,12 @@ class GCC_compiler(Compiler): ...@@ -2009,12 +2009,12 @@ class GCC_compiler(Compiler):
# in the key of the compiled module, avoiding potential conflicts. # in the key of the compiled module, avoiding potential conflicts.
# Figure out whether the current Python executable is 32 # Figure out whether the current Python executable is 32
# or 64 bit and compile accordingly. This step is ignored for # or 64 bit and compile accordingly. This step is ignored for
# ARM (32-bit and 64-bit) architectures in order to make # ARM (32-bit and 64-bit) architectures in order to make
# Theano compatible with the Raspberry Pi, Raspberry Pi 2, or # Theano compatible with the Raspberry Pi, Raspberry Pi 2, or
# other systems with ARM processors. # other systems with ARM processors.
if (not any(['arm' in flag for flag in cxxflags]) and if (not any(['arm' in flag for flag in cxxflags]) and
not any(arch in platform.machine() for arch in ['arm', 'aarch'])): not any(arch in platform.machine() for arch in ['arm', 'aarch'])):
n_bits = local_bitwidth() n_bits = local_bitwidth()
cxxflags.append('-m%d' % n_bits) cxxflags.append('-m%d' % n_bits)
_logger.debug("Compiling for %s bit architecture", n_bits) _logger.debug("Compiling for %s bit architecture", n_bits)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论