mirror of
https://github.com/boostorg/histogram.git
synced 2025-05-11 13:14:06 +00:00
enable "unsafe" math optimizations in benchmarks
This commit is contained in:
parent
7a55bf0e29
commit
4d383fae1b
@ -23,7 +23,7 @@ endif()
|
||||
|
||||
macro(add_benchmark name)
|
||||
add_executable(${name} "${name}.cpp")
|
||||
target_compile_options(${name} PRIVATE -O3 -march=native -fno-exceptions -fno-rtti)
|
||||
target_compile_options(${name} PRIVATE -O3 -march=native -fno-exceptions -fno-rtti -funsafe-math-optimizations)
|
||||
target_link_libraries(${name} PRIVATE Boost::histogram benchmark_main)
|
||||
endmacro()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user