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

Build Apple CI with universal dylib #85

Closed
thatcosmonaut opened this issue Jan 10, 2025 · 5 comments
Closed

Build Apple CI with universal dylib #85

thatcosmonaut opened this issue Jan 10, 2025 · 5 comments
Assignees

Comments

@thatcosmonaut
Copy link
Collaborator

Would be nice to build in universal mode for those who still use older Macs.

@thatcosmonaut
Copy link
Collaborator Author

On FNA libs we use -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" and it Just Works.

@thatcosmonaut
Copy link
Collaborator Author

I tried setting up the DCMAKE_OSX_ARCHITECTURES flag but it fails when linking to SDL3. It seems like the setup-sdl task on macOS only sets up the arm64 architecture.

@madebr
Copy link
Contributor

madebr commented Jan 11, 2025

The setup-sdl action has a cmake-arguments input.
https://github.com/libsdl-org/setup-sdl/blob/0b4058be1a69a43f9875e9a17f41e636495f5852/action.yml#L38-L39

@madebr
Copy link
Contributor

madebr commented Jan 11, 2025

I created #86, but it fails to build vkd3d due to missing vulkan/moltenvk.

@thatcosmonaut
Copy link
Collaborator Author

Resolved by #86

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

2 participants