Skip to content

Conversation

@yukawa
Copy link
Collaborator

@yukawa yukawa commented Oct 8, 2025

Description

Previously, update_deps.py always downloaded x86_64 LLVM toolchains for Windows, even on ARM64 machines. While these binaries can still run under WoA emulation, it is preferable to use ARM64-native binaries when possible for better performance. Let's do so as part of the ongoing efforts to support ARM64 Windows machines.

With this commit, update_deps.py starts downloading platform-native LLVM toolchains rather than always downloading x86_64 ones.

Note that LLVM version remains unchanged to be 20.1.1. Thus there should be no bit-level differences for the generated binaries.

Issue IDs

Steps to test new behaviors (if any)

  • OS: Windows 11 24H2 (ARM64)
  • Steps:
    1. python3 build_tools/update_deps.py
    2. Confirm third_party/llvm/bin/clang-cl.exe is an ARM64 native binary.

Previously, 'update_deps.py' always downloaded x86_64 LLVM toolchains
for Windows, even on ARM64 machines. While these binaries can still run
under WoA emulation, it is preferable to use ARM64-native binaries when
possible for better performance. Let's do so as part of the ongoing
efforts to support ARM64 Windows machines (issue google#1296).

With this commit, 'update_deps.py' starts downloading platform-native
LLVM toolchains rather than always downloading x86_64 ones.

Note that LLVM version remains unchanged to be 20.1.1. Thus there should
be no bit-level differences for the generated binaries.
@yukawa
Copy link
Collaborator Author

yukawa commented Oct 22, 2025

Converting this to a draft as 30bb158 got reverted as 1d5e28d.

This commit depends on 30bb158.

@yukawa yukawa marked this pull request as draft October 22, 2025 07:42
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

Successfully merging this pull request may close these issues.

1 participant