-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
can't cross build x86_64 mpv on a arm64 macOS #15562
Comments
which version/commit broke this? just a guess but this might not work properly? what does |
This doesn't work either. Here's the log: |
This implies that |
because |
|
but that is a compile time guard of c and not swift. those eg |
just a copy of the build call. corresponding build declarations: your added include path: your included seems to be one level too much. though the new error and the old might just hide the underlying problem. look at your 'success' log, it's riddled with linking errors. i think something isn't correct yet on your end:
|
also still this question, which version/commit broke this? or didn't you try to cross build before? |
I have no clue. I think I have something wrong in my end, I'm digging.
On mac, never. |
okay. it's possible that there is something wrong with or build system still. it worked at some point though i believe that was still when we used waf. |
We could add cross build to our CI. I think it would be good given that GHA runners are only ARM for newer macOS versions. |
I did more tests. Below workaround also works. Maybe there's something wrong with the meson build system.
|
just wondering if it is related to our swiftc change, does it work when reverting this 8d20b72 or using the commit previous to the linked one? |
Important Information
Reproduction Steps
My repo: https://github.com/eko5624/mpv-mac/tree/cross
failed log:
https://github.com/eko5624/mpv-mac/actions/runs/12462323821/job/34787841907
sucessed log:
https://github.com/eko5624/mpv-mac/actions/runs/12464492354/job/34788650939
workaround:
Expected Behavior
build without workaround
Actual Behavior
This is my env setting.
build env:
messon_cross_x86_64.txt
mpv.sh
Log File
logs_32369201623.zip
I carefully read all instruction and confirm that I did the following:
The text was updated successfully, but these errors were encountered: