ermig1979 / Simd

C++ image processing and machine learning library with using of SIMD: SSE, AVX, AVX-512, AMX for x86/x64, VMX(Altivec) and VSX(Power7) for PowerPC, NEON for ARM.
http://ermig1979.github.io/Simd
MIT License
2.03k stars 406 forks source link

Change CMake regex replace to allow numbers and - in the arch #182

Closed j-stafford closed 2 years ago

j-stafford commented 2 years ago

My target arch has a number in it so the regex replace to remove -march= and -mtune was leaving some of the string behind. This resulted in file not found errors when building.