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 universal binaries for release #1024

Merged
merged 2 commits into from Feb 25, 2021

Conversation

thii
Copy link
Contributor

@thii thii commented Feb 22, 2021

Closes #994.

@thii thii marked this pull request as ready for review February 22, 2021 12:58

.PHONY: install build uninstall format_code brew release

install: build
mkdir -p $(PREFIX)/bin
cp -f .build/release/$(EXECUTABLE_NAME) $(INSTALL_PATH)
cp -f $(shell swift build $(SWIFT_BUILD_FLAGS) --show-bin-path)/$(EXECUTABLE_NAME) $(INSTALL_PATH)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL about --show-bin-path 👍

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also TIL about shell swift ...👀

@yonaskolb
Copy link
Owner

This is great, thank you @thii. Could you rebase off or merge in master and then add a changelog entry (since you'll get a conflict in the changelog otherwise)

@thii thii force-pushed the build-universal-binaries-for-release branch from 1be1186 to 0ce381e Compare February 25, 2021 01:03
@thii
Copy link
Contributor Author

thii commented Feb 25, 2021

@yonaskolb Thanks. Rebased and added a changelog entry. I added it to the "Internal" section, but let me know if that isn't the right place.

@yonaskolb yonaskolb merged commit b8b457a into yonaskolb:master Feb 25, 2021
@thii thii deleted the build-universal-binaries-for-release branch February 25, 2021 02:56
@yonaskolb
Copy link
Owner

This is unfortunately causing issues with Homebrew Homebrew/homebrew-core#74854

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.

Release for Apple Silicon
3 participants