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

Windows Arm64 release? #10872

Open
xcpky opened this issue Jun 3, 2024 · 4 comments
Open

Windows Arm64 release? #10872

xcpky opened this issue Jun 3, 2024 · 4 comments
Labels
A-packaging Area: Packaging and bundling C-enhancement Category: Improvements

Comments

@xcpky
Copy link

xcpky commented Jun 3, 2024

could we have a windows arm64 release?

@xcpky xcpky added the C-enhancement Category: Improvements label Jun 3, 2024
@the-mikedavis
Copy link
Member

The build targets for the release CI are here:

build: [x86_64-linux, x86_64-macos, x86_64-windows] #, x86_64-win-gnu, win32-msvc
include:
- build: x86_64-linux
os: ubuntu-latest
rust: stable
target: x86_64-unknown-linux-gnu
cross: false
- build: aarch64-linux
os: ubuntu-latest
rust: stable
target: aarch64-unknown-linux-gnu
cross: true
# - build: riscv64-linux
# os: ubuntu-latest
# rust: stable
# target: riscv64gc-unknown-linux-gnu
# cross: true
- build: x86_64-macos
os: macos-latest
rust: stable
target: x86_64-apple-darwin
cross: false
- build: x86_64-windows
os: windows-latest
rust: stable
target: x86_64-pc-windows-msvc
cross: false
# 23.03: build issues
- build: aarch64-macos
os: macos-latest
rust: stable
target: aarch64-apple-darwin
cross: false
skip_tests: true # x86_64 host can't run aarch64 code
# - build: x86_64-win-gnu
# os: windows-2019
# rust: stable-x86_64-gnu
# target: x86_64-pc-windows-gnu
# - build: win32-msvc
# os: windows-2019
# rust: stable
# target: i686-pc-windows-msvc

Adding the aarch windows target might work out of the box.

@the-mikedavis the-mikedavis added the A-packaging Area: Packaging and bundling label Jun 3, 2024
@pascalkuthe
Copy link
Member

I don't think github offers Windows arm64 runners so we can't build in CI

@the-mikedavis
Copy link
Member

Cross-compiling might work, like what we do for aarch64 linux. I think we did the same for aarch64 macos but now that github has switched the macos runners to be arm we may need to edit those sections in the release CI. (To cross-compile the x86 build and not the aarch64 build)

@RoloEdits
Copy link
Contributor

Also to note: https://github.blog/2024-06-03-arm64-on-github-actions-powering-faster-more-efficient-build-systems/

The very bottom:

These runners are available to our customers on our GitHub Team and Enterprise Cloud plans. We expect to begin offering Arm runners for open source projects by the end of the year.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-packaging Area: Packaging and bundling C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

4 participants