Skip to content

Fix make install on Linux aarch64 - #1665

Open
vintoware wants to merge 2 commits into
yonaskolb:masterfrom
vintoware:fix-linux-make-install
Open

vintoware wants to merge 2 commits into
yonaskolb:masterfrom
vintoware:fix-linux-make-install

Conversation

@vintoware

Copy link
Copy Markdown

The Makefile always passed --arch arm64 --arch x86_64 to swift build, which only works on macOS (universal binary). On Linux SwiftPM warns that none of the architectures are valid, produces no binary, and make install fails at the cp step.

The arch flags are now only added when uname -s is Darwin, so macOS builds are unchanged.

Tested on Linux aarch64: make install builds and installs, and xcodegen version prints 2.46.0.

🤖 Generated with Claude Code

vintoware and others added 2 commits November 8, 2026 12:05
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vintoware vintoware changed the title Fix make install on Linux Fix make install on Linux aarch64 Nov 8, 2026

This branch has not been deployed

No deployments
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

Successfully merging this pull request may close these issues.

1 participant