[libcxx-commits] [libcxx] be628f3 - [libcxx] Still use CMake 3.31 in the CI image (#226749)

via libcxx-commits libcxx-commits at lists.llvm.org
Sun Sep 27 23:13:48 PDT 2026


Author: Aiden Grossman
Date: 2026-09-27T23:13:42-07:00
New Revision: be628f333947bf070839e6706f6701099e0c83eb

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

LOG: [libcxx] Still use CMake 3.31 in the CI image (#226749)

This ensures support with the minimum supported version rather than what
26.04 ships with by default (4.2.3).

Added: 
    

Modified: 
    libcxx/utils/ci/docker/linux-builder.dockerfile

Removed: 
    


################################################################################
diff  --git a/libcxx/utils/ci/docker/linux-builder.dockerfile b/libcxx/utils/ci/docker/linux-builder.dockerfile
index 5035899cfda3c..64dde3cf00f52 100644
--- a/libcxx/utils/ci/docker/linux-builder.dockerfile
+++ b/libcxx/utils/ci/docker/linux-builder.dockerfile
@@ -134,3 +134,10 @@ RUN <<EOF
   sudo rm -rf /tmp/ce-infra
 EOF
 
+RUN <<EOF
+    # Install a recent CMake
+    set -e
+    wget https://github.com/Kitware/CMake/releases/download/v3.31.0/cmake-3.31.0-linux-x86_64.sh -O /tmp/install-cmake.sh
+    sudo bash /tmp/install-cmake.sh --prefix=/usr --exclude-subdir --skip-license
+    rm /tmp/install-cmake.sh
+EOF


        


More information about the libcxx-commits mailing list