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

Apple Silicon? #161

Closed
armadillu opened this issue Nov 15, 2020 · 5 comments
Closed

Apple Silicon? #161

armadillu opened this issue Nov 15, 2020 · 5 comments

Comments

@armadillu
Copy link

Anyone has one? Wondering how hard will it be to get all the dependencies compiled for it...

@ofTheo
Copy link
Member

ofTheo commented Nov 16, 2020 via email

@danoli3
Copy link
Member

danoli3 commented Nov 16, 2020 via email

@ofTheo
Copy link
Member

ofTheo commented Nov 16, 2020

Awesome @danoli3

I am guessing then it might be a lipo solution where instead of doing 32bit / 64bit intel libs we lipo 64bit intel and arm64.
As long as the current libs compile fine to arm64 then the rest should be easy as none of the linker stuff would have to change.

I should have my mac mini in a couple of days and can help out on the effort.

I believe OpenGL does still run on Apple Silicon, I'd be curious to chat more about the Metal stuff though.
Maybe that could be another thread / issue?

@ofTheo
Copy link
Member

ofTheo commented Nov 20, 2020

I just gave GLFW a try on the Apple Silicon Mini I have and it works great.

I can start some PRs for updating the formulas ( swapping out i386 for arm64 and keeping x86_64 ) but I think we'll need to update the CI to be at least macos 10.14 and Xcode 12.

macos 10.14 / Xcode 12 should allow builds to be compatible both with older macos versions and the newer macos 11.0 / Apple Silicon machines.

@arturoc is that something you can help with? Or we could sync up on how to do this and I could take it on.

Thanks!

@arturoc
Copy link
Member

arturoc commented Nov 21, 2020

I'm too busy at the moment but changing the xcode version should be pretty straightforward just change it in travis.yml

Surely somethings will fail but since we already compile for arm64 for ios i think in general this should be relatively painless

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

No branches or pull requests

4 participants