Read about our upcoming Code of Conduct on this issue

Commit 8155599c authored by Stefano Rivera's avatar Stefano Rivera
Browse files

Replace the VFP assert in detect_cpu with a ProcessorAutodetectError, so we...

Replace the VFP assert in detect_cpu with a ProcessorAutodetectError, so we can use detect_cpu on ARMv4
parent 857289bf8ff9
......@@ -81,7 +81,9 @@ def detect_model_from_host_platform():
#
if result.startswith('arm'):
from rpython.jit.backend.arm.detect import detect_float
assert detect_float(), 'the JIT-compiler requires a vfp unit'
if not detect_float():
raise ProcessorAutodetectError(
'the JIT-compiler requires a vfp unit')
#
return result
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment