Submitter | phabricator |
---|---|
Date | Oct. 1, 2019, 12:27 a.m. |
Message ID | <differential-rev-PHID-DREV-zxdwja4vbpnyn5eb7hsf-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/41868/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -490,6 +490,14 @@ return build_ext.initialize_options(self) + def finalize_options(self): + # Unless overridden by the end user, build extensions in parallel. + # Only influences behavior on Python 3.5+. + if getattr(self, 'parallel', None) is None: + self.parallel = True + + return build_ext.finalize_options(self) + def build_extensions(self): ruststandalones = [e for e in self.extensions if isinstance(e, RustStandaloneExtension)]