Skip to content

[windows-11-arm] Install native arm64 CMake #84

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

Open
1 of 4 tasks
kasper93 opened this issue Apr 16, 2025 · 1 comment
Open
1 of 4 tasks

[windows-11-arm] Install native arm64 CMake #84

kasper93 opened this issue Apr 16, 2025 · 1 comment

Comments

@kasper93
Copy link

Type of issue

  • Error when running a workflow.
  • Request for additional tools or software for an existing image.
  • Request for a new image, Linux or Windows.
  • Other

Describe the issue

Current CMake binaries are x86_64. This causes the architecture detection issues. CMAKE_HOST_SYSTEM_PROCESSOR and CMAKE_SYSTEM_PROCESSOR are set to AMD64 when using emulated cmake binaries. While we expect them to be ARM64. This makes building native binaries more complicated than it should be.

To Reproduce

PS > file "C:\Program Files\CMake\bin\cmake.exe"
C:\Program Files\CMake\bin\cmake.exe: PE32+ executable for MS Windows 6.01 (console), x86-64, 7 sections

You can also reproduce with any CMake project and print CMAKE_HOST_SYSTEM_PROCESSOR or CMAKE_SYSTEM_PROCESSOR. And observe the value.

Expected behavior

PS > file "C:\Program Files\CMake\bin\cmake.exe"
C:\Program Files\CMake\bin\cmake.exe: PE32+ executable for MS Windows 6.02 (console), ARM64, 7 sections

CMAKE_HOST_SYSTEM_PROCESSOR and CMAKE_SYSTEM_PROCESSOR expected to be ARM64 by default.

Desktop (please complete the following information):

  • OS: windows-11-arm
@kasper93 kasper93 changed the title [windows-11-arm] Instal native arm64 CMake [windows-11-arm] Install native arm64 CMake Apr 16, 2025
@pareenaverma
Copy link

@kasper93 thank you for reporting this. We will be updating cmake to native Arm64 on the next version of the image.

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

No branches or pull requests

2 participants