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.
2 | No.2 Revision |
You can add
to -march=native-march=native -O3CMAKE_CXX_FLAGS
(or to
where CMAKE_CXX_configCMAKE_CXX_FLAGS_configconfig
is RELEASE
, DEBUG
, etc).
You can enable LTO by setting ENABLE_LTO
build option.