Skip to content

Commit 5697737

Browse files
committed
build: TPRD-1622 - Update version to CMake 4.0 or 3.31 ( 3.31.8 ) which has support for CUDA new layout
1 parent 4b6fd4d commit 5697737

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

tools/gen_ort_dockerfile.py

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -177,18 +177,7 @@ def dockerfile_for_linux(output_file):
177177
gnupg \
178178
gnupg1
179179
180-
RUN pip3 install patchelf==0.17.2
181-
182-
# Install dependencies from
183-
# onnxruntime/dockerfiles/scripts/install_common_deps.sh.
184-
RUN apt update -q=2 \\
185-
&& apt install -y gpg wget \\
186-
&& wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null \\
187-
&& . /etc/os-release \\
188-
&& echo "deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ $UBUNTU_CODENAME main" | tee /etc/apt/sources.list.d/kitware.list >/dev/null \\
189-
&& apt-get update -q=2 \\
190-
&& apt-get install -y --no-install-recommends cmake=3.28.3* cmake-data=3.28.3* \\
191-
&& cmake --version
180+
RUN pip3 install patchelf==0.17.2 cmake==4.0.3
192181
193182
"""
194183

0 commit comments

Comments
 (0)