From 8ab4e81d565b95e2b653572d6fc9780f475a97bb Mon Sep 17 00:00:00 2001 From: Misha Chornyi <99709299+mc-nv@users.noreply.github.com> Date: Sun, 10 Dec 2023 10:50:01 -0800 Subject: [PATCH] Set CMake version to 3.27.7 (#446) --- src/c++/perf_analyzer/docs/install.md | 2 +- src/java-api-bindings/scripts/install_dependencies_and_build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/c++/perf_analyzer/docs/install.md b/src/c++/perf_analyzer/docs/install.md index 5d2630184..5390dc00a 100644 --- a/src/c++/perf_analyzer/docs/install.md +++ b/src/c++/perf_analyzer/docs/install.md @@ -80,7 +80,7 @@ docker run --gpus all --rm -it --net host nvcr.io/nvidia/tritonserver:${RELEASE} apt update && apt install -y gpg wget && 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 && . /etc/os-release && 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 # install build/runtime dependencies -apt update && apt install -y cmake-data cmake libcurl4-openssl-dev rapidjson-dev +apt update && apt install -y cmake-data=3.27.7* cmake=3.27.7* libcurl4-openssl-dev rapidjson-dev rm -rf client ; git clone --depth 1 https://github.com/triton-inference-server/client diff --git a/src/java-api-bindings/scripts/install_dependencies_and_build.sh b/src/java-api-bindings/scripts/install_dependencies_and_build.sh index 4519172a0..c92b21372 100755 --- a/src/java-api-bindings/scripts/install_dependencies_and_build.sh +++ b/src/java-api-bindings/scripts/install_dependencies_and_build.sh @@ -121,7 +121,7 @@ if [ ${INCLUDE_DEVELOPER_TOOLS_SERVER} -ne 0]; then 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 && \ apt-get update && \ - apt-get install -y --no-install-recommends cmake cmake-data rapidjson-dev + apt-get install -y --no-install-recommends cmake=3.27.7* cmake-data=3.27.7* rapidjson-dev fi # Install jdk and maven