-
Notifications
You must be signed in to change notification settings - Fork 113
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
Add g++-5 to ci #425
Add g++-5 to ci #425
Conversation
This first naive try to scope out GCC 5 on bionic may not work because not all the standards of the matrix are available. |
The first naive try is probably destined to fail since GCC 5 does supports neither |
So this ran surprisingly well --- not perfect, but well. I think all the dedicated, consistent work on going standalone really paid off. So... anyway, In a dedicated run, I added the basic Multiprecision g++-5 tests as shown here. I had expected quite a few failures, but there was one single test failure in I don't know how to guage the excitement on getting g++-5 back running in CI. This can definitely wait for 1.80 (post 1.79), since there is a lot going on. But it does, in fact, seem feasible to go for g++-5. Thoughts? Cc: @jzmaddock and @mborland and @NAThompson |
If it's straightforward then by all means go for it. |
While underway, I found a TODO for C++11. I took a try at reworking the I am a bit unsure of the new design I made. If anyone gets a chance (no hurry though), ... could you please taka a look at this? (Because Cc: @jzmaddock and @mborland |
I think I found something. This might turn into a longer story. So I'll get this communication started. If I'm wrong please correct this. I found that test_cpp_rational.cpp was generally running slowly (on PC locally) and also crashing in CI on g++-5 in GHA. So I found this line. The Please note GHA tests are using something like So in this PR, I have:
I am not getting through the traffic jamon CI. But I believe the underflow on digits I mention above might actually be a real factor that we might want to address for 1.79 itself. @jzmaddock and @mborland please do comment on this or correct my thinking if I'm off on a tangent here... Many thanks, guys. |
Ah :( Yes, double_limb_type is __int128 and numeric_limits is not specialized unless you compile with --gnu++XX, I'll check over the diff shortly, this is an easy one to get wrong and mess up as you've just discovered! :( Good catch that! If Github had a big thumbs up emoji imagine it here :) |
Diff looks good to me. |
Thanks John (@jzmaddock) CI on GHA is moving in the green direction. There was a hicup on drone. I could To me, it looks like spurious runner problems on drone. What's your take? |
Yep spurious: couldn't connect to ubuntu.com for some reason. |
Thanks John. So when I merge this, Multiprecision will officially support GCC5 on This will get in for 1.79. I do have interest in finding out how it looks for 4.8. But i will not press or force this issue in February. I'll take a cursory glance, however, in a future PR and we can see if it's feasible. Cc: @jzmaddock and @mborland and @NAThompson |
Failures in CI are:
Merging to develop |
No description provided.