Skip to content

BUG: Fix Fortran kind detection for aarch64 & s390x.#11725

Merged
charris merged 1 commit intonumpy:masterfrom
QuLogic:selected-real-kind
Aug 14, 2018
Merged

BUG: Fix Fortran kind detection for aarch64 & s390x.#11725
charris merged 1 commit intonumpy:masterfrom
QuLogic:selected-real-kind

Conversation

@QuLogic
Copy link
Copy Markdown
Contributor

@QuLogic QuLogic commented Aug 13, 2018

@QuLogic
Copy link
Copy Markdown
Contributor Author

QuLogic commented Aug 13, 2018

Also, cc @tylerjereddy because I'm unsure why this does not fail on Shippable? (Maybe because f2py doesn't work with runtests.py; see #11713?)

@charris charris added this to the 1.15.1 release milestone Aug 13, 2018
return 8
machine = platform.machine().lower()
if machine.startswith('power') or machine.startswith('ppc64'):
if machine.startswith(('aarch64', 'power', 'ppc64', 's390x')):
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Also, not sure if this should be a strict check for the new ones instead of startswith.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Probably more compiler dependent, I'd guess. Let's put this in and fix it up if problems ensue.

@charris charris merged commit 73d11ce into numpy:master Aug 14, 2018
@charris
Copy link
Copy Markdown
Member

charris commented Aug 14, 2018

Thanks @QuLogic .

@QuLogic QuLogic deleted the selected-real-kind branch August 14, 2018 19:40
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Aug 16, 2018
@charris charris removed this from the 1.15.1 release milestone Aug 16, 2018
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.

2 participants