-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Update suitesparse to 7.8.3 #56959
Update suitesparse to 7.8.3 #56959
Conversation
@ViralBShah I presume we need to update the suitesparse wrapper at the same time for this? |
I think I had checked a while ago and wrappers did not need updating. Can check once more. |
There are loads of test failures though, and several errors like
|
Uh oh... that sounds like name mangling or modification got messed up somehow so we are trying to call wrong BLAS functions. Downloading the raw binaries from the JLL, a quick check on the undefined symbols shows we lost the 64 suffixing: SuiteSparse 7.8.0+1:
SuiteSparse 7.8.3+1
|
SuiteSparse 7.8.2+0:
and SuiteSparse 7.8.3+0:
So we lost the suffix through a Ygg change it looks like, since 7.8.3+0 has them but 7.8.3+1 lost the suffix. |
These BLAS errors should be fixed in the newest SuiteSparse 7.8.3+2 build (https://github.com/JuliaBinaryWrappers/SuiteSparse_jll.jl/releases/tag/SuiteSparse-v7.8.3%2B2) now waiting for merge to general (JuliaRegistries/General#122538). We also will get the RISCV platform there, but I don't think we can specify that in the deps yet. |
If this PR is rebased on master to include 5ec41e9, the refresh checksums Makefile should include the riscv64 build too. |
Rebased on master |
This still looks to be using the wrong version of SuiteSparse. It needs to be 7.8.3+2 and it seems to be on 7.8.3+1 still. |
Oops sorry about that |
All green now, thanks everybody! |
Thanks folks! |
The wrappers can only be updated when Clang.jl runs on nightly: JuliaInterop/Clang.jl#523 I don't expect breaking changes, but we do need to regenerate the wrappers to pull in the right version numbers and such. |
Why? I thought you could use any version of Julia: https://github.com/JuliaSparse/SparseArrays.jl/blob/c575811ba7f558324738d54037d898699081d26d/gen/README.md#how-to-upgrade-suitesparse_jll |
The reason you need to use the nightly version is so that it picks the correct version of the suitesparse header files from |
The instructions that @giordano linked above say to add SuiteSparse_jll with a specific commit hash, and the recently merged one has the same Julia compat as the previous, so it should load on 1.11. Are you saying that using Pkg to add the new commit doesn't actually work right now? |
Oh I see - I should try that. |
What am I doing wrong? It is still picking up the Julia distribution provided SuiteSparse_jll rather than the one I installed.
|
Oof, I don't think that's working then 😞 |
I think I just need to find a way to give it the right directory to pick the header file from. |
Ah, I can make it work if I change the UUID of the package. It's quite hackish, but it works. I'll open a PR over there to explain the process better. |
I think what I propose in JuliaSparse/SparseArrays.jl#593 works well. |
Uh, yeah, that works too |
It's kludgy, but allows me to use different versions of the artifacts and such. |
New version: https://github.com/DrTimothyAldenDavis/SuiteSparse/releases/tag/v7.8.3