Skip to content

Commit

Permalink
Fix for clang OpenMP flags not working with g++
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund committed Oct 26, 2016
1 parent 3b40628 commit 150de49
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 7 deletions.
@@ -1,3 +1,4 @@
runScript(getEnvironmentVar("OMLIBRARYCOMMON")+"/ModelTestingDefaults.mos");
simulationRuntime := OpenModelicaModelTesting.SimulationRuntime.Cpp;
setCXXCompiler(if regexBool(getCXXCompiler(),"clang++") then "g++" else getCXXCompiler());
// Cannot change to g++ -fopenmp=libiomp5 just like that
// setCXXCompiler(if regexBool(getCXXCompiler(),"clang++") then "g++" else getCXXCompiler());
Expand Up @@ -39,7 +39,6 @@ runScript(modelTesting);getErrorString();
// "\"true
// \"
// OpenModelicaModelTesting.SimulationRuntime.Cpp
// true
// "
// ""
// OpenModelicaModelTesting.SimulationRuntime.Cpp
Expand Down
Expand Up @@ -20,7 +20,6 @@ runScript(modelTesting);getErrorString();
// "\"true
// \"
// OpenModelicaModelTesting.SimulationRuntime.Cpp
// true
// "
// ""
// OpenModelicaModelTesting.SimulationRuntime.Cpp
Expand Down
Expand Up @@ -20,7 +20,6 @@ getErrorString();
// "\"true
// \"
// OpenModelicaModelTesting.SimulationRuntime.Cpp
// true
// "
// OpenModelicaModelTesting.Kind.VerifiedSimulation
// Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum
Expand Down
Expand Up @@ -20,7 +20,6 @@ getErrorString();
// "\"true
// \"
// OpenModelicaModelTesting.SimulationRuntime.Cpp
// true
// "
// OpenModelicaModelTesting.Kind.VerifiedSimulation
// Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving
Expand Down
Expand Up @@ -20,7 +20,6 @@ getErrorString();
// "\"true
// \"
// OpenModelicaModelTesting.SimulationRuntime.Cpp
// true
// "
// OpenModelicaModelTesting.Kind.VerifiedSimulation
// Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass
Expand Down
Expand Up @@ -38,7 +38,6 @@ runScript(modelTesting);getErrorString();
// "\"true
// \"
// OpenModelicaModelTesting.SimulationRuntime.Cpp
// true
// "
// ""
// OpenModelicaModelTesting.Kind.VerifiedSimulation
Expand Down

0 comments on commit 150de49

Please sign in to comment.