-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Description
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
NielsbishereAlt, equeim, garder500, matthew-brett, agriyakhetarpal and 1 more
Metadata
Metadata
Assignees
Labels
No labels