-
Notifications
You must be signed in to change notification settings - Fork 282
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
github CI: use ilammy/msvc-dev-cmd #2514
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2514 +/- ##
==========================================
+ Coverage 64.65% 64.66% +0.01%
==========================================
Files 103 103
Lines 22232 22249 +17
Branches 10858 10859 +1
==========================================
+ Hits 14373 14388 +15
- Misses 5618 5620 +2
Partials 2241 2241
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
c5998d4
to
77a5bcb
Compare
Seems x86 builds are bugged:
|
@kevinbackhouse so the value on the bottom is
on linux. Sounds like UB. |
@neheb: Is UB an abbreviation for undefined behavior? Is this test failing sporadically? |
Yes. Not sporadic at all. |
@kevinbackhouse added back 32-bit tests. |
https://gist.github.com/neheb/d19b90a1a21214aa4e48ae7832bfcfe9 The failures are the same on x86 linux |
Speculating a bit here, because I'm debugging on 64-bit Linux, but most likely it's caused by a difference in floating point accuracy in this calculation: Line 2615 in 79bf4d0
|
partially. So I tried fixing this by converting a bunch of doubles to floats. On 32-bit linux closest I got was 5:20:00.0 |
I was wondering if the opposite would help: use double, not float. Experiment is here: #2520 |
Might want to add the second commit in this PR to that one. |
remaining failures are CVE failures. Can you take a look? |
I looked at |
#2522 will hopefully fix the remaining problems |
8f6cb44
to
728a46b
Compare
Small simplification Signed-off-by: Rosen Penev <[email protected]>
32-bit MSVC is available and should be tested. Signed-off-by: Rosen Penev <[email protected]>
Thanks to @kevinbackhouse , this passes now. |
Small simplification