8000 Mingw w64 building by carlkl · Pull Request #5587 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

Mingw w64 building #5587

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Mingw w64 building #5587

wants to merge 2 commits into from

Conversation

carlkl
Copy link
Member
@carlkl carlkl commented Feb 20, 2015

mingw-w64 / OpenBLAS support for the mingw-w64 toolchains available on https://bitbucket.org/carlkl/mingw-w64-for-python/downloads. site.cfg should be configured like this:

[openblas]
libraries = openblaspy
library_dirs = <openblaspath>/lib
include_dirs = <openblaspath>/include

libopenblaspy.dll from <openblaspath>/bin has to be copied to numpy/core first before build.
For this mingw-w64 toolchains a manual creation of the python import libs is necessary, i.e.:

gendef python2.7.dll
dlltool -D python27.dll -d python27.def -l libpython27.dll.a
move libpython27.dll.a libs\libpython27.dll.a

For python-2.6 up to python 3.2 use https://bitbucket.org/carlkl/mingw-w64-for-python/downloads/mingwpy_win32_vc90.tar.xz or https://bitbucket.org/carlkl/mingw-w64-for-python/downloads/mingwpy_amd64_vc90.tar.xz
For python-3.3 and python-3.4 use https://bitbucket.org/carlkl/mingw-w64-for-python/downloads/mingwpy_win32_vc100.tar.xz or https://bitbucket.org/carlkl/mingw-w64-for-python/downloads/mingwpy_amd64_vc100.tar.xz

@@ -200,9 +202,17 @@ def get_flags_opt(self):
# With this compiler version building Fortran BLAS/LAPACK
# with -O3 caused failures in lib.lapack heevr,syevr tests.
opt = ['-O2']
elif v and v>='4.6.0':
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spaces around >=.

@charris
Copy link
Member
charris commented Feb 22, 2015

I'm not competent to comment on much more than PEP8 style nitpicks. It would be good to have the site.cfg notes documented somewhere, maybe in INSTALL.txt. Another possible spot is doc/source/user/install.rst. Generally we also try to use the commit message prefixes in doc/source/dev/gitwash/development_workflow.rst.

@matthew-brett @juliantaylor Thoughts?

charris added a commit to charris/numpy that referenced this pull request Feb 27, 2015
@charris
Copy link
Member
charris commented Feb 27, 2015

Small cleanup in #5614, so closing this. Thanks @carlkl .

@charris charris closed this Feb 27, 2015
charris referenced this pull request Feb 27, 2015
BLD: Add support for MinGW-w64/OpenBLAS
charris referenced this pull request in charris/numpy Oct 20, 2015
Revert mingwpy modifications to distutils. They are causing problems
for non-windows builds and it is better to wait until mingypy is
further along.

This reverts commit 96abd32, reversing
changes made to 06af991.
charris referenced this pull request in charris/numpy Oct 20, 2015
Revert mingwpy distutils modifications they cause problems on
non-windows platforms.

This reverts commit 96abd32, reversing
changes made to 06af991.
jaimefrio referenced this pull request in jaimefrio/numpy Mar 22, 2016
Revert mingwpy modifications to distutils. They are causing problems
for non-windows builds and it is better to wait until mingypy is
further along.

This reverts commit 96abd32, reversing
changes made to 06af991.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0