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

macOS Minimum Version for ARM64 Builds #511

Open
BryanHaley opened this issue Nov 23, 2024 · 3 comments
Open

macOS Minimum Version for ARM64 Builds #511

BryanHaley opened this issue Nov 23, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@BryanHaley
Copy link

What is the rationale behind setting 14 as the minimum version for macOS ARM64 builds? ARM64 Macs can use as early as version 12.0 and this app isn't using any feature that requires it to be >12.0.

@BryanHaley
Copy link
Author

Simply setting it to 12 has it build and run fine on my ARM64 Mac on 13.5, though it does complain about liblua.a being built against a newer version of MacOS; that would need to get rebuilt for 12.0 (which should also be fine) to make a "proper" fix.

@AgentXLP AgentXLP added the enhancement New feature or request label Nov 23, 2024
@EmeraldLoc
Copy link
Contributor

This is a great question, and the only answers I have is because my Mac is on macOS 15, and rhe glew and sdl2 libs are on macOS 14, so it’s more about my system restraints than anything.

@BryanHaley
Copy link
Author

BryanHaley commented Nov 23, 2024

Yeah this tends to be a pain about macOS development -- when brew gives you a library, you can't tell it "I want this built against xyz version of macOS". The typical solutions to this are:

  • Build libraries from source where you can specify minimum macOS version
  • Get precompiled libraries from a system with the macOS version you want (can use virtual machine for this)
  • Build the whole project on a system with the macOS version you want (can use virtual machine for this)

Another solution is github has macOS 12 runner images for github actions available; anything needed can be built in those and you'll get something that works versus macOS 12. That said, it's not thaaaaaat much of a pain to set up a macOS 12 VM on Mac hardware that supports >= macOS 12.

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

No branches or pull requests

3 participants