Remove obsolete installation scripts that were used by the fuzzer build CI

This commit is contained in:
Bhargava Shastry 2019-11-12 11:26:59 +01:00
parent 52a9de83f3
commit 066626a3e8
3 changed files with 0 additions and 62 deletions

View File

@ -1,36 +0,0 @@
#!/usr/bin/env sh
# This is suitable for CIs, not end users.
# This script is invoked by ossfuzz build CI.
set -e
TEMPDIR="src"
cd /
mkdir -p $TEMPDIR
cd $TEMPDIR
git clone --recurse-submodules https://github.com/chfast/evmone.git
(
cd evmone
mkdir build
cd build
cmake .. -DBUILD_SHARED_LIBS=OFF
make -j2
)
git clone https://github.com/chfast/intx.git
(
cd intx
mkdir build
cd build
cmake .. -DBUILD_SHARED_LIBS=OFF -DINTX_TESTING=OFF -DINTX_BENCHMARKING=OFF
make -j2
)
git clone https://github.com/chfast/ethash.git
(
cd ethash
mkdir build
cd build
cmake .. -DBUILD_SHARED_LIBS=OFF -DETHASH_BUILD_TESTS=OFF
make -j2
)

View File

@ -1,13 +0,0 @@
#!/usr/bin/env sh
set -e
TEMPDIR=$(mktemp -d)
(
cd $TEMPDIR
svn co https://llvm.org/svn/llvm-project/compiler-rt/trunk/lib/fuzzer libfuzzer
mkdir -p build-libfuzzer
cd build-libfuzzer
CXXFLAGS="-O1 -stdlib=libstdc++"
$CXX $CXXFLAGS -std=c++11 -O2 -fPIC -c ../libfuzzer/*.cpp -I../libfuzzer
ar r /usr/lib/libFuzzingEngine.a *.o
)
rm -rf $TEMPDIR

View File

@ -1,13 +0,0 @@
#!/usr/bin/env sh
set -e
TEMPDIR="src"
cd /
mkdir -p $TEMPDIR
(
cd $TEMPDIR
git clone --depth 1 https://github.com/google/libprotobuf-mutator.git
mkdir -p LPM
cd LPM
cmake ../libprotobuf-mutator -GNinja -DLIB_PROTO_MUTATOR_DOWNLOAD_PROTOBUF=ON -DLIB_PROTO_MUTATOR_TESTING=OFF -DCMAKE_BUILD_TYPE=Release && ninja install
)