Skip to content

Commit

Permalink
Upgrade CMake to 3.15.2 for Linux (#516)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomsonTan authored Jan 18, 2021
1 parent bcfcc82 commit 880e392
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion ci/setup_cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,17 @@ set -e
export DEBIAN_FRONTEND=noninteractive
apt-get update

export CMAKE_VERSION=3.15.2

pushd /tmp
wget https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-Linux-x86_64.sh
chmod +x cmake-${CMAKE_VERSION}-Linux-x86_64.sh
./cmake-${CMAKE_VERSION}-Linux-x86_64.sh --prefix=/usr/local --skip-license
rm cmake-${CMAKE_VERSION}-Linux-x86_64.sh
popd

set +e
echo \
cmake \
libbenchmark-dev \
libgtest-dev \
zlib1g-dev \
Expand Down

0 comments on commit 880e392

Please sign in to comment.