Commit e8b60300 authored by Jason Rhinelander's avatar Jason Rhinelander

Reduce default optimization to -O2

-O3 -march=native seems to make no performance difference (and actually
slows some parts of eris down--plus seems to introduce
non-reproducibility in RNG when -march=native enables AVX instructions)
parent d2a3259f
......@@ -33,7 +33,7 @@ include_directories(${ERIS_INCLUDE_DIRS})
set(CMAKE_CXX_FLAGS "-std=c++11 -march=native -O3 -Wall -Wextra ${CMAKE_CXX_FLAGS}")
set(CMAKE_CXX_FLAGS "-std=c++11 -O2 -Wall -Wextra ${CMAKE_CXX_FLAGS}")
add_library(voting ${voting_src})
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment