-
Notifications
You must be signed in to change notification settings - Fork 622
[libflame] Initial build scripts. #8671
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
Conversation
Why is it split into a build_tarballs and a common? This looks simple enough we should just keep it all in a single build_tarballs to make updating the recipe simple. |
Yes, that also occurred to me after the initial commit. Will reduce to a single build_tarball |
So clearly
|
Note: now that it's working on |
I see that it is currently building the static library. In general, we do like to avoid having those in the main JLLs because they can really eat up space (the artifact here shows it is 15MB on Linux). Can we disable the static library build? Also, are we sure the aarch64 macos build is working properly? I downloaded the artifact to check, and the dylib it makes is extremely tiny compared to the static library (and also compared to the size it is on Linux):
Can someone on macos confirm what is in this dylib? |
|
@imciner2 I think I've done as much as I can here with what I know. What do you think should be next steps? |
I don't know how to get the mac build to use the static library to compile the shared library. The best fix would be to have it just compile the shared library using each individual object file again, since then the linker won't remove anything, however I see that upstream says there is a command-line length issue when doing that - hence this solution. |
Since the build is all green, is it ok to merge, or is mac still broken? |
The macOS dylib is still tiny compared to the static library - 17.2kB vs. 7.9MB, so I think it is still broken. |
I think we should try to port over how BLIS does it, since the make script is a downstream improvement on libflame. |
Just wondering if there is a new upstream release that fixes the issue and gets this over the line. EDIT: I see the last release was 6 years ago - so perhaps not worth putting too much effort in here. |
The use case here doesn't care about Mac. Can we just make it no-op on Mac and merge? |
Co-authored-by: Ian McInerney <[email protected]>
I was trying this out SciML/LinearSolve.jl#660 but it seems to have some issues with OpenMP. But more importantly, we were trying to get this as something we could have hardcoded to BLIS 😅, like how we have a way to just load |
Build scripts for libflame
Addresses #7660
Currently MacOS is omitted until linking errors can be resolved cf. flame/libflame#100