Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r89285:257848776fca
Date: 2017-01-01 11:30 +0100
http://bitbucket.org/pypy/pypy/changeset/257848776fca/

Log:    Allow --gc=boehm with the cpyext module.

diff --git a/pypy/goal/targetpypystandalone.py 
b/pypy/goal/targetpypystandalone.py
--- a/pypy/goal/targetpypystandalone.py
+++ b/pypy/goal/targetpypystandalone.py
@@ -305,9 +305,9 @@
             config.objspace.lonepycfiles = False
 
         if config.objspace.usemodules.cpyext:
-            if config.translation.gc != 'incminimark':
+            if config.translation.gc not in ('incminimark', 'boehm'):
                 raise Exception("The 'cpyext' module requires the 
'incminimark'"
-                                " GC.  You need either 
'targetpypystandalone.py"
+                                " 'boehm' GC.  You need either 
'targetpypystandalone.py"
                                 " --withoutmod-cpyext' or '--gc=incminimark'")
 
         config.translating = True
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to