Skip to content

Commit 36c6551

Browse files
python3kgaeXiang Li
andauthored
[Doc] Update build instruction (#225)
Add pybind11 and setuptools to the pip install package list. Fix the directory for virtualenv build. Co-authored-by: Xiang Li <[email protected]>
1 parent 560c064 commit 36c6551

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ To build with Clang:
3333

3434
```sh
3535
python3 -m pip install --upgrade pip
36-
python3 -m pip install cmake==3.24 ninja pytest-xdist
36+
python3 -m pip install cmake==3.24 ninja pytest-xdist pybind11 setuptools
3737
sudo apt-get update -y
3838
sudo apt-get install -y ccache clang lld
3939
TRITON_BUILD_WITH_CLANG_LLD=true TRITON_BUILD_WITH_CCACHE=true python3 -m pip install --no-build-isolation -vvv '.[tests]'
@@ -45,8 +45,8 @@ To build with a virtualenv:
4545
python3 -m venv .venv --prompt triton
4646
source .venv/bin/activate
4747
48-
pip3 install ninja cmake wheel pytest
49-
pip3 install -e python --no-build-isolation
48+
pip3 install ninja cmake wheel pytest pybind11 setuptools
49+
pip3 install -e . --no-build-isolation
5050
```
5151

5252
The resulting `triton-shared` binaries will be placed under `triton/python/build/{current_cmake_version}/third_party/triton_shared`

0 commit comments

Comments
 (0)