8000 MNT: Use C99 to compile numpy-dev by pllim · Pull Request #368 · astropy/ci-helpers · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Oct 17, 2024. It is now read-only.

MNT: Use C99 to compile numpy-dev #368

Merged
merged 2 commits into from
Jan 6, 2019
Merged

MNT: Use C99 to compile numpy-dev #368

merged 2 commits into from
Jan 6, 2019

Conversation

pllim
Copy link
Member
@pllim pllim commented Jan 6, 2019

As suggested by @rgommers (thank you! 🙏 ) over at numpy/numpy#12610 (comment)

I will open an experimental PR over as Astropy to use this branch and see what happens. 🤞

Fix astropy/astropy#8318

@pllim
Copy link
Member Author
pllim commented Jan 6, 2019

Unfortunately, this does not seem to work. Example log: https://travis-ci.org/astropy/astropy/jobs/475919446 (and also the CI for this PR has the same error)

option -s not recognized

@rgommers
Copy link
rgommers commented Jan 6, 2019

Try export CFLAGS="-std=c99", if that also doesn't work then I need some sleep first:)

@pllim
Copy link
Member Author
pllim commented Jan 6, 2019

Yay, tests passed! (Appveyor failure is unrelated.)

@pllim
Copy link
Member Author
pllim commented Jan 6, 2019

I guess we can still nitpick on whether we want that CFLAGS defined for all Numpy selections, but at least the solution is at hand now.

@rgommers
Copy link
rgommers commented Jan 6, 2019

Nice. Anything except dev will be installs from wheels, so CFLAGS won't do anything in those cases. So this PR seems good as is.

@bsipocz bsipocz merged commit 23f5357 into astropy:master Jan 6, 2019
@bsipocz
Copy link
Member
bsipocz commented Jan 6, 2019

Thanks @pllim and @rgommers!

@pllim pllim deleted the patch-1 branch January 6, 2019 20:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0