llvm / llvm/llvm-project

LLVM 2.1.2 winget install on Windows is missing Arm64 builds

Open
#162,344 4 comments 0 reactions 0 assignees View on GitHub
packaging platform:windows
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

The latest build of LLVM that has been submitted to winget is missing the Windows on Arm builds. This means that the x64 version of the tools are being installed on Arm machines instead of the Arm builds.

Repro:
- on a Windows 11 machine open a terminal prompt and type: winget install llvm.llvm
- wait for the installation to complete
- run: c:\program files\llvm\bin\clang --version

Expected:
output shows:
...
Target: aarch64-pc-windows-msvc

Actual:
output shows:
...
Target: x86_64-pc-windows-msvc

This needs to be resolved by the winget repo owner by manually submitting the additional Arm package.

ALSO: in future it would be better to automate the submission to Winget by using a yml script like this one from powertoys
https://github.com/microsoft/PowerToys/blob/main/.github/workflows/package-submissions.yml

Contributor guide

Open the contributing guide

Research direction

Reproduce on Windows 11 with `winget install llvm.llvm`, then check `C:\Program Files\LLVM\bin\clang --version`. Review the linked PowerToys package-submissions.yml workflow as a model for automation. Done means the winget installation selects the Arm64 package on Windows on Arm and clang reports `aarch64-pc-windows-msvc`.

Written by the indexing model from the issue text.

Assessment

Domain
compilers, release
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.