aboutsummaryrefslogtreecommitdiffhomepage
path: root/projects/flatbuffers/build.sh
diff options
context:
space:
mode:
authorGravatar AdamKorcz <44787359+AdamKorcz@users.noreply.github.com>2020-11-15 20:48:53 +0000
committerGravatar GitHub <noreply@github.com>2020-11-15 12:48:53 -0800
commitcd9be3e3831ace456320ee5019a28661d33afb57 (patch)
treef31b6cd20cda1518e3bb3b72868afa4f01b55815 /projects/flatbuffers/build.sh
parentcfd6969ba1577d8f03a329a5e41c4fd62a189abf (diff)
[flatbuffers] Initial integration (#4638)
* [flatbuffers] initial integration * Running tests again * Running tests again * Add developer email.
Diffstat (limited to 'projects/flatbuffers/build.sh')
-rwxr-xr-xprojects/flatbuffers/build.sh25
1 files changed, 25 insertions, 0 deletions
diff --git a/projects/flatbuffers/build.sh b/projects/flatbuffers/build.sh
new file mode 100755
index 00000000..cffd3d2b
--- /dev/null
+++ b/projects/flatbuffers/build.sh
@@ -0,0 +1,25 @@
+#!/bin/bash -eu
+# Copyright 2020 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+################################################################################
+
+cd $SRC/flatbuffers
+mkdir build
+cd build
+cmake -DOSS_FUZZ:BOOL=ON -G "Unix Makefiles" ../tests/fuzzer
+make
+
+cp *_fuzzer $OUT/
+