Skip to content

Commit 9cbfdf9

Browse files
npanpaliyanishith-fujitsu
authored andcommitted
Restricted cmake to be less than version 4 as 4.x breaks the build of… (vllm-project#15859)
Signed-off-by: Nishidha Panpaliya <[email protected]>
1 parent 490a0c0 commit 9cbfdf9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/Dockerfile.ppc64le

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ RUN microdnf install -y openssl-devel dnf \
3838
&& ln -sf /usr/lib64/libatomic.so.1 /usr/lib64/libatomic.so \
3939
&& python${PYTHON_VERSION} -m venv ${VIRTUAL_ENV} \
4040
&& python -m pip install -U pip uv \
41-
&& uv pip install wheel build "setuptools<70" setuptools_scm setuptools_rust meson-python cmake ninja cython scikit_build_core scikit_build \
41+
&& uv pip install wheel build "setuptools<70" setuptools_scm setuptools_rust meson-python 'cmake<4' ninja cython scikit_build_core scikit_build \
4242
&& curl -sL https://ftp2.osuosl.org/pub/ppc64el/openblas/latest/Openblas_${OPENBLAS_VERSION}_ppc64le.tar.gz | tar xvf - -C /usr/local \
4343
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \
4444
&& cd /tmp && touch control
@@ -238,7 +238,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
238238
&& python -m pip install -U pip uv --no-cache \
239239
&& curl -sL https://ftp2.osuosl.org/pub/ppc64el/openblas/latest/Openblas_${OPENBLAS_VERSION}_ppc64le.tar.gz | tar xvf - -C /usr/local \
240240
&& make -C /numactl install \
241-
&& uv pip install cmake \
241+
&& uv pip install 'cmake<4' \
242242
&& cmake --install /lapack/build \
243243
&& uv pip uninstall cmake
244244

0 commit comments

Comments
 (0)