diff options
author | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-10-08 20:23:32 +0200 |
---|---|---|
committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-10-28 22:24:40 +0100 |
commit | 23d546176e2fe0b4d7d2e9100032bbf8107927e1 (patch) | |
tree | 3903771cf6e196eed35083f871b09aa98408fec3 /numpy/polynomial/polyutils.py | |
parent | 7be18edfaae4d0ba6a888160d1cc57c453b568f2 (diff) | |
download | numpy-23d546176e2fe0b4d7d2e9100032bbf8107927e1.tar.gz |
ENH: support parallel compilation of extensions
Allow extensions using numpy.distutils to compile in parallel.
By passing `--jobs=n` or `-j n` to `setup.py build` the compilation of
extensions is now performed in `n` parallel processes.
Additionally the environment variable NPY_NUM_BUILD_JOBS is used as
the default value, if its unset the default is serial compilation.
The parallelization is limited to within the files of an extension, so
only numpy multiarraymodule really profits but its still a nice
improvement when you have 2-4 cores.
Unfortunately Cython will not profit at all as it tends to build one
module per file.
Diffstat (limited to 'numpy/polynomial/polyutils.py')
0 files changed, 0 insertions, 0 deletions