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 Andreas Heuermann, 4 years ago

Milestone: Future1.16.0

And of course we should add this to the users guide

comment:2 by Francesco Casella, 4 years ago

Milestone: 1.16.01.17.0
Priority: highblocker

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.

comment:3 by Francesco Casella, 4 years ago

Milestone: 1.17.01.18.0

Rescheduled to 1.18.0

comment:4 by Francesco Casella, 3 years ago

Milestone: 1.18.0

Ticket retargeted after milestone closed

comment:5 by Francesco Casella, 3 years ago

Milestone: 1.19.0

1.18.0 blocker tickets moved to 1.19.0

comment:6 by Adeel Asghar, 3 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.