Issue 181348
Summary `choco install llvm --version=21.1.8` provides `flang` 20.1.6 on Windows arm and none on Windows x86_64
Labels flang
Assignees
Reporter zaikunzhang
    Hello, 

I am not sure whether this should be posted here or at https://github.com/chocolatey/choco . If it is the latter, feel free to close it, and I will repost it there. 

Using GitHub-hosted Windows runners, I tried `choco install llvm --version=21.1.8`: 

https://github.com/zequipe/flang_windows/blob/main/.github/workflows/test_windows.yml

The main testing code was the following:
```bash
choco upgrade chocolatey -y || true
choco uninstall llvm -y || true
choco install llvm -y --version=21.1.8
ls -al "/c/Program Files/LLVM/bin/" || true
type clang && clang --version || exit 1
type flang && flang --version || exit 2
```
Here are the results I got:

 - [windows-latest.log](https://github.com/user-attachments/files/25289227/windows-latest.log) (x86_64)
 - [windows-11-arm.log](https://github.com/user-attachments/files/25289228/windows-11-arm.log)

We can see the following from the logs.

 - On x86_64, `choco install llvm --version=21.1.8` does not provide flang.
 - On arm, `choco install llvm --version=21.1.8` provides flang version **20.1.6**, with Target: aarch64-pc-windows-msvc.
 - On arm, `choco install llvm --version=21.1.8` provides clang version 21.1.8, but with Target: **x86_64**-pc-windows-msvc

Is this expected? Did I overlook something? 

Thank you for taking a look. 

_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to