[Numpy-svn] [numpy/numpy] 65823e: MAINT: Isolate hardcoded RTL name and vers. on Win...
GitHub
noreply at github.com
Mon Dec 12 12:31:14 EST 2016
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: 65823ed0442515b6bafe0ae1e8967282884f1049
https://github.com/numpy/numpy/commit/65823ed0442515b6bafe0ae1e8967282884f1049
Author: Roland Kaufmann <rka081+numpy at uib.no>
Date: 2016-12-09 (Fri, 09 Dec 2016)
Changed paths:
M numpy/distutils/misc_util.py
Log Message:
-----------
MAINT: Isolate hardcoded RTL name and vers. on Win.
There are three concepts in the C runtime library used by Python on
Windows (from the Microsoft Visual C compiler); the internal build
number (e.g. 0x1600), the major version of the runtime (e.g. 10.0),
and the name of the link library of the runtime (e.g. msvcr100).
This patch separates getting these three values into separate functions
so that other code can be relieved of parsing the string return value
of the msvc_runtime_library function.
Commit: 965c565852b92006fa427118cfc4026135279790
https://github.com/numpy/numpy/commit/965c565852b92006fa427118cfc4026135279790
Author: Roland Kaufmann <rka081+numpy at uib.no>
Date: 2016-12-09 (Fri, 09 Dec 2016)
Changed paths:
M numpy/distutils/misc_util.py
Log Message:
-----------
ENH: Recognize C RTL used by Py3.5 on Win
Python 3.5 is built against vcruntime140 instead of msvcrXXX, and the
internal version number reported by the version string is 1900. This
cause building extensions to fail, complaining about a missing compiler.
This patch adds the latest runtime library to the list.
Commit: 3cc5c8e63833a2005ef3a34811c3efde3a5a7742
https://github.com/numpy/numpy/commit/3cc5c8e63833a2005ef3a34811c3efde3a5a7742
Author: Roland Kaufmann <rka081+numpy at uib.no>
Date: 2016-12-09 (Fri, 09 Dec 2016)
Changed paths:
M numpy/distutils/mingw32ccompiler.py
Log Message:
-----------
ENH: Monkey-patch CygwinCCompiler for Py3.5 on Wind.
CygwinCCompiler has its own test for the C runtime library which raises
an error if the version extracted from the version string does not match
a pre-defined list. The runtime for Visual Studio 14 (aka 2015) which is
used to build Python 3.5 is not on this list. As this call is made in
the constructor of the base class, it must be monkey-patched to get
around.
Commit: 9a4691fd4e66a29441c5e5fd582a2c7e1eedb557
https://github.com/numpy/numpy/commit/9a4691fd4e66a29441c5e5fd582a2c7e1eedb557
Author: Roland Kaufmann <rka081+numpy at uib.no>
Date: 2016-12-09 (Fri, 09 Dec 2016)
Changed paths:
M numpy/distutils/mingw32ccompiler.py
Log Message:
-----------
MAINT: Remove assumptions about RTL name, for MinGW
The MinGW compiler adapter assumes that the C runtime library that
Python was built with has the name msvcrXXX. This is incorrect for
Python 3.5 and later. (The name of the runtime is now vcruntimeXXX).
This patch removes parsing of the hardcoded pattern and replaces it
with calls to new functions in misc_util that returns the desired
values directly, isolating the hardcoding to that module.
Commit: 21eeac2ebffd88461ae95e9d0dd487b12fab993e
https://github.com/numpy/numpy/commit/21eeac2ebffd88461ae95e9d0dd487b12fab993e
Author: Roland Kaufmann <rka081+numpy at uib.no>
Date: 2016-12-12 (Mon, 12 Dec 2016)
Changed paths:
M doc/release/1.13.0-notes.rst
Log Message:
-----------
DOC: MinGW is partially supported, with caveats
MinGW can be used to build extensions, but will most likely fail for
extensions that uses the runtime extensively. This is just a band-aid
until Mingwpy is fully functional for calculation code written in
Fortran.
Commit: 78b06bdc2f463852dd59ec8ceea79a8290a6297f
https://github.com/numpy/numpy/commit/78b06bdc2f463852dd59ec8ceea79a8290a6297f
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2016-12-12 (Mon, 12 Dec 2016)
Changed paths:
M doc/release/1.13.0-notes.rst
M numpy/distutils/mingw32ccompiler.py
M numpy/distutils/misc_util.py
Log Message:
-----------
Merge pull request #8355 from rolk/8355_mingw_py35
Fix building extensions with MinGW for Python 3.5
Compare: https://github.com/numpy/numpy/compare/f55516951b77...78b06bdc2f46
More information about the Numpy-svn
mailing list