Skip to content

Commit 4a136fd

Browse files
committed
Downgrade cmake in torch buildscript
1 parent 92f6f34 commit 4a136fd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/wheelbuilder/linux/torch.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@
3838
# SOFTWARE.
3939

4040
if [ -n "$GITHUB_RUN_ID" ]; then
41-
dnf install -y openblas-devel /usr/bin/cmake /usr/bin/sudo libffi-devel
41+
dnf install -y openblas-devel /usr/bin/sudo libffi-devel
42+
# There's already cmake in the manylinux image installed via pipx that is
43+
# too new to build torch, this downgrades it
44+
pipx install --force cmake==3.28
4245
export USE_CUDA=0
4346
fi
4447
export MAX_JOBS=4

0 commit comments

Comments
 (0)