Opened 4 years ago

Closed 4 years ago

#6391 closed defect (fixed)

Use dynamic linking to speed up compilation in Windows

Reported by: Francesco Casella Owned by: Adrian Pop
Priority: blocker Milestone: 1.17.0
Component: Build Environment Version: 1.16.2
Keywords: Cc: Martin Sjölund

Description

Currently, the compilation of models in OMEdit under Windows is significantly slower than under Linux, because all the required libraries are statically linked. This makes the executable more portable, but in 99% of the cases when using OMEdit, nobody cares about that.

It is then a good idea to use dynamic linking in 1.17.0.PR 7183 does that on master, if successful it could be cherry-picked into 1.17.0.

Later on, we could make this choice optional, as proposed in #5827.

Change History (3)

comment:1 by Francesco Casella, 4 years ago

Just tried this feature on the latest Windows nightly, it is really much faster than before.

comment:2 by Adrian Pop, 4 years ago

Yes. Is in the queue to be ported to 1.17 already, I have a small fix for it as well, I'll port that too.

comment:3 by Francesco Casella, 4 years ago

Resolution: fixed
Status: newclosed

Tested this with OMC 1.17.0-dev.beta2 on Windows 10 64 bit, works fine.

Note: See TracTickets for help on using tickets.