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

Add task to makefile to build m1 ARM binary #2186

Merged
merged 1 commit into from
Aug 3, 2021

Conversation

JenGoldstrich
Copy link
Contributor

Users of the CLI are experiencing some pain around not being to run the cf cli natively on the newer m1 macs. This adds a task to the makefile to compile a binary which runs natively on the new CPUs.

Output running locally on my m1 macbook.

$ file out/cf-cli_osx_arm
out/cf-cli_osx_arm: Mach-O 64-bit executable arm64
$ workspace/cli (add-m1-to-makefile) » out/cf-cli_osx_arm -v
cf-cli_osx_arm version 8.0.0+d0f0647b2.2021-08-03

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/179109789

The labels on this github issue will be updated when the story is started.

@JenGoldstrich
Copy link
Contributor Author

@JenGoldstrich
Copy link
Contributor Author

Merging this as its just an additive change to the Makefile.

@JenGoldstrich JenGoldstrich merged commit c4f9c5b into master Aug 3, 2021
@a-b a-b deleted the add-m1-to-makefile branch June 12, 2023 22:56
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.

2 participants