From ddae106c0e6990e0c64b4bebc0d720c50faf52bb Mon Sep 17 00:00:00 2001 From: Twizzes Date: Thu, 13 Oct 2022 13:27:15 -0700 Subject: [PATCH] [DOCS] Update installation.rst to fix windows build error (#747) --- docs/getting-started/installation.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/getting-started/installation.rst b/docs/getting-started/installation.rst index 20c4628bc..94a8e958a 100644 --- a/docs/getting-started/installation.rst +++ b/docs/getting-started/installation.rst @@ -34,11 +34,13 @@ You can install the Python package from source by running the following commands .. code-block:: bash git clone https://github.com/openai/triton.git; - cd triton/python; + cd triton; + git submodule update --init --recursive; + cd python; pip install cmake; # build time dependency pip install -e . -Note that, if llvm-11 is not present on your system, the setup.py script will download the official LLVM11 static libraries link against that. +Note that, if llvm-11 is not present on your system and you are on linux, the setup.py script will download the official LLVM11 static libraries link against that. For windows users, LLVM must be installed and configured in PATH. You can then test your installation by running the unit tests: