Opened 4 years ago
Closed 3 years ago
#6009 closed enhancement (fixed)
Docker cross-compile FMUs dialog in OMEdit
Reported by: | Andreas Heuermann | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | blocker | Milestone: | 1.19.0 |
Component: | OMEdit | Version: | v1.16.0-dev |
Keywords: | fmi docker OMEdit | Cc: |
Description
Users can cross compile FMUs very easily if they have Docker installed. That is a cool feature but hidden very well.
Adding it to OMEdit and promoting it in the next realese notes would be great.
Basically you need to have Docker in your PATH and you are able to generate FMUs for every main system (except of course macOS for legal reasons), no matter what OS you are on.
Just set platforms
to something like
"arm-linux-gnueabihf docker run docker.openmodelica.org/armcross-omsimulator:v2.0", "x86_64-linux-gnu docker run docker.openmodelica.org/build-deps:v1.13", "i686-linux-gnu docker run docker.openmodelica.org/build-deps:v1.13-i386", "x86_64-w64-mingw32 docker run docker.openmodelica.org/msyscross-omsimulator:v2.0", "i686-w64-mingw32 docker run docker.openmodelica.org/msyscross-omsimulator:v2.0"
and call buildModelFMU
with it.
We could add checkboxes, plus a static list of "docker run" labels for FMU export dialog in OMEdit.
Change History (6)
comment:1 by , 4 years ago
Milestone: | Future → 1.16.0 |
---|
comment:2 by , 4 years ago
Milestone: | 1.16.0 → 1.17.0 |
---|---|
Priority: | high → blocker |
I guess we can make this a blocker for the next release, but we don't need to rush to get it in 1.16.0.
And of course we should add this to the users guide