Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r82297:da5cd52da2f8 Date: 2016-02-16 18:56 +0100 http://bitbucket.org/pypy/pypy/changeset/da5cd52da2f8/
Log: fix diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypyoption.py +++ b/pypy/config/pypyoption.py @@ -40,8 +40,11 @@ ]) from rpython.jit.backend import detect_cpu -if detect_cpu.startswith('x86'): - working_modules.add('_vmprof') +try: + if detect_cpu.autodetect().startswith('x86'): + working_modules.add('_vmprof') +except detect_cpu.ProcessorAutodetectError: + pass translation_modules = default_modules.copy() _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit