Open thorade opened 1 year ago
It seems sub-sub-directories per gcc version are supported by Dymola 2020 and newer, I am somewhat unsure about other tools. Would it be possible to pre-compile for multiple gcc versions (one new like gcc81, one old, like gcc48) and put them in the corresponding directories?
I guess so. I'm afraid we'll have time to do that from September onwards. If you know how to handle Github's CI scripts, you may try this on a branch and then test the binary artefacts yourself, it if works we can merge it into master in 1 second.
Hi, I have now made a few changes and I need some feedback:
I think we use gcc 4.8.5 currently, and might upgrade to 8.x later this year, but I am not entirely sure. I tested with clang 7.x and it does produce binaries that are compatible with gcc 4.8. Let me test whether clang 10 to 14 also produces binaries that work with gcc 4.8 and/or gcc 8.x, but that might take me a while.
Hi - I have tried addressing this, but the combination of CMake 3.8 and GCC 4.8 is not very common and I have problems getting the docker images to compile the sources. GCC 8 works well by the way.
Modelica Language Specification about Resources/Library directory and subdirectories: https://specification.modelica.org/master/functions.html#annotations-for-external-libraries-and-include-files https://github.com/modelica/ModelicaSpecification/issues/1316
Sub-directories per platform:
Sub-sub-directories per compiler and version:
It seems sub-sub-directories per gcc version are supported by Dymola 2020 and newer, I am somewhat unsure about other tools. Would it be possible to pre-compile for multiple gcc versions (one new like gcc81, one old, like gcc48) and put them in the corresponding directories?
If gcc 4.8.5 is too old to compile CoolProp, clang can be used, it produces binaries compatible with gcc 4.8.5