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

Create a universal binary #31

Closed
sigito opened this issue Feb 11, 2021 · 3 comments
Closed

Create a universal binary #31

sigito opened this issue Feb 11, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@sigito
Copy link
Owner

sigito commented Feb 11, 2021

Create a binary for both x86_64 and arm64e (a.k.a. Apple Silicon) archs.

@sigito sigito added the enhancement New feature or request label Feb 11, 2021
@sigito
Copy link
Owner Author

sigito commented Feb 11, 2021

swift build --arch x86_64 --arch arm64e does produce a universal binary.

@sigito
Copy link
Owner Author

sigito commented Feb 11, 2021

In this case the build products are located at .build/apple/Products/(Debug|Release)/ without a symlink like .build/(debug|release).

@sigito sigito self-assigned this Feb 11, 2021
@sigito sigito added this to the 1.2.0 milestone Feb 15, 2021
sigito pushed a commit that referenced this issue Feb 15, 2021
@sigito sigito closed this as completed Feb 15, 2021
@sigito sigito reopened this Oct 12, 2021
sigito pushed a commit that referenced this issue Oct 12, 2021
sigito pushed a commit that referenced this issue Oct 12, 2021
@sigito
Copy link
Owner Author

sigito commented Aug 5, 2022

Seems like arch64 (without suffix e) creates a binary that is consumable by Arm Macs.

sigito pushed a commit that referenced this issue Aug 5, 2022
@sigito sigito modified the milestones: 1.2.0, 1.2.4 Aug 5, 2022
@sigito sigito closed this as completed Aug 5, 2022
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

1 participant