microsoft / winget-pkgs

The Microsoft community Windows Package Manager manifest repository
MIT License
8.77k stars 4.58k forks source link

[Package Issue]: LLVM doesn't install the arm64 version (woa64) on Windows Arm64 #95154

Open cristianadam opened 1 year ago

cristianadam commented 1 year ago

Please confirm these before moving forward

Category of the issue

Installation issue.

Brief description of your issue

On a Windows Arm64 I expect to get the native arm64 version of LLVM.

Steps to reproduce

On a Windows Arm64 device:

winget install llvm

Actual behavior

Installs the x64 version.

https://github.com/microsoft/winget-pkgs/blob/master/manifests/l/LLVM/LLVM/15.0.5/LLVM.LLVM.installer.yaml only has x86 and x64 versions.

Expected behavior

Install the arm64 version.

See https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.6/LLVM-15.0.6-woa64.exe

Environment

!

Screenshots and Logs

No response

Trenly commented 1 year ago

It doesn't appear they have an arm64 build for the latest version - 15.0.7. Even if 15.0.6 were added, the latest version of 15.0.7 would make it so that the arm64 version still wouldn't be found

https://github.com/llvm/llvm-project/releases/tag/llvmorg-15.0.7

However, I have added version 15.0.6 in #95156

stephengillie commented 1 year ago

Similar behavior (x64 version installed on arm64 system) in this issue:

Trenly commented 1 year ago

Possibly related to https://github.com/microsoft/winget-cli/issues/2731

cristianadam commented 1 year ago

No, it doesn't have anything with the detection of the correct arm64 architecture, or if it's running with a x64 emulation.

I am running the arm64 cmd.exe and winget should pick up the arm64 version of LLVM and https://github.com/microsoft/winget-pkgs/pull/95156 is doing exactly what I expect! Thank you.

TotalCommander doesn't have an arm64 native package, just x86, x64 or both x86 and x64 in one package. Has nothing to do with arm64 🙂

SCIEN-00 commented 1 year ago

still same issue remaining on my system

ComplexPlane commented 4 days ago

Any updates on this?

SpecterShell commented 3 days ago

Any updates on this?

The upstream hasn't provided the arm64 installer for many versions, so it has been temporarily removed from the manifests to ensure the other users (x86 + x64 users) can still receive updates.