提交 9625521b authored 作者: Frédéric Bastien's avatar Frédéric Bastien

Merge pull request #1887 from vdumoulin/rpi_bugfix

Fix Raspberry Pi-related bug
......@@ -1765,7 +1765,7 @@ class GCC_compiler(object):
# or 64 bit and compile accordingly. This step is ignored for ARM
# architectures in order to make Theano compatible with the Raspberry
# Pi.
if any([not 'arm' in flag for flag in cxxflags]):
if not any(['arm' in flag for flag in cxxflags]):
n_bits = local_bitwidth()
cxxflags.append('-m%d' % n_bits)
_logger.debug("Compiling for %s bit architecture", n_bits)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论