Skip to content

Conversation

@ykhrustalev
Copy link
Contributor

When cross compiling with llvm on windows, the target cpu is set to aarch64.

@meta-cla meta-cla bot added the cla signed label Aug 1, 2025
LIST(APPEND CPUINFO_SRCS src/x86/freebsd/init.c)
ENDIF()
ELSEIF(CMAKE_SYSTEM_NAME MATCHES "^Windows" AND CPUINFO_TARGET_PROCESSOR MATCHES "^(ARM64|arm64)$")
ELSEIF(CMAKE_SYSTEM_NAME MATCHES "^Windows" AND CPUINFO_TARGET_PROCESSOR MATCHES "^(ARM64|arm64|aarch64)$")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that a bug, where ARM64 and arm64 are not the right values to check? Should it always be aarch64?

@kimishpatel kimishpatel merged commit e414c04 into pytorch:main Aug 5, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants