aboutsummaryrefslogtreecommitdiff
path: root/projects/firestore
diff options
context:
space:
mode:
authorAbhishek Arya <inferno@chromium.org>2020-06-10 14:46:23 -0700
committerGitHub <noreply@github.com>2020-06-10 14:46:23 -0700
commitfa06dcc8ae3b87a3db62b8459d1bd84b1e757732 (patch)
tree6bdeee32b43782c279cdda17ceea5ab32b59091c /projects/firestore
parentaf42169e03fdcad0d2aa39aadfd8aeed4a8158b9 (diff)
downloadoss-fuzz-fa06dcc8ae3b87a3db62b8459d1bd84b1e757732.tar.gz
Remove cmake install from projects. (#3961)
Diffstat (limited to 'projects/firestore')
-rwxr-xr-xprojects/firestore/build.sh12
1 files changed, 1 insertions, 11 deletions
diff --git a/projects/firestore/build.sh b/projects/firestore/build.sh
index ec9a429a0..7ada1b9d6 100755
--- a/projects/firestore/build.sh
+++ b/projects/firestore/build.sh
@@ -15,17 +15,7 @@
#
################################################################################
-# The cmake version that is available on Ubuntu 16.04 is 3.5.1. While Firestore
-# itself requires cmake 3.5, it depends on leveldb which requires cmake 3.9
-# (https://github.com/google/leveldb/blob/master/CMakeLists.txt#L5).
-# There is an open issue (https://github.com/google/leveldb/issues/607) to
-# lower the required cmake version of leveldb. Therefore, we need to download
-# a newer version of cmake until leveldb lowers the required version or a newer
-# cmake version becomes available in the OSS Fuzz environment.
cd $WORK
-wget https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.tar.gz
-tar -xzf cmake-3.12.0-Linux-x86_64.tar.gz
-rm cmake-3.12.0-Linux-x86_64.tar.gz
# Disable UBSan vptr since Firestore depends on other libraries that are built
# with -fno-rtti.
@@ -36,7 +26,7 @@ export CXXFLAGS="$CXXFLAGS -fno-sanitize=vptr"
# fuzzing library defined in ${LIB_FUZZING_ENGINE}.
cd $SRC/firebase-ios-sdk
mkdir build && cd build
-$WORK/cmake-3.12.0-Linux-x86_64/bin/cmake -DFUZZING=ON ..
+cmake -DFUZZING=ON ..
make -j$(nproc)
# Copy fuzzing targets, dictionaries, and zipped corpora to $OUT.