Tom de Geus @tdegeus May 24 05:27
@tatatupi I do it like this:
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DXTENSOR_USE_XSIMD=ON")
Also I think that CMake in Release mode already uses -O3, but you can easily check
Taiguara Tupinambás @tatatupi
Created
May 25, 2019 16:24
-
-
Save phaustin/6e9329d36012efe635b59be2b5211945 to your computer and use it in GitHub Desktop.
cmake add flags
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment