Skip to content

Commit

Permalink
Fix path used to debug docker run in FMI cross-compile
Browse files Browse the repository at this point in the history
Belonging to [master]:
  - OpenModelica/OMCompiler#3029
  • Loading branch information
sjoelund authored and OpenModelica-Hudson committed Apr 2, 2019
1 parent 304f353 commit a2024ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Script/CevalScriptBackend.mo
Expand Up @@ -3435,7 +3435,7 @@ algorithm
end if;
end for;
cmd := "docker run "+(if uid<>0 then "--user " + String(uid) else "")+" --rm -w /fmu -v "+quote+path1+quote+":/fmu -v "+quote+System.realpath(includeDefaultFmi)+quote+":/fmiInclude "+stringDelimitList(rest," ")+ " sh -c " + dquote +
"(cd " + dquote + path2 + "/sources" + dquote + " || (ls -lh ; false)) && " +
"(cd " + dquote + "/fmu/" + System.basename(fmutmp) + "/sources" + dquote + " || (ls -lh /fmu ; false)) && " +
"./configure --host="+quote+host+quote+" CFLAGS="+quote+"-Os"+quote+" CPPFLAGS=-I/fmiInclude LDFLAGS= && " +
nozip + dquote;
if 0 <> System.systemCall(cmd, outFile=logfile) then
Expand Down

0 comments on commit a2024ab

Please sign in to comment.