Skip to content
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

[question] I want to compile FAT files containing armv7 and arm64, what should I do? #125

Open
hhuwenjun opened this issue Jan 4, 2022 · 3 comments
Assignees
Labels

Comments

@hhuwenjun
Copy link

I want to compile FAT files containing armv7 and arm64, what should I do?

@kambala-decapitator
Copy link

compile for desired platforms separately, then use lipo to merge binaries. Here's an example: https://github.com/kambala-decapitator/vcmi-ios-depends/blob/main/build_depends.sh#L233

@arsdever
Copy link

arsdever commented Aug 17, 2022

@kambala-decapitator I see that you removed the lipo command execution from the file you are mentioning (29 days ago). Was there a specific reason for that or do you no longer need it?

My issue is that I'm trying to build for the iOS + iOS Simulator combined fat library, but the flag OS64COMBINED doesn't seem to work.

@kambala-decapitator
Copy link

kambala-decapitator commented Aug 17, 2022

@arsdever I don't merge device and simulator builds because both contain arm64 slice.

but per-platform merge is still there, see https://github.com/kambala-decapitator/vcmi-ios-depends/blob/main/deps/nullkiller/tbb.sh#L71

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants