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

Fix crash when the user specify an march and Make the arm fix work in that case.

上级 05186700
......@@ -1714,7 +1714,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 GCC_compiler.march_flags]):
if any([not '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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论