Skip to content

Fix compilation failures on Mac M1 machines#636

Merged
dham merged 1 commit intoOP2:masterfrom
danshapero:m1-fixes
Sep 23, 2021
Merged

Fix compilation failures on Mac M1 machines#636
dham merged 1 commit intoOP2:masterfrom
danshapero:m1-fixes

Conversation

@danshapero
Copy link
Copy Markdown
Contributor

-march=native doesn't work on M1 at present; this patch checks whether we're on an ARM or x86 machine using the platform module from the standard library and sets the right compiler flag in the former case.

`-march=native` doesn't work on M1 at present.
@dham dham merged commit 2d77e8f into OP2:master Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants