Commit 9403273
authored
CMake improvments (#6896)
@mahge
Add missing susan template target.
b5b4271
- This was working because the normal OpenModelica compilation generated
the mo file from the tpl file. The CMake compilation was just picking
that one and never complained.
@mahge
[cmake] Generate OpenModelicaScriptingAPI.mo
64eed1d
- This was missing. CMake compilation worked only because the normal
OpenModelica compilation generated this file. The CMake compilation
was just picking up that file and never complained.
@mahge
[cmake] Move Dynload_omc.cpp to omcruntime lib.
423c76e
- It was in omcbackendruntime. It seems like it "belongs" in omcruntime.
@mahge
[cmake] Remove omparse-boot.
2f1a1f4
- It is not needed. We are trying a different approach for bootstrapping
@mahge
Move some scripting API functions to CevalScript.
e215985
- This were in CevalScriptBackend.mo before. The reason they were in there
was that the original plan for bootstrapping with the CMake config
was to not use the bootstrap tarball. Instead the plan was to use
the latest C source files of the MetaModelica sources that passed
the CI run. This meant these scripting api functions were not
technically needed for the 'normal bootstrapping' so they could be
in the "backend" interface.
However, bootstrapping just changed. And the tarball(and related nuances)
are mostly gone. So at this point it is worth to take the same source
files that the normal bootstrapping uses since they are already
available within the repo.
@mahge
Add boot folder to cmake configuration/compilation
f5ffb54
@mahge
A quick support for generating config.unix.h.
4aae339
@mahge
Add boot libraries and use them for bootstrapping.
4795955
- Added omparse-boot
- Added omcruntime-boot
- Added omcgraphstream-boot
All of this can probably be avoided if OpenModelciaBootstrapping header
is added to version control and updated with the bootstrapping sources.
For now I am going to do it this way since this is how the 'normal'
bootstrapping works.
@mahge
Use OpenModelicaBootstrappingHeader.h from tarball
03ebe58
- Use OpenModelicaBootstrappingHeader.h from tarball-include for now.
It would be nice if it is also added to source control just like the
C bootstrapping source files. Otherwise it might actually break.
If we add it to source control we can also remove the boot libraries
like omparse-boot, omcruntime-boot ....
@mahge
Add generation of Util/Autoconf.mo
6714810
- This adds a quick and ugly generation of Autoconf.mo from
Autoconf.mo.in (linux) or from (copy only) Autoconf.mo.omdev.mingw
(windows)
- The generation code is added in Compiler/runtime/CMakeLists because
we have a few variables already defiend in there for generation of
config.unix.h.
This should probably be moved outside to some higher directory.
@mahge
Add (incomplete) generation of c/RuntimeSources.mo
7079cf4
- This just a quick way to enable bootstrapping.
The contents of the file are not really complete and can not be expected
to be used for simulation yet.
But that is the case for many other things regarding simulation
executable compilation. There is some work needed to handle that.
@mahge
Update 3rdParty submodule.
36ecba5
- The changes from the branch are merged to master on 3rdParty.
Submodule head is updated now.1 parent f62cc7f commit 9403273
File tree
198 files changed
+2980
-2267
lines changed- OMCompiler
- Compiler
- .cmake
- Script
- boot
- bootstrap-sources/build
- runtime
- Parser
- SimulationRuntime
- c
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
198 files changed
+2980
-2267
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | | - | |
302 | | - | |
| 301 | + | |
303 | 302 | | |
304 | 303 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | | - | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
99 | 101 | | |
100 | 102 | | |
101 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
102 | 121 | | |
103 | 122 | | |
104 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1159 | 1159 | | |
1160 | 1160 | | |
1161 | 1161 | | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
1162 | 1182 | | |
1163 | 1183 | | |
1164 | 1184 | | |
| |||
3228 | 3248 | | |
3229 | 3249 | | |
3230 | 3250 | | |
| 3251 | + | |
| 3252 | + | |
| 3253 | + | |
| 3254 | + | |
| 3255 | + | |
| 3256 | + | |
| 3257 | + | |
| 3258 | + | |
| 3259 | + | |
| 3260 | + | |
| 3261 | + | |
| 3262 | + | |
| 3263 | + | |
| 3264 | + | |
| 3265 | + | |
| 3266 | + | |
| 3267 | + | |
| 3268 | + | |
| 3269 | + | |
| 3270 | + | |
| 3271 | + | |
| 3272 | + | |
| 3273 | + | |
| 3274 | + | |
| 3275 | + | |
| 3276 | + | |
| 3277 | + | |
| 3278 | + | |
| 3279 | + | |
| 3280 | + | |
| 3281 | + | |
| 3282 | + | |
| 3283 | + | |
| 3284 | + | |
| 3285 | + | |
| 3286 | + | |
| 3287 | + | |
| 3288 | + | |
| 3289 | + | |
| 3290 | + | |
| 3291 | + | |
| 3292 | + | |
| 3293 | + | |
| 3294 | + | |
| 3295 | + | |
| 3296 | + | |
| 3297 | + | |
| 3298 | + | |
| 3299 | + | |
| 3300 | + | |
| 3301 | + | |
| 3302 | + | |
| 3303 | + | |
| 3304 | + | |
| 3305 | + | |
| 3306 | + | |
| 3307 | + | |
| 3308 | + | |
| 3309 | + | |
| 3310 | + | |
| 3311 | + | |
| 3312 | + | |
| 3313 | + | |
| 3314 | + | |
| 3315 | + | |
| 3316 | + | |
| 3317 | + | |
| 3318 | + | |
| 3319 | + | |
| 3320 | + | |
| 3321 | + | |
| 3322 | + | |
| 3323 | + | |
| 3324 | + | |
| 3325 | + | |
| 3326 | + | |
| 3327 | + | |
| 3328 | + | |
| 3329 | + | |
| 3330 | + | |
| 3331 | + | |
| 3332 | + | |
| 3333 | + | |
| 3334 | + | |
| 3335 | + | |
| 3336 | + | |
| 3337 | + | |
| 3338 | + | |
| 3339 | + | |
| 3340 | + | |
| 3341 | + | |
| 3342 | + | |
| 3343 | + | |
| 3344 | + | |
| 3345 | + | |
| 3346 | + | |
| 3347 | + | |
| 3348 | + | |
| 3349 | + | |
| 3350 | + | |
| 3351 | + | |
| 3352 | + | |
| 3353 | + | |
| 3354 | + | |
| 3355 | + | |
| 3356 | + | |
| 3357 | + | |
| 3358 | + | |
| 3359 | + | |
| 3360 | + | |
| 3361 | + | |
| 3362 | + | |
| 3363 | + | |
| 3364 | + | |
| 3365 | + | |
| 3366 | + | |
| 3367 | + | |
| 3368 | + | |
| 3369 | + | |
| 3370 | + | |
| 3371 | + | |
| 3372 | + | |
| 3373 | + | |
| 3374 | + | |
| 3375 | + | |
| 3376 | + | |
| 3377 | + | |
| 3378 | + | |
| 3379 | + | |
| 3380 | + | |
| 3381 | + | |
| 3382 | + | |
| 3383 | + | |
| 3384 | + | |
| 3385 | + | |
| 3386 | + | |
| 3387 | + | |
| 3388 | + | |
| 3389 | + | |
| 3390 | + | |
| 3391 | + | |
| 3392 | + | |
| 3393 | + | |
| 3394 | + | |
| 3395 | + | |
| 3396 | + | |
| 3397 | + | |
| 3398 | + | |
| 3399 | + | |
| 3400 | + | |
| 3401 | + | |
| 3402 | + | |
| 3403 | + | |
| 3404 | + | |
| 3405 | + | |
3231 | 3406 | | |
3232 | 3407 | | |
0 commit comments