[pypy-commit] pypy default: OpenBSD doesn't currently support vmprof.

ltratt pypy.commits at gmail.com
Tue Dec 26 09:39:53 EST 2017


Author: Laurence Tratt <laurie at tratt.net>
Branch: 
Changeset: r93578:8390220c0526
Date: 2017-12-26 14:39 +0000
http://bitbucket.org/pypy/pypy/changeset/8390220c0526/

Log:	OpenBSD doesn't currently support vmprof.

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 = detect_cpu.autodetect().startswith('x86')
-if sys.platform == 'win32':
+if sys.platform == 'win32' or sys.platform.startswith("openbsd"):
     IS_SUPPORTED = False
 
 ROOT = py.path.local(rpythonroot).join('rpython', 'rlib', 'rvmprof')


More information about the pypy-commit mailing list