ethereon / lycon

A minimal and fast image library for Python and C++
Other
287 stars 27 forks source link

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

Open maximelianos opened 4 years ago

maximelianos commented 4 years ago

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: https://github.com/mfem/mfem/issues/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!