[pypy-commit] pypy default: this check happens too early in the translation, so that the platform is not yet set creating translation conflicts on cross translation builds
bivab
noreply at buildbot.pypy.org
Thu May 23 18:27:43 CEST 2013
Author: David Schneider <david.schneider at picle.org>
Branch:
Changeset: r64513:bb929d024d07
Date: 2013-05-23 13:42 +0000
http://bitbucket.org/pypy/pypy/changeset/bb929d024d07/
Log: this check happens too early in the translation, so that the
platform is not yet set creating translation conflicts on cross
translation builds
diff --git a/rpython/config/translationoption.py b/rpython/config/translationoption.py
--- a/rpython/config/translationoption.py
+++ b/rpython/config/translationoption.py
@@ -3,8 +3,6 @@
from rpython.config.config import ChoiceOption, StrOption, Config
from rpython.config.config import ConfigError
from rpython.config.support import detect_number_of_processors
-from rpython.jit.backend.detect_cpu import autodetect
-from rpython.jit.backend.detect_cpu import MODEL_X86, MODEL_X86_NO_SSE2, MODEL_X86_64
DEFL_INLINE_THRESHOLD = 32.4 # just enough to inline add__Int_Int()
# and just small enough to prevend inlining of some rlist functions.
@@ -15,9 +13,7 @@
DEFL_GC = "minimark"
-_is_x86 = autodetect() in (MODEL_X86, MODEL_X86_64, MODEL_X86_NO_SSE2)
-
-if sys.platform.startswith("linux") and _is_x86:
+if sys.platform.startswith("linux"):
DEFL_ROOTFINDER_WITHJIT = "asmgcc"
else:
DEFL_ROOTFINDER_WITHJIT = "shadowstack"
More information about the pypy-commit
mailing list