提交 6129f9d5 authored 作者: Moslem Kazemi's avatar Moslem Kazemi

missed )

上级 fdcadb74
...@@ -2013,7 +2013,7 @@ class GCC_compiler(Compiler): ...@@ -2013,7 +2013,7 @@ class GCC_compiler(Compiler):
# 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)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论