Closed dpiparo closed 8 years ago
The -O0 option is set only for Debug configuration. Release is currently using default Cmake configuration for GCC Release. Probably better to specify set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Ofast")
between this lines 111-112
Hi Oleg,
right. For Clang Ofast is specified. I would recommend to do the same for gcc :)
Cheers, Danilo
Hi,
I only have a mac presently at disposal. Given that the config has some glitches on osx, I am not able to check this myself but it seems to me, and perhaps I am wrong, that the optimisation flags for gcc are not set correctly and the implicit "-O0" is used.
Cheers, Danilo