-
Notifications
You must be signed in to change notification settings - Fork 589
[OCaml] Add Windows / macOS pre-built binaries #11124
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
We usually target the generic ISAs, see https://github.com/JuliaPackaging/BinaryBuilderBase.jl/blob/45acaa5c78a091ef75e5daa5de7a8676600509a5/src/Platforms.jl#L128 and https://github.com/JuliaPackaging/BinaryBuilderBase.jl/blob/45acaa5c78a091ef75e5daa5de7a8676600509a5/src/Platforms.jl#L150 for the flags we use. |
b43ff55
to
3ede0a3
Compare
Looks like the flags didn't make it a few spots in the build system. Let me try again... |
3ede0a3
to
6145f97
Compare
That was an adventure... JuliaPackaging/BinaryBuilder.jl#1380 |
is this good to go? |
I still locally get some warnings:
but assuming those are benign, this is good to go |
If those are system libraries provided by Windows, we can skip them at https://github.com/JuliaPackaging/BinaryBuilder.jl/blob/2a5e7117be9ade099cd1092e7a444bdcffc37500/src/auditor/dynamic_linkage.jl#L299-L349 |
Looks like they are, yeah:
There are a few more:
Should we add them all? |
Yes, thanks! |
The macOS builds reference absolute paths on your machine:
|
The zstd feature must have gotten auto-enabled (since It's not required (and our other builds don't have it), so let me disable it real quick. |
OCaml's build system requires executing host artifacts on the build machine (and we need the patches for relocatability so no publicly distributed binaries work for us either)
6145f97
to
9c0ebaf
Compare
Alright, should be good to go now! |
Locally I'm hitting:
If you know the appropriate
-mtune
orCFLAGS
, I'll be happy to re-build to get a baseline-compatible binary