Skip to content

Commit 604ee7a

Browse files
authored
build: TPRD-1622 - Update version to CMake 4.0 or 3.31 ( 3.31.8 ) whi… (#312)
* build: TPRD-1622 - Update version to CMake 4.0 or 3.31 ( 3.31.8 ) which has support for CUDA new layout * build: TPRD-1622 - Update version to CMake 4.0 or 3.31 ( 3.31.8 ) which has support for CUDA new layout * Update copyright
1 parent 4b6fd4d commit 604ee7a

File tree

2 files changed

+4
-15
lines changed

2 files changed

+4
-15
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2020-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
1+
# Copyright (c) 2020-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
#
33
# Redistribution and use in source and binary forms, with or without
44
# modification, are permitted provided that the following conditions
@@ -24,7 +24,7 @@
2424
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2525
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626

27-
cmake_minimum_required(VERSION 3.17)
27+
cmake_minimum_required(VERSION 3.31.8)
2828

2929
project(tritononnxruntimebackend LANGUAGES C CXX)
3030

tools/gen_ort_dockerfile.py

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
# Copyright 2020-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
# Copyright 2020-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
33
#
44
# Redistribution and use in source and binary forms, with or without
55
# modification, are permitted provided that the following conditions
@@ -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)