-
Notifications
You must be signed in to change notification settings - Fork 505
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
Bump OpenBLAS 0.3.9 #621
Bump OpenBLAS 0.3.9 #621
Conversation
#endif | ||
} | ||
|
||
-#if defined(_MSC_VER) && !defined(__clang__) |
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.
@Keno I think your patch was included in OpenBLAS 0.3.9 already (OpenMathLib/OpenBLAS@23f322f), except for those lines. Otherwise it seems to be just formatting changes. Should I simplify the .patch
to include only these lines / are they still relevant?
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.
@Keno Could you review? Would be nice to get this merged.
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.
Yes, most of this patch still applies. You can remove the part that was already applied, but other than that it's still needed. Somebody needs to work with upstream to get this all cleaned up, but I haven't had the time so far.
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.
Thanks! @Keno, I checked out OpenBLAS 0.3.7, applied the patch, rebased to 0.3.9, and extracted the patch again, so should be fine.
The new commit below basically just removes all the autoformatting / whitespace changes from the patch that are not really important I imagine.
So this should be ready then :). I'll add the same Windows patch we have here to JuliaLang/julia#35113 as well |
@giordano Will you merge it when it looks all good? |
That would be *.lib on windows? 🤔 (nvm, I could just download the binaries 😅 to see) |
A better option is maybe to set |
So the last commit affects 0.3.5, 0.3.7 and 0.3.9. But CI only builds for 0.3.9 now? |
Oh yeah, if there is an option to directly disable building the static archives it's even better: hopefully we also save building time! |
Nah, it's only skipping them in |
Oof... an issue for Windows. I don't know anything about building for Windows. With NO_STATIC=1 we only get [12:24:43] -rw-r--r-- 1 root root 5598770 Mar 24 12:24 libopenblas.dll.a what does I think it needs |
Yay, it's green again I randomly downloaded some tarballs: Windows only contains And the sizes are -50% or so. Ready to merge @giordano? |
That file should not be there, it's a static archive, we don't need it. That's why I suggested to do rm ${prefix}/lib/*.a (or maybe |
Are you sure @giordano? From the previous release the contents are:
there's no Edit. Doh... Windows dll's are in Ok, so we might have to file an issue at OpenBLAS then for installing import libs on Windows when setting |
Yes, libraries for Windows need to live in |
Co-Authored-By: Mosè Giordano <giordano@users.noreply.github.com>
Looks like there is a conflict 😕 |
2f52811
to
71fb5fb
Compare
Or is there?! |
Fixed the issue upstream, for a next release... OpenMathLib/OpenBLAS#2531 |
This reverts commit 71fb5fb.
So, do we believe by now it is OK? The import library / dll.a is back again... |
Thanks @haampie! |
I've rebased the patches to 0.3.9, let's see if they are still working properly.