[issue5309] distutils doesn't parallelize extension module compilation
Jonas Wagner
report at bugs.python.org
Fri Sep 5 11:48:25 CEST 2014
Jonas Wagner added the comment:
Is there a reason this has not landed? The patch works perfectly for me, except for one issue:
@@ -268,6 +275,9 @@
if self.undef:
self.undef = self.undef.split(',')
+ if self.parallel:
+ self.parallel = int(self.parallel)
+
if self.swig_opts is None:
self.swig_opts = []
else:
If self.parallel is True, this will set self.parallel to 1, causing it to use one worker instead of n (where n is the number of processors).
An updated patch is attached.
----------
Added file: http://bugs.python.org/file36545/build_ext_parallel4.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5309>
_______________________________________
More information about the Python-bugs-list
mailing list