From 809ce3a44a8b964b5b67c857bff30f34c750d57e Mon Sep 17 00:00:00 2001 From: lempinen Date: Thu, 29 Mar 2012 06:43:16 +0000 Subject: [PATCH] Disabled c-compiler optimization, cflags="-O0". Compiling a model is now faster. (refs #2995) git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24560 ac1ea38d-2e2b-0410-8846-a27921b304fc --- .../src/org/simantics/modelica/ModelicaManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/org.simantics.modelica/src/org/simantics/modelica/ModelicaManager.java b/org.simantics.modelica/src/org/simantics/modelica/ModelicaManager.java index 835f7338..8eb75464 100644 --- a/org.simantics.modelica/src/org/simantics/modelica/ModelicaManager.java +++ b/org.simantics.modelica/src/org/simantics/modelica/ModelicaManager.java @@ -235,6 +235,7 @@ public class ModelicaManager { ",stopTime="+inits.get("stop value")+ ",method="+inits.get("method")+ ",outputFormat="+ outputFormat + + ",cflags=\"-O0\"" // Disable c-compiler optimization => faster compilation ); if(inits.containsKey("tolerance")) { s.print(",tolerance="+inits.get("tolerance")); -- 2.47.1