Author: Armin Rigo <ar...@tunes.org>
Branch: 
Changeset: r94881:24a43b6a4d73
Date: 2018-07-23 17:33 +0200
http://bitbucket.org/pypy/pypy/changeset/24a43b6a4d73/

Log:    Issue #2853

        Patch by Babak F.

diff --git a/rpython/rlib/rvmprof/cintf.py b/rpython/rlib/rvmprof/cintf.py
--- a/rpython/rlib/rvmprof/cintf.py
+++ b/rpython/rlib/rvmprof/cintf.py
@@ -17,7 +17,7 @@
 
 # vmprof works only on x86 for now
 IS_SUPPORTED = False
-if sys.platform in ('darwin', 'linux', 'linux2', 'freebsd10', 'freebsd11'):
+if sys.platform in ('darwin', 'linux', 'linux2') or 
sys.platform.startswith('freebsd'):
     try:
         IS_SUPPORTED = detect_cpu.autodetect().startswith('x86')
     except detect_cpu.ProcessorAutodetectError:
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to