If you build a CMake project using visual studio, you can build both the release and debug version, like any other visual studio project. And like any such project, the default is Debug. This PR would break this behaviour.
It is worse than that: the call to -march=native is somewhat bad and really should be avoided, but this requires a switch to runtime dispatching... which requires non trivial engineering to be done portably.
If you build a CMake project using visual studio, you can build both the release and debug version, like any other visual studio project. And like any such project, the default is Debug. This PR would break this behaviour.
It is worse than that: the call to
-march=native
is somewhat bad and really should be avoided, but this requires a switch to runtime dispatching... which requires non trivial engineering to be done portably.