Skip to content
Snippets Groups Projects
Commit ef5684fd authored by Raphael Defosseux's avatar Raphael Defosseux
Browse files

chore(ci): adding back -march=native and -flto

parent f62c2ad8
No related branches found
No related tags found
1 merge request!40chore(ci): testing ubuntu build in release mode
Pipeline #42656 failed
...@@ -47,6 +47,10 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) ...@@ -47,6 +47,10 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release") set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release")
endif() endif()
if(CMAKE_BUILD_TYPE STREQUAL "Release")
add_compile_options("-march=native;-flto")
endif()
######## ########
### SANITIZER ### SANITIZER
######## ########
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment