[libcxx-commits] [libcxx] 7311b27 - [libc++] Install a recent CMake in the Docker build bots

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Mar 24 15:07:22 PDT 2020


Author: Louis Dionne
Date: 2020-03-24T18:06:56-04:00
New Revision: 7311b274039ea728938666972b1c34cf765a8a5f

URL: https://github.com/llvm/llvm-project/commit/7311b274039ea728938666972b1c34cf765a8a5f
DIFF: https://github.com/llvm/llvm-project/commit/7311b274039ea728938666972b1c34cf765a8a5f.diff

LOG: [libc++] Install a recent CMake in the Docker build bots

Added: 
    

Modified: 
    libcxx/utils/docker/debian9/buildbot/install-packages.sh

Removed: 
    


################################################################################
diff  --git a/libcxx/utils/docker/debian9/buildbot/install-packages.sh b/libcxx/utils/docker/debian9/buildbot/install-packages.sh
index 9956944799ca..1f18c428004c 100755
--- a/libcxx/utils/docker/debian9/buildbot/install-packages.sh
+++ b/libcxx/utils/docker/debian9/buildbot/install-packages.sh
@@ -12,7 +12,6 @@ apt-get update && \
       wget \
       unzip \
       python \
-      cmake \
       ninja-build \
       curl \
       git \
@@ -33,3 +32,8 @@ apt-get update && \
       sysvinit-utils \
       systemd-sysv && \
   rm -rf /var/lib/apt/lists/*
+
+# Install a recent CMake
+yes | apt-get purge cmake
+wget https://github.com/Kitware/CMake/releases/download/v3.15.2/cmake-3.15.2-Linux-x86_64.sh -O /tmp/install-cmake.sh
+bash /tmp/install-cmake.sh --prefix=/usr --exclude-subdir --skip-license


        


More information about the libcxx-commits mailing list