compressonator icon indicating copy to clipboard operation
compressonator copied to clipboard

Non portable use of arch flags

Open seragh opened this issue 2 years ago • 0 comments

CMP_Core adds SIMD libraries unconditionally and specifies arch/march flags. Those flags are compiler dependent and not platform. The build scripts assumes on Windows msvc is being used but clang becomes more and more common as the compiler of choice and then there is mingw. An other issue is that -march=nehalem and co require an x86 target host to be accepted.

Probably the SIMD libs should be put behind options, ifdefs and the needed flags be fed via presets.

seragh avatar Aug 03 '23 16:08 seragh