Skip to content

Commit 575bed8

Browse files
authored
[Build] Pin cmake < 4 (triton-lang#6330)
CMake was updated to 4.0 yesterday and it's breaking our macos builds: https://pypi.org/project/cmake/#history
1 parent 1de9428 commit 575bed8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Finally, follow the instructions below to install triton from source.
7070
git clone https://github.com/triton-lang/triton.git
7171
cd triton
7272

73-
pip install ninja cmake wheel pybind11 # build-time dependencies
73+
pip install -r python/requirements.txt # build-time dependencies
7474
pip install -e python
7575
```
7676

@@ -83,7 +83,7 @@ cd triton
8383
python -m venv .venv --prompt triton
8484
source .venv/bin/activate
8585

86-
pip install ninja cmake wheel pybind11 # build-time dependencies
86+
pip install -r python/requirements.txt # build-time dependencies
8787
pip install -e python
8888
```
8989

python/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ninja
22
cmake
33
setuptools>=40.8.0
44
wheel
5-
cmake>=3.18
5+
cmake>=3.18,<4.0
66
ninja>=1.11.1
77
pybind11>=2.13.1
88
lit

0 commit comments

Comments
 (0)