From e50b11790adbea41e15ddcb39441ada070877bd4 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Fri, 1 Dec 2017 08:41:20 +0100 Subject: [PATCH] MC: allow compile optimizations in src/kernel/lmm/. C++ with boost is really slow without them (mainly boost::intrusive::list here). --- tools/cmake/GCCFlags.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/cmake/GCCFlags.cmake b/tools/cmake/GCCFlags.cmake index 9f74d0f509..f093b3b84b 100644 --- a/tools/cmake/GCCFlags.cmake +++ b/tools/cmake/GCCFlags.cmake @@ -149,6 +149,7 @@ if(enable_model-checking AND enable_compile_optimizations) set(optCFLAGS "-O0 ") # But you can still optimize this: foreach(s + src/kernel/lmm/fair_bottleneck.cpp src/kernel/lmm/lagrange.cpp src/kernel/lmm/maxmin.cpp src/xbt/mmalloc/mm.c src/xbt/log.c src/xbt/xbt_log_appender_file.c src/xbt/xbt_log_layout_format.c src/xbt/xbt_log_layout_simple.c -- 2.20.1