Skip to content
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

Fix openblas msvc export library generation #11

Merged
merged 2 commits into from Jan 8, 2020

Conversation

@pv
Copy link
Contributor

@pv pv commented Dec 17, 2019

The command building .lib export library on MSVC seems to be currently failing.

This does not seem to be new, see e.g. https://ci.appveyor.com/project/matthew-brett/openblas-libs/builds/26629867/job/2i2y96hhfgwlpjb3 from some months ago, where there is "LINK : fatal error LNK1104: cannot open file 'libopenblas_v0.3.7-gcc_7_1_0.def'" close to the end, and the generated .zip artifact is missing the msvc .lib and .def files.

It was fixed that for the INTERFACE64=1 case in #8, but I left the other case alone assuming it was different for some reason --- but it seems it has been broken. Numpy et al. don't need these files for building (due to the way numpy.distutils handles gfortran compatibility), so it's not particularly urgent.

Also, add set -e flag to the bash build scripts, so that failures like this become fatal.

pv added 2 commits Dec 17, 2019
…rary

The name of the generated export file seems to have been changed from
libopenblas.def to $(LIBPREFIX).def in OpenBLAS, probably in their
commit dddedbab
Copy link
Collaborator

@tylerjereddy tylerjereddy left a comment

This looks helpful & Appveyor CI logs look clear of the issue here, thanks Pauli.

@tylerjereddy tylerjereddy merged commit 31de412 into MacPython:master Jan 8, 2020
2 checks passed
2 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.