-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rebuild binaries for Windows (MSVC, TDM-GCC) and Linux (GCC) #4250
Conversation
174228e
to
2ff18d5
Compare
2ff18d5
to
94cb74a
Compare
Should probably wait for #3700. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@beutlich, the versions of the compilers that you used to build the binaries are really old. Is that done on purpose? Do we have established guidelines to produce those binaries?
Thanks!
Of course. I even purchased VS 2005 (on MA budget and being the first MSVC compiler targeting 64-bit architectures) for that reason ;-). The reason is, that all newer compilers are still object compatible to these old static libraries, i.e., they can link them w/o caring on C runtime issues. And as it worked out the last years: Never change an old compiler. |
Yes, for C with at least two potential problems regarding the C runtime if linking with a newer compiler:
|
9858af0
to
3f8cad2
Compare
Rebuilt with all desired PRs merged. |
While this is not yet reviewed/merged we can wait for #4278. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good.
I noticed two unrelated issues - will open PR for that.
For our regression test server, we manually built from source. I.e. we either have to automize the compiler call on our side or use the built artifacts from Github CI. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As we sucessfully ran nightly tests with the same source base, I assume these binaries are fine, as well.
I think this should be the way forward, for the reasons already brought up earlier in this thread. However, if accepting new binaries in the repo for now will help with moving the release of 4.1.0 forward more smoothly, I don't mind. Maybe we can remove the binaries on master to make clear that we don't want binaries in the repo going forward? I'd be happy to provide such a pull request. |
Yes, please go ahead. |
efed93a
to
41c4ef8
Compare
Waiting for #4345 to be merged. |
41c4ef8
to
d68b4d4
Compare
Binaries should be built separately, as discussed in modelica#4250.
ecc8ded
to
ddc5267
Compare
Rebased and rebuilt once again. |
* MSVC VS 2005 * GCC (TDM64-1) 5.1.0 * Linux GCC 4.8.5
ddc5267
to
05c03a6
Compare
@HansOlsson Note, that we do not need to wait for #4302 (since ModelicaInternal.c is compiled for libModelicaExternalC). |
As stated in #4347, there is no need to have the binaries in the repo - as long as they are part of the released asset. (Unfortunately this was not the case for the lastest pre-relases https://github.com/modelica/ModelicaStandardLibrary/releases/download/v4.1.0-alpha.1/ModelicaStandardLibrary_v4.1.0-alpha.1.zip or https://github.com/modelica/ModelicaStandardLibrary/releases/download/v4.1.0-beta.1/ModelicaStandardLibrary_v4.1.0-beta.1.zip.) |
Ok, but the logic would be that we remove the libraries at some point in the future - as long as they exist they should be up-to-date. |
@casella @GallLeo @HansOlsson we have to merge this to the master also right , or is it already updated in the master ? just for understanding , Thankyou |
No, this is not meant for bringing to master, see #4347. |
@Harisankar-Allimangalath we'll need to sort out the binary issue for 4.2.0, but that will be after the 4.1.0 release. |
Binaries should be built separately, as discussed in modelica#4250.
I rebuilt the binaries using
to fix #4178.