[libcxx-commits] [libcxx] 5374f16 - [libcxx][ci][NFC] Remove commented install line and disutils reference (#158015)

via libcxx-commits libcxx-commits at lists.llvm.org
Fri Sep 12 01:08:14 PDT 2025


Author: David Spickett
Date: 2025-09-12T09:08:10+01:00
New Revision: 5374f16270f02fdbedbbba96951a8b9ffd9c482f

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

LOG: [libcxx][ci][NFC] Remove commented install line and disutils reference (#158015)

76667c768e6403e71718340a946e6f2f356bf745 added distutils because "spawn"
was used, which I then removed in
268a4b0a451432833d3b398c7182d133c865dff5.

I removed it as part of removing all uses of distutils in llvm-project,
tracked in #54337. Python has removed distutils in its latest versions.

Distutils was not being installed in the docker image but just mentioned
in a commented out line. I think this line was leftover from when it was
reformated into the multi-line command above.

So I'm removing the whole line and relocating the comments a bit.

Added: 
    

Modified: 
    libcxx/utils/ci/Dockerfile

Removed: 
    


################################################################################
diff  --git a/libcxx/utils/ci/Dockerfile b/libcxx/utils/ci/Dockerfile
index 79e11569c0d08..8e1c341c10b92 100644
--- a/libcxx/utils/ci/Dockerfile
+++ b/libcxx/utils/ci/Dockerfile
@@ -76,6 +76,9 @@ RUN sudo apt-get update \
     && sudo apt-get install -y \
         tzdata
 
+# Install various tools used by the build or the test suite
+# TODO add ninja-build once 1.11 is available in Ubuntu, also remove the manual
+# installation below.
 RUN sudo apt-get update \
     && sudo apt-get install -y \
         bash \
@@ -108,9 +111,6 @@ RUN sudo apt-get update \
         xz-utils \
     && sudo rm -rf /var/lib/apt/lists/*
 
-# Install various tools used by the build or the test suite
-#RUN apt-get update && apt-get install -y ninja-build python3 python3-distutils python3-psutil git gdb ccache
-# TODO add ninja-build once 1.11 is available in Ubuntu, also remove the manual installation.
 RUN <<EOF
   set -e
   wget -qO /tmp/ninja.gz https://github.com/ninja-build/ninja/releases/latest/download/ninja-linux.zip


        


More information about the libcxx-commits mailing list