Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
that wasn't meant to be pushed
authorAugustin Degomme <adegomme@users.noreply.github.com>
Sun, 24 Jan 2021 21:45:28 +0000 (22:45 +0100)
committerAugustin Degomme <adegomme@users.noreply.github.com>
Sun, 24 Jan 2021 21:45:56 +0000 (22:45 +0100)
tools/cmake/Flags.cmake

index 72dcbf1..0a195ec 100644 (file)
@@ -174,13 +174,13 @@ endif()
 
 if(enable_model-checking AND enable_compile_optimizations)
   # Forget it, do not optimize the code (because it confuses the MC):
-  set(optCFLAGS "-O0 -gdwarf-4")
+  set(optCFLAGS "-O0")
   # But you can still optimize this:
   foreach(s
       src/simix/popping.cpp src/simix/popping_generated.cpp src/simix/smx_global.cpp
       ${SURF_SRC} ${TRACING_SRC} ${XBT_SRC}
       ${MC_SRC_BASE} ${MC_SRC})
-      set (mcCFLAGS "-O3 -gdwarf-4 -funroll-loops -fno-strict-aliasing")
+      set (mcCFLAGS "-O3 -funroll-loops -fno-strict-aliasing")
       if(CMAKE_COMPILER_IS_GNUCC)
         set (mcCFLAGS "${mcCFLAGS} -finline-functions")
       endif()