Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BUG: Cygwin Workaround for #14787 on affected platforms #17548

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

Merged
merged 2 commits into from
Oct 14, 2020

Conversation

embray
Copy link
Contributor

@embray embray commented Oct 13, 2020

This fixed the issue for me on Cygwin with GCC 7.4.0 by adding the compiler flags necessary to work around the issue as described in #14787.

Might also help with #16246.

commands

replaces obsolete (no longer used anywhere AFICT check_compiler_gcc4
with some more general utilities for checking GCC version
… flags

when building the numpy.core._multiarray_umath module

This adds the extra compile args to the extension needed to work around
the bug but only in the known case where the bug is relevant.
@rgommers
Copy link
Member

Thanks @embray. LGTM and CI is all green, so +1 to merge from me.

@mattip pinging you to have a glance at this AVX512 workaround, just in case.

@mattip mattip merged commit eb2c751 into numpy:master Oct 14, 2020
@mattip
Copy link
Member

mattip commented Oct 14, 2020

If you are using non-msvc and have a second, could you check that gh-17547 builds/runs for you?

@charris charris added the 09 - Backport-Candidate PRs tagged should be backported label Oct 14, 2020
@embray embray deleted the issue-14787 branch October 14, 2020 16:02
@embray
Copy link
Contributor Author

embray commented Oct 14, 2020

Thanks!

@embray
Copy link
Contributor Author

embray commented Oct 14, 2020

Will check #17547 once I'm back on my Windows machine.

@charris charris changed the title BUG: Workaround for #14787 on affected platforms BUG: Cygwin Workaround for #14787 on affected platforms Oct 15, 2020
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Oct 15, 2020
DWesl added a commit to DWesl/numpy that referenced this pull request Oct 27, 2020
DWesl added a commit to DWesl/numpy that referenced this pull request Oct 27, 2020
charris pushed a commit to charris/numpy that referenced this pull request Dec 31, 2020
charris pushed a commit to charris/numpy that referenced this pull request Dec 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants