From: lempinen Date: Thu, 29 Mar 2012 06:43:16 +0000 (+0000) Subject: Disabled c-compiler optimization, cflags="-O0". Compiling a model is now faster.... X-Git-Tag: simantics-1.6~14 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=809ce3a44a8b964b5b67c857bff30f34c750d57e;p=simantics%2Fsysdyn.git 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 --- 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"));