Skip to content
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

PowerPC: unrecognized command line option ‘-march=native’ #21

Open
maximelianos opened this issue Jun 17, 2020 · 0 comments
Open

PowerPC: unrecognized command line option ‘-march=native’ #21

maximelianos opened this issue Jun 17, 2020 · 0 comments

Comments

@maximelianos
Copy link

maximelianos commented Jun 17, 2020

Could not install from pip on PowerPC architecture. GCC output: c++: error: unrecognized command line option ‘-march=native’
I found another project where it caused problems: mfem/mfem#216

The solution is to clone this repository and edit CMakeLists.txt - just remove -march=native. Then execute pip install . from the repository directory.
The speed difference is real!

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

No branches or pull requests

1 participant