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
bsipocz merged 2 commits into
astropy:masterfrom
pllim:patch-1
Jan 6, 2019
Merged

bsipocz merged 2 commits into
astropy:masterfrom
pllim:patch-1

Conversation

@pllim

@pllim pllim commented Jan 6, 2019 •

Copy link
Copy Markdown
Member

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

pllim commented Jan 6, 2019

Copy link
Copy Markdown
Member Author

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

rgommers commented Jan 6, 2019

Copy link
Copy Markdown

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

@pllim

pllim commented Jan 6, 2019

Copy link
Copy Markdown
Member Author

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

@pllim

pllim commented Jan 6, 2019

Copy link
Copy Markdown
Member Author

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

rgommers commented Jan 6, 2019

Copy link
Copy Markdown

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

bsipocz commented Jan 6, 2019

Copy link
Copy Markdown
Member

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