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

Build as a universal binary on MacOSX. #3919

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

jemc
Copy link
Member

@jemc jemc commented Nov 6, 2021

WIP

@jemc jemc self-assigned this Nov 6, 2021
@SeanTAllen
Copy link
Member

How would this work with the runtime where we need both the X86 and Arm code which often defines the same datastructures in different forms?

@jemc
Copy link
Member Author

jemc commented Nov 6, 2021

It's totally possible to deal with that by basically just building everything twice and using lipo to stitch them together into the two slices of a "universal binary". However, it may not be ergonomic in our current build system to do that.

Anyway, please treat this draft PR as exploratory while I figure out not only what is possible, but also what is feasible in our build system.

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

Successfully merging this pull request may close these issues.

None yet

2 participants