Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can add -march=native to CMAKE_CXX_FLAGS (or to CMAKE_CXX_config where config is RELEASE, DEBUG, etc).

You can enable LTO by setting ENABLE_LTO build option.

You can add -march=native-march=native -O3 to CMAKE_CXX_FLAGS (or to CMAKE_CXX_configCMAKE_CXX_FLAGS_config where config is RELEASE, DEBUG, etc).

You can enable LTO by setting ENABLE_LTO build option.