[Numpy-svn] [numpy/numpy] 23d546: ENH: support parallel compilation of extensions

GitHub noreply at github.com
Sun Nov 2 09:09:56 EST 2014


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 23d546176e2fe0b4d7d2e9100032bbf8107927e1
      https://github.com/numpy/numpy/commit/23d546176e2fe0b4d7d2e9100032bbf8107927e1
  Author: Julian Taylor <jtaylor.debian at googlemail.com>
  Date:   2014-10-28 (Tue, 28 Oct 2014)

  Changed paths:
    M doc/release/1.10.0-notes.rst
    M numpy/distutils/ccompiler.py
    M numpy/distutils/command/build.py
    M numpy/distutils/command/build_clib.py
    M numpy/distutils/command/build_ext.py
    M numpy/distutils/misc_util.py
    M tools/travis-test.sh

  Log Message:
  -----------
  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.


  Commit: 461bf423e1e8caae40f6f624f925644e95a0256d
      https://github.com/numpy/numpy/commit/461bf423e1e8caae40f6f624f925644e95a0256d
  Author: Julian Taylor <jtaylor.debian at googlemail.com>
  Date:   2014-10-28 (Tue, 28 Oct 2014)

  Changed paths:
    M INSTALL.txt

  Log Message:
  -----------
  DOC: update installation instructions


  Commit: 066be2857408682a818e6967a5a91d342b59727c
      https://github.com/numpy/numpy/commit/066be2857408682a818e6967a5a91d342b59727c
  Author: Julian Taylor <juliantaylor108 at gmail.com>
  Date:   2014-11-02 (Sun, 02 Nov 2014)

  Changed paths:
    M INSTALL.txt
    M doc/release/1.10.0-notes.rst
    M numpy/distutils/ccompiler.py
    M numpy/distutils/command/build.py
    M numpy/distutils/command/build_clib.py
    M numpy/distutils/command/build_ext.py
    M numpy/distutils/misc_util.py
    M tools/travis-test.sh

  Log Message:
  -----------
  Merge pull request #5161 from juliantaylor/parallel-distutils

ENH: support parallel compilation of extensions


Compare: https://github.com/numpy/numpy/compare/0d30aef9065a...066be2857408


More information about the Numpy-svn mailing list