KrisLibrary icon indicating copy to clipboard operation
KrisLibrary copied to clipboard

Update CMakeLists, removing SSE flag for ARM based computers

Open smeng9 opened this issue 4 years ago • 1 comments

SSE instructions are only available on intel based architectures. With recent arm computer, including Apple M1, we need to disable SSE options if we cannot detect intel architecture. Otherwise the compilation will fail.

smeng9 avatar Feb 19 '21 11:02 smeng9

Indeed, this is a quick fix and without it, it does not build on any platforms other than x86.

Might be a good idea to investigate if some flags (such as -mfpu=neon-fp-armv) could be set to improve performance on platforms running NEON SIMD or other vector FPUs

cedriclmenard avatar Jan 20 '22 19:01 cedriclmenard