From 95737bbf18765a24b6585708588c9b707dc30d27 Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Mon, 17 Jun 2024 18:52:07 +0300 Subject: [PATCH] gh-120433: Mention ``chocolatey`` for installing llvm on Windows as an alternative option (#120434) --- Tools/jit/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Tools/jit/README.md b/Tools/jit/README.md index ae126661c6c..73d2deebbbc 100644 --- a/Tools/jit/README.md +++ b/Tools/jit/README.md @@ -41,6 +41,12 @@ Homebrew won't add any of the tools to your `$PATH`. That's okay; the build scri Install LLVM 18 [by searching for it on LLVM's GitHub releases page](https://github.com/llvm/llvm-project/releases?q=18), clicking on "Assets", downloading the appropriate Windows installer for your platform (likely the file ending with `-win64.exe`), and running it. **When installing, be sure to select the option labeled "Add LLVM to the system PATH".** +Alternatively, you can use [chocolatey](https://chocolatey.org): + +```sh +choco install llvm --version=18.1.6 +``` + ### Dev Containers If you are working CPython in a [Codespaces instance](https://devguide.python.org/getting-started/setup-building/#using-codespaces), there's no need to install LLVM as the Fedora 40 base image includes LLVM 18 out of the box.