[pypy-commit] pypy default: Disable vmprof on OpenBSD as it doesn't build.

ltratt pypy.commits at gmail.com
Sun May 14 21:21:18 EDT 2017


Author: Laurence Tratt <laurie at tratt.net>
Branch: 
Changeset: r91293:00193a29fff8
Date: 2017-05-15 09:10 +0800
http://bitbucket.org/pypy/pypy/changeset/00193a29fff8/

Log:	Disable vmprof on OpenBSD as it doesn't build.

diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py
--- a/pypy/config/pypyoption.py
+++ b/pypy/config/pypyoption.py
@@ -42,8 +42,9 @@
 from rpython.jit.backend import detect_cpu
 try:
     if detect_cpu.autodetect().startswith('x86'):
-        working_modules.add('_vmprof')
-        working_modules.add('faulthandler')
+        if not sys.platform.startswith('openbsd'):
+            working_modules.add('_vmprof')
+            working_modules.add('faulthandler')
 except detect_cpu.ProcessorAutodetectError:
     pass
 


More information about the pypy-commit mailing list