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
Apple Silicon GitHub release? #1088
Comments
I think this will be very easy to implement once Github Actions has Apple Sillicon runners: From what I can see, it does not have an exact release yet. Set for the future in the roadmap. Only supported for self-hosted runners as of now. Another option would be to cross-compile, but that would probably require some more setup. |
We already use Would be easy to check though, if someone wants to pick this up. Just try to add the new architecture somewhere here: Lines 75 to 86 in a0062b9
|
The macOS SDK is installed on GitHub Actions macOS runners. (You actually probably need it to use Rust at all on macOS.) |
@sharkdp Just coming by and I want to mention that it's possible to have ASi binaries compiled today on GitHub CI (I didn't even bother with - name: Set macOS environment variables
# if: runner.os == 'macOS'
run: |
echo "SDKROOT=$(xcrun -sdk macosx11.1 --show-sdk-path)" >> $GITHUB_ENV
echo "MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx11.1 --show-sdk-platform-version)" >> $GITHUB_ENV
- name: Test build for aarch64
run: cargo build --verbose --release --locked --target=aarch64-apple-darwin
... and then you can easily make a fat binary with the
|
Until this is fixed: sharkdp/fd#1088
Brew provide the package, but I also hope the arm64 darwin release.
|
I'm personally not going to work on this, but please go ahead and add this to the CI pipeline if you are interested. |
Looking in the GitHub releases, I don't see one for Apple Silicon. I might be overlooking it? I'm not sure. If I'm overlooking it, please let me know which artifact supports Apple Silicon. If it's not there, then would it be too much trouble to ask for it to be built into the GitHub releases in the near future?
The text was updated successfully, but these errors were encountered: