Repository navigation
Conversation
``` Starting MSYS2 for the first time... C:\Windows\system32\cmd.exe /D /S /C C:\a\_temp\setup-msys2\msys2.cmd -c "'uname' '-a'" The system cannot find the path specified. Error: The process 'C:\Windows\system32\cmd.exe' failed with exit code 1 ```
This comment was marked as outdated.
This comment was marked as outdated.
|
ARM64 has some quick surprises:
|
|
The MSYS2 GHA action is installing x86_64 binaries on ARM64. This works, vcpkg also uses x86_64 MSYS2 binaries while building deps for ARM64, on ARM64. |
could not fit into 35 minutes before this patch
|
Hm, so we got native ARM64 runners, which is truly great. Just to realize It's still reasonably speedy, but in CI, it's not ideal. Another issue is vcpkg's reliance on MSYS2, which makes the vcpkg On a cursory look, Cygwin seems to be far from implementing ARM64 msys2/MSYS2-packages#2889 Running tests on ARM64 vs x64 also doesn't seem to bring much advantage Also perhaps better doing this with MSYS2, to avoid vcpkg builds, and It means this PR still needs some work. |
Switch a build-only MSYS2/mingw-w64 job to ARM64 using the ARM64 Windows runner. This avoids most downsides of native ARM64 builds. Side-effect is switching this job from GCC to clang. This adds speed, which offsets the slower MSYS2 install step. The new ARM64 runner hits a bunch of corner cases and inefficiencies: - MSYS2/Cygwin misses native ARM64 support. It means GH action installs x64 binaries on ARM64. vcpkg does the same. It runs, but not native, so slower. It affects runtests and possibly vcpkg build performance. This isn't expected to change. - MSYS2 diffutils package missing for CLANGARM64. - vcpkg boringssl build broken for ARM64. Also: - bump the vcpkg build time limit, as it seems the native x86_64 jobs also can't fit into 35 minutes. - prepare MSVC jobs for the ARM64 runner. I also tested switching the wolfSSL MSVC job which also run tests. curl build times were about the same as with x64. Test runtime increased to 5m57s from 3m55s (1.5x slower), non-native MSYS2 likely plays a role. vcpkg build step seemed slow, and had to disable libpsl and gsasl to fit into the time slot. Due to slowness and test runs not bringing much to curl's test mix, I backed off from this. Before: https://github.com/curl/curl/actions/runs/14474617013/job/40597121326 After: https://github.com/curl/curl/actions/runs/14481022915/job/40617844571?pr=17067 Ref: github/roadmap#1098 (comment) Ref: https://github.blog/changelog/2025-04-14-windows-arm64-hosted-runners-now-available-in-public-preview/ Closes curl#17067
fyi, I added it now |
|
@lazka: Superb, thanks very much! |
Thanks-to: Christoph Reiter Ref: curl#17067 (comment)
Thanks-to: Christoph Reiter Ref: curl#17067 (comment)
Switch a build-only MSYS2/mingw-w64 job to ARM64 using the ARM64 Windows runner. This avoids most downsides of native ARM64 builds. Side-effect is switching this job from GCC to clang. This adds speed, which offsets the slower MSYS2 install step. The new ARM64 runner hits a bunch of corner cases and inefficiencies: - MSYS2/Cygwin misses native ARM64 support and this isn't expected to change. It means GH action installs x64 binaries on ARM64. vcpkg does the same. It runs, but not native, so slower. It affects runtests and possibly vcpkg build performance. msys2/MSYS2-packages#2889 https://cygwin.com/pipermail/cygwin/2021-December/250156.html - MSYS2 diffutils package missing for CLANGARM64. - vcpkg boringssl build broken for ARM64. Also: - bump the vcpkg build time limit, as it seems the native x86_64 jobs also can't fit into 35 minutes. - prepare MSVC jobs for the ARM64 runner. Ref: github/roadmap#1098 (comment) Ref: https://github.blog/changelog/2025-04-14-windows-arm64-hosted-runners-now-available-in-public-preview/ Closes curl#17067
Switch a build-only MSYS2/mingw-w64 job to ARM64 using the ARM64 Windows runner. This avoids most downsides of native ARM64 builds. Side-effect is switching this job from GCC to clang. This adds speed, which offsets the slower MSYS2 install step. The new ARM64 runner hits a bunch of corner cases and inefficiencies: - MSYS2/Cygwin misses native ARM64 support and this isn't expected to change. It means GH action installs x64 binaries on ARM64. vcpkg does the same. It runs, but not native, so slower. It affects runtests and possibly vcpkg build performance. msys2/MSYS2-packages#2889 https://cygwin.com/pipermail/cygwin/2021-December/250156.html - MSYS2 diffutils package missing for CLANGARM64. - vcpkg boringssl build broken for ARM64. Also: - bump the vcpkg build time limit, as it seems the native x86_64 jobs also can't fit into 35 minutes. - prepare MSVC jobs for the ARM64 runner. Ref: github/roadmap#1098 (comment) Ref: https://github.blog/changelog/2025-04-14-windows-arm64-hosted-runners-now-available-in-public-preview/ Closes curl#17067
To inherit MSYS2 environment, which is now pre-installed on Windows ARM64 runners. Saving ~30s in the MSYS2 install step. Ref: https://github.com/actions/runner-images/blob/main/images/windows/Windows11-Arm64-Readme.md Follow-up to be718da #17067 Follow-up to 27d2469 #16429 Closes #23190
Switch a build-only MSYS2/mingw-w64 job to ARM64 using the ARM64 Windows
runner. This avoids most downsides of native ARM64 builds. Side-effect
is switching this job from GCC to clang. This adds speed, which offsets
the slower MSYS2 install step.
The new ARM64 runner hits a bunch of corner cases and inefficiencies:
change. It means GH action installs x64 binaries on ARM64. vcpkg does
the same. It runs, but not native, so slower. It affects runtests and
possibly vcpkg build performance.
ARM64 msys2-runtime msys2/MSYS2-packages#2889
https://cygwin.com/pipermail/cygwin/2021-December/250156.html
Also:
also can't fit into 35 minutes.
Ref: github/roadmap#1098 (comment)
Ref: https://github.blog/changelog/2025-04-14-windows-arm64-hosted-runners-now-available-in-public-preview/
w/o ws https://github.com/curl/curl/pull/17067/files?w=1
I also tested switching the wolfSSL MSVC job which also run tests. curl
build times were about the same as with x64. Test runtime increased
to 5m57s from 3m55s (1.5x slower), non-native MSYS2 likely plays a role.
vcpkg build step seemed slow, and had to disable libpsl and gsasl to fit
into the time slot. Due to slowness and test runs not bringing much to
curl's test mix, I backed off from this.
Before: https://github.com/curl/curl/actions/runs/14474617013/job/40597121326
After: https://github.com/curl/curl/actions/runs/14481022915/job/40617844571?pr=17067