Opened 3 years ago
Closed 3 years ago
#6391 closed defect (fixed)
Use dynamic linking to speed up compilation in Windows
Reported by: | casella | Owned by: | adrpo |
---|---|---|---|
Priority: | blocker | Milestone: | 1.17.0 |
Component: | Build Environment | Version: | 1.16.2 |
Keywords: | Cc: | sjoelund.se |
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 Changed 3 years ago by casella
comment:2 Changed 3 years ago by adrpo
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 Changed 3 years ago by casella
- Resolution set to fixed
- Status changed from new to closed
Tested this with OMC 1.17.0-dev.beta2 on Windows 10 64 bit, works fine.
Just tried this feature on the latest Windows nightly, it is really much faster than before.