https://github.com/boomanaiden154 created 
https://github.com/llvm/llvm-project/pull/162555

Was going through Dockerfiles to see where we are missing FROM lines with fully 
qualified names and came across this one. I think it is safe to say it has not 
been used in a very long time or maintained at all since then since it still 
tries to download the source tree using svn. Given that, delete it to lower 
support surface slightly.

>From e34a91386b36148f76af162a2521ce927b15143c Mon Sep 17 00:00:00 2001
From: Aiden Grossman <[email protected]>
Date: Wed, 8 Oct 2025 22:03:13 +0000
Subject: [PATCH] [clang-fuzzer] Remove Dockerfile

Was going through Dockerfiles to see where we are missing FROM lines
with fully qualified names and came across this one. I think it is safe
to say it has not been used in a very long time or maintained at all
since then since it still tries to download the source tree using svn.
Given that, delete it to lower support surface slightly.
---
 clang/tools/clang-fuzzer/Dockerfile | 41 -----------------------------
 clang/tools/clang-fuzzer/README.txt |  3 ---
 2 files changed, 44 deletions(-)
 delete mode 100644 clang/tools/clang-fuzzer/Dockerfile

diff --git a/clang/tools/clang-fuzzer/Dockerfile 
b/clang/tools/clang-fuzzer/Dockerfile
deleted file mode 100644
index 1ddf82954e219..0000000000000
--- a/clang/tools/clang-fuzzer/Dockerfile
+++ /dev/null
@@ -1,41 +0,0 @@
-#===- llvm/tools/clang/tools/clang-fuzzer 
---------------------------------===//
-#
-# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-# See https://llvm.org/LICENSE.txt for license information.
-# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-#
-#===----------------------------------------------------------------------===//
-# Produces an image that builds clang-proto-fuzzer
-FROM ubuntu:16.04
-RUN apt-get update -y
-RUN apt-get install -y autoconf automake libtool curl make g++ unzip wget git \
-    binutils liblzma-dev libz-dev python-all cmake ninja-build subversion \
-    pkg-config docbook2x
-
-WORKDIR /root
-
-# Get protobuf
-RUN wget -qO- 
https://github.com/google/protobuf/releases/download/v3.3.0/protobuf-cpp-3.3.0.tar.gz
 | tar zxf -
-RUN cd protobuf-3.3.0 && ./autogen.sh && ./configure && make -j $(nproc) && 
make check -j $(nproc) && make install && ldconfig
-# Get LLVM
-RUN svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
-RUN cd llvm/tools && svn co http://llvm.org/svn/llvm-project/cfe/trunk clang 
-r $(cd ../ && svn info | grep Revision | awk '{print $2}')
-RUN cd llvm/projects && svn co 
http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt -r $(cd ../ && 
svn info | grep Revision | awk '{print $2}')
-# Build plain LLVM (stage 0)
-RUN mkdir build0 && cd build0 && cmake -GNinja -DCMAKE_BUILD_TYPE=Release 
../llvm && ninja
-# Configure instrumented LLVM (stage 1)
-RUN mkdir build1 && cd build1 && cmake -GNinja -DCMAKE_BUILD_TYPE=Release 
../llvm \
-    -DLLVM_ENABLE_ASSERTIONS=ON \
-    -DCMAKE_C_COMPILER=`pwd`/../build0/bin/clang \
-    -DCMAKE_CXX_COMPILER=`pwd`/../build0/bin/clang++ \
-    -DLLVM_USE_SANITIZE_COVERAGE=YES \
-    -DLLVM_USE_SANITIZER=Address -DCLANG_ENABLE_PROTO_FUZZER=ON
-# Build the fuzzers
-RUN cd build1 && ninja clang-fuzzer
-RUN cd build1 && ninja clang-objc-fuzzer
-RUN cd build1 && ninja clang-proto-fuzzer
-RUN cd build1 && ninja clang-proto-to-cxx
-RUN cd build1 && ninja clang-loop-proto-to-cxx
-RUN cd build1 && ninja clang-loop-proto-to-llvm
-RUN cd build1 && ninja clang-loop-proto-fuzzer
-RUN cd build1 && ninja clang-llvm-proto-fuzzer
diff --git a/clang/tools/clang-fuzzer/README.txt 
b/clang/tools/clang-fuzzer/README.txt
index eec4a9efdfc66..218c54437a466 100644
--- a/clang/tools/clang-fuzzer/README.txt
+++ b/clang/tools/clang-fuzzer/README.txt
@@ -99,9 +99,6 @@ Example:
     -DCLANG_ENABLE_PROTO_FUZZER=ON
   ninja clang-proto-fuzzer clang-proto-to-cxx
 
-This directory also contains a Dockerfile which sets up all required
-dependencies and builds the fuzzers.
-
 ============================
  Running clang-proto-fuzzer
 ============================

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to