-
Notifications
You must be signed in to change notification settings - Fork 643
Make: Support Apple Silicon in Universal Build #348
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
The head ref may contain hidden characters: "\u{1F34F}"
Conversation
|
Looks good, makes sense. |
|
Does this work as expected? |
The command above fails with a linker error on my machine: |
|
Ah, looks like it's time to retire i386 from the universal build. |
Installing the library fails on macOS 12, if we use the compiler flags for the i386 architecture. See also: - nigels-com#348 (comment)
I removed the flags for the sudo make SYSTEM=darwin-universal installnow works on my machine. |
Installing the library fails on macOS 12, if we use the compiler flags for the i386 architecture. See also: - nigels-com/glew#348 (comment)
👋 Hi,
this pull request adds Apple Silicon support to the Makefile for universal Mac builds. If I should change anything in the pull request, then please just comment below. Thank you.
BTW: Is there an easy way to only install the static version of the library? I was able to build the static version of GLEW with:
make -C auto export MACOSX_DEPLOYMENT_TARGET=10.9 GLEW_DEST=/usr/local make SYSTEM=darwin-universal glew.lib.staticHowever, installing the library with:
failed with the following error message on my machine:
For now I just used the following commands as workaround: