mirror of
https://git.gfz-potsdam.de/naaice/tug.git
synced 2025-12-13 09:28:23 +01:00
Added cxx flags -O2 -mfma to CMakeLists - ENORMOUS SPEEDUP
This commit is contained in:
parent
1c86a7e5b3
commit
15e1883909
@ -8,6 +8,7 @@ set(CMAKE_CXX_STANDARD 14)
|
||||
find_package(Eigen3 REQUIRED NO_MODULE)
|
||||
find_package(OpenMP)
|
||||
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2 -mfma")
|
||||
option(USE_OPENMP "Compile with OpenMP support" ON)
|
||||
|
||||
add_subdirectory(app)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user