[Test] Remove unnecessary cmake 3.16 installation (#38048)

gRPC requires at least CMake 3.16 or later so the test script no longer needs to install CMake 3.16.

Closes #38048

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/38048 from veblush:cmake-no 3e364d9770
PiperOrigin-RevId: 691976945
pull/38033/head^2
Esun Kim 4 weeks ago committed by Copybara-Service
parent 60d7444843
commit ab90aafcb6
  1. 6
      test/distrib/cpp/run_distrib_test_cmake_fetchcontent.sh
  2. 6
      test/distrib/cpp/run_distrib_test_cmake_module_install.sh

@ -21,12 +21,6 @@ grpc_dir=$(pwd)
# Install openssl (to use instead of boringssl) # Install openssl (to use instead of boringssl)
apt-get update && apt-get install -y libssl-dev apt-get update && apt-get install -y libssl-dev
# Install CMake 3.16
apt-get update && apt-get install -y wget
wget -q -O cmake-linux.sh https://github.com/Kitware/CMake/releases/download/v3.16.1/cmake-3.16.1-Linux-x86_64.sh
sh cmake-linux.sh -- --skip-license --prefix=/usr
rm cmake-linux.sh
# Use externally provided env to determine build parallelism, otherwise use default. # Use externally provided env to determine build parallelism, otherwise use default.
GRPC_CPP_DISTRIBTEST_BUILD_COMPILER_JOBS=${GRPC_CPP_DISTRIBTEST_BUILD_COMPILER_JOBS:-4} GRPC_CPP_DISTRIBTEST_BUILD_COMPILER_JOBS=${GRPC_CPP_DISTRIBTEST_BUILD_COMPILER_JOBS:-4}

@ -20,12 +20,6 @@ cd "$(dirname "$0")/../../.."
# Install openssl (to use instead of boringssl) # Install openssl (to use instead of boringssl)
apt-get update && apt-get install -y libssl-dev apt-get update && apt-get install -y libssl-dev
# Install CMake 3.16
apt-get update && apt-get install -y wget
wget -q -O cmake-linux.sh https://github.com/Kitware/CMake/releases/download/v3.16.1/cmake-3.16.1-Linux-x86_64.sh
sh cmake-linux.sh -- --skip-license --prefix=/usr
rm cmake-linux.sh
# Use externally provided env to determine build parallelism, otherwise use default. # Use externally provided env to determine build parallelism, otherwise use default.
GRPC_CPP_DISTRIBTEST_BUILD_COMPILER_JOBS=${GRPC_CPP_DISTRIBTEST_BUILD_COMPILER_JOBS:-4} GRPC_CPP_DISTRIBTEST_BUILD_COMPILER_JOBS=${GRPC_CPP_DISTRIBTEST_BUILD_COMPILER_JOBS:-4}

Loading…
Cancel
Save