Lines Matching +full:apt +full:- +full:get
1 #===- llvm/tools/clang/tools/clang-fuzzer ---------------------------------===//
5 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 #===----------------------------------------------------------------------===//
8 # Produces an image that builds clang-proto-fuzzer
10 RUN apt-get update -y
11 RUN apt-get install -y autoconf automake libtool curl make g++ unzip wget git \
12 binutils liblzma-dev libz-dev python-all cmake ninja-build subversion \
13 pkg-config docbook2x
17 # Get protobuf
18 RUN wget -qO- https://github.com/google/protobuf/releases/download/v3.3.0/protobuf-cpp-3.3.0.tar.gz…
19 RUN cd protobuf-3.3.0 && ./autogen.sh && ./configure && make -j $(nproc) && make check -j $(nproc) …
20 # Get LLVM
21 RUN svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
22 RUN cd llvm/tools && svn co http://llvm.org/svn/llvm-project/cfe/trunk clang -r $(cd ../ && svn inf…
23 RUN cd llvm/projects && svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt -r $(…
25 RUN mkdir build0 && cd build0 && cmake -GNinja -DCMAKE_BUILD_TYPE=Release ../llvm && ninja
27 RUN mkdir build1 && cd build1 && cmake -GNinja -DCMAKE_BUILD_TYPE=Release ../llvm \
28 -DLLVM_ENABLE_ASSERTIONS=ON \
29 -DCMAKE_C_COMPILER=`pwd`/../build0/bin/clang \
30 -DCMAKE_CXX_COMPILER=`pwd`/../build0/bin/clang++ \
31 -DLLVM_USE_SANITIZE_COVERAGE=YES \
32 -DLLVM_USE_SANITIZER=Address -DCLANG_ENABLE_PROTO_FUZZER=ON
34 RUN cd build1 && ninja clang-fuzzer
35 RUN cd build1 && ninja clang-objc-fuzzer
36 RUN cd build1 && ninja clang-proto-fuzzer
37 RUN cd build1 && ninja clang-proto-to-cxx
38 RUN cd build1 && ninja clang-loop-proto-to-cxx
39 RUN cd build1 && ninja clang-loop-proto-to-llvm
40 RUN cd build1 && ninja clang-loop-proto-fuzzer
41 RUN cd build1 && ninja clang-llvm-proto-fuzzer