summaryrefslogtreecommitdiff
path: root/tests/fuzz_setup.sh
blob: 5ff8be0ae1b9cdf2ac4bce49ace9ff1b1171aa47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

sudo apt-get --yes install subversion screen gcc g++ cmake ninja-build golang autoconf libtool apache2 python-dev pkg-config zlib1g-dev libgcrypt11-dev

mkdir -p clang
cd clang
git clone https://chromium.googlesource.com/chromium/src/tools/clang
cd ..
clang/clang/scripts/update.py
sudo cp -rf third_party/llvm-build/Release+Asserts/lib/* /usr/local/lib/
sudo cp -rf third_party/llvm-build/Release+Asserts/bin/* /usr/local/bin

svn co http://llvm.org/svn/llvm-project/llvm/trunk/lib/Fuzzer
Fuzzer/build.sh