-
Notifications
You must be signed in to change notification settings - Fork 5
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
LuaJIT could actually be multi-arch somewhat easily #2
Comments
Just to test, I did a quick build, and it seems to work fine (though I have no way to test the darwin-x86 version in the universal build, I did run the binary via rosetta). To cross-compile the x86 variant: Then simply Here's an example build: |
Thanks, I'll give it a try! |
Tested out your build instructions and tried the app on an M1 and Intel macbook. They both work! I updated the committed app with a universal luajit binary and added your build instructions to the readme. Thanks! |
Just to note, the conclusion still needs updating. |
D'oh! Thanks. I added a note about both of you in an acknowledgements section. I hope you don't mind. |
Apple have some documentation on this very subject. Just build the different versions you want, and then combine them using the
lipo
command.Hope this info helps you!
The text was updated successfully, but these errors were encountered: