Skip to content

Conversation

@jemc
Copy link
Member

@jemc jemc commented Nov 6, 2021

WIP

@jemc jemc self-assigned this Nov 6, 2021
@jemc jemc force-pushed the macosx-universal-binary branch from 9ff8c38 to 29a651d Compare November 6, 2021 03:57
@jemc jemc force-pushed the macosx-universal-binary branch from 29a651d to b7f55ae Compare November 6, 2021 03:59
@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.

3 participants