-
Notifications
You must be signed in to change notification settings - Fork 71
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 CRlibm-1.0.0 compatibility #440
Conversation
Thanks! I was labouring under the impression that I had already done this, but apparently not... |
Are these real failures due to the updated build of crlibm? x86, julia-1.4, julia-1.5
Nightly failures seem unrelated (I think they're JuliaLang/julia#38427 ?)
|
Those seem to be real failures from incorrect rounding. Clearly The weird thing is that almost all tests pass except this one. I don't know what's going on or how to fix this, except by The CRlibm library no longer seems to be under development, so there is not even an upstream to report to... |
If this was working in the previous local build (build.jl) of CRLibm and it's not working in the binary builder version, perhaps it's due to compilation flags in the code to create CRLibm_jll ? Then perhaps we should report it to Yggdrasil? Any thoughts @giordano ? |
No idea what's the issue, I guess someone needs to investigate whether the build process in BinaryBuilder did something different from what the local build used to do. The log of compilation with BinaryBuilder is in the tarball itself |
Ok thanks. So I see that prior to JuliaIntervals/CRlibm.jl#41, CRlibm wasn't used on windows — a warning was emitted and things fell back to MPFR. So this may be the first time that code path has ever been tested with the windows build. |
I believe this is a bug in CRlibm on 32 bit. It's not restricted to windows. On the official linux 86 build of Julia 1.5.3, I have:
I don't think this is due to the binarybuilder build, I expect it was just never tested before on a 32 bit system. |
Thanks for the detective work, @c42f! How do you suggest we handle this? This is from an automatically-generated test file. |
Well it depends on our appetite for debugging CRlibm ;-) I did some extra investigation in JuliaIntervals/CRlibm.jl#45 and found that our build of CRlibm is badly broken on 32 bit when using the obvious build options and I didn't find a simple way to fix it. My suggestion would be to fall back to MPFR on all 32 bit systems. |
This allows IntervalArithmetic to be used with the binarybuilder version of CRlibm. We need CRlibm-1.0.1 at minimum due to an issue with 32 bit systems.
72bf839
to
2e6c271
Compare
done in #503 |
This allows IntervalArithmetic to be used with the binarybuilder version of CRlibm.