diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2015-04-24 22:11:34 -0400 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2015-04-24 22:11:34 -0400 |
commit | a8b1c0c6d10e1939d9001a52a962ecd6ef06500c (patch) | |
tree | 88cc2cd665ce9fbff145ea6db018d6b5a272be4e /doc | |
parent | 77c20d88ddb50c3d63ebf49324152ca6f07e0ce2 (diff) | |
parent | 525f0cd85fa270ee0fb843a8cfdd21dfe98238cd (diff) | |
download | numpy-a8b1c0c6d10e1939d9001a52a962ecd6ef06500c.tar.gz |
Merge pull request #5597 from zerothi/ENH-distutils
BLD, ENH: Reading of extra flags from site.cfg to extend flexibility
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/1.10.0-notes.rst | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/release/1.10.0-notes.rst b/doc/release/1.10.0-notes.rst index a7c0e2852..6a6bbd4c6 100644 --- a/doc/release/1.10.0-notes.rst +++ b/doc/release/1.10.0-notes.rst @@ -8,6 +8,9 @@ Highlights ========== * numpy.distutils now supports parallel compilation via the --jobs/-j argument passed to setup.py build +* numpy.distutils now supports additional customization via site.cfg to + control compilation parameters, i.e. runtime libraries, extra + linking/compilation flags. * Addition of *np.linalg.multi_dot*: compute the dot product of two or more arrays in a single function call, while automatically selecting the fastest evaluation order. @@ -86,6 +89,20 @@ output for ufuncs with multiple outputs, is deprecated, and will result in a New Features ============ +Reading extra flags from site.cfg +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Previously customization of compilation of dependency libraries and numpy +itself was only accomblishable via code changes in the distutils package. +Now numpy.distutils reads in the following extra flags from each group of the +*site.cfg*: + +* ``runtime_library_dirs/rpath``, sets runtime library directories to override + ``LD_LIBRARY_PATH`` +* ``extra_compile_args``, add extra flags to the compilation of sources +* ``extra_link_args``, add extra flags when linking libraries + +This should, at least partially, complete user customization. + *np.cbrt* to compute cube root for real floats ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *np.cbrt* wraps the C99 cube root function *cbrt*. |