For the new module negadoctor, the author @anon41087856 had to disable some of the OpenMP optimizations when building for Windows, in order to avoid some linker (?) errors.
See the discussion here and here
The same happened with other modules in the past.
Doing so we have some performance degradation for Windows users, like me.
Investigating, I noticed that I can build without patches in debug mode (-DCMAKE_BUILD_TYPE=Debug
), but not in release mode (-DCMAKE_BUILD_TYPE=Release
).
Does this only means that in debug mode optimizations are disabled anyway, or perhaps it is a hint for a possible solution ? I’m not so expert to answer myself.
Any clue ?
Marco