]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
Disabled c-compiler optimization, cflags="-O0". Compiling a model is now faster....
authorlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Thu, 29 Mar 2012 06:43:16 +0000 (06:43 +0000)
committerlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Thu, 29 Mar 2012 06:43:16 +0000 (06:43 +0000)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24560 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.modelica/src/org/simantics/modelica/ModelicaManager.java

index 835f7338048b796f3d7649d5b350aaa17bf610b6..8eb75464c68002bb65700718f065067360479d0f 100644 (file)
@@ -235,6 +235,7 @@ public class ModelicaManager {
                     ",stopTime="+inits.get("stop value")+\r
                     ",method="+inits.get("method")+\r
                     ",outputFormat="+ outputFormat\r
+                    + ",cflags=\"-O0\"" // Disable c-compiler optimization => faster compilation\r
                     );\r
             if(inits.containsKey("tolerance")) {\r
                 s.print(",tolerance="+inits.get("tolerance"));\r