[pypy-svn] r70300 - pypy/trunk/pypy/jit/backend
arigo at codespeak.net
arigo at codespeak.net
Mon Dec 28 14:47:16 CET 2009
Author: arigo
Date: Mon Dec 28 14:47:15 2009
New Revision: 70300
Modified:
pypy/trunk/pypy/jit/backend/detect_cpu.py
Log:
Instead of giving segfaults at runtime, fail cleanly when
building the JIT on Mac OS/X.
Modified: pypy/trunk/pypy/jit/backend/detect_cpu.py
==============================================================================
--- pypy/trunk/pypy/jit/backend/detect_cpu.py (original)
+++ pypy/trunk/pypy/jit/backend/detect_cpu.py Mon Dec 28 14:47:15 2009
@@ -9,6 +9,8 @@
pass
def autodetect_main_model():
+ if sys.platform == 'darwin':
+ raise Exception("JIT not supported on Mac OS/X right now")
mach = None
try:
import platform
More information about the Pypy-commit
mailing list