[pypy-commit] pypy optresult: disable those features in favor of having a working --fork-before for now
fijal
noreply at buildbot.pypy.org
Fri Jun 5 16:52:34 CEST 2015
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: optresult
Changeset: r77913:61b5d0427757
Date: 2015-06-05 16:52 +0200
http://bitbucket.org/pypy/pypy/changeset/61b5d0427757/
Log: disable those features in favor of having a working --fork-before
for now
diff --git a/pypy/module/__pypy__/__init__.py b/pypy/module/__pypy__/__init__.py
--- a/pypy/module/__pypy__/__init__.py
+++ b/pypy/module/__pypy__/__init__.py
@@ -111,17 +111,17 @@
PYC_MAGIC = get_pyc_magic(self.space)
self.extra_interpdef('PYC_MAGIC', 'space.wrap(%d)' % PYC_MAGIC)
#
- try:
- from rpython.jit.backend import detect_cpu
- model = detect_cpu.autodetect()
- self.extra_interpdef('cpumodel', 'space.wrap(%r)' % model)
- except Exception:
- if self.space.config.translation.jit:
- raise
- else:
- pass # ok fine to ignore in this case
+ #try:
+ # from rpython.jit.backend import detect_cpu
+ # model = detect_cpu.autodetect()
+ # self.extra_interpdef('cpumodel', 'space.wrap(%r)' % model)
+ #except Exception:
+ # if self.space.config.translation.jit:
+ # raise
+ # else:
+ # pass # ok fine to ignore in this case
#
- if self.space.config.translation.jit:
- features = detect_cpu.getcpufeatures(model)
- self.extra_interpdef('jit_backend_features',
- 'space.wrap(%r)' % features)
+ #if self.space.config.translation.jit:
+ ## features = detect_cpu.getcpufeatures(model)
+ # self.extra_interpdef('jit_backend_features',
+ # 'space.wrap(%r)' % features)
More information about the pypy-commit
mailing list