[DOCS] Update installation.rst to fix windows build error (#747)

This commit is contained in:
Twizzes
2022-10-13 13:27:15 -07:00
committed by GitHub
parent bc98aead33
commit ddae106c0e

View File

@@ -34,11 +34,13 @@ You can install the Python package from source by running the following commands
.. code-block:: bash .. code-block:: bash
git clone https://github.com/openai/triton.git; 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 cmake; # build time dependency
pip install -e . 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: You can then test your installation by running the unit tests: