| Store | Cart

Re: [Python-Dev] Can Python Be Built Without Distutils

From: Gregory P. Smith <g...@krypto.org>
Fri, 30 Jan 2015 23:26:08 +0000
On Sun Jan 25 2015 at 7:08:53 AM Antoine Pitrou <soli...@pitrou.net> wrote:

> On Sun, 25 Jan 2015 05:22:48 +0000> "Gregory P. Smith" <g...@krypto.org> wrote:> > Why doesn't our Makefile supply that flag with the make parallelism level> > in the sharedmods step?>> If I run "make -j4" here, it works (on the default branch).>

Thanks, glad to see that this was added! :)

This looks like a feature that was added in 3.5.  Rather than passing the
flag to setup.py from the Makefile (where I had been looking for it),
setup.py looks at the MAKEFLAGS environment variable and turns on
distutils.common.build_ext's parallel flag if "-j" is found in that. By
default it will then do a parallel build using os.cpu_count() number of
tasks.

-gps


>> Regards>> Antoine.> _______________________________________________> Python-Dev mailing list> Pyth...@python.org> https://mail.python.org/mailman/listinfo/python-dev> Unsubscribe: https://mail.python.org/mailman/options/python-dev/> greg%40krypto.org>

_______________________________________________
Python-Dev mailing list
Pyth...@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: https://mail.python.org/mailman/options/python-dev/python-dev-ml%40activestate.com

Recent Messages in this Thread
Cyd Haselton Jan 23, 2015 05:30 pm
Matthias Klose Jan 23, 2015 06:48 pm
Cyd Haselton Jan 23, 2015 06:54 pm
M.-A. Lemburg Jan 23, 2015 07:19 pm
Cyd Haselton Jan 23, 2015 08:56 pm
M.-A. Lemburg Jan 23, 2015 09:01 pm
Gregory P. Smith Jan 23, 2015 10:45 pm
Brett Cannon Jan 24, 2015 04:49 pm
Zachary Ware Jan 24, 2015 08:23 pm
M.-A. Lemburg Jan 24, 2015 08:53 pm
Antoine Pitrou Jan 24, 2015 10:24 pm
Gregory P. Smith Jan 25, 2015 05:22 am
Antoine Pitrou Jan 25, 2015 03:07 pm
Gregory P. Smith Jan 30, 2015 11:26 pm
Cyd Haselton Jan 25, 2015 03:32 pm
Cyd Haselton Jan 24, 2015 10:01 pm
Antonio Cavallo Jan 25, 2015 10:08 am
Cyd Haselton Jan 25, 2015 07:51 pm
Cyd Haselton Jan 24, 2015 12:43 pm
Cyd Haselton Jan 24, 2015 01:06 pm
Messages in this thread