aboutsummaryrefslogtreecommitdiffhomepage
path: root/projects
diff options
context:
space:
mode:
authorGravatar DavidKorczynski <david@adalogics.com>2021-11-29 19:26:51 +0000
committerGravatar GitHub <noreply@github.com>2021-11-29 19:26:51 +0000
commit2c164afcbab66dd27378dc6dab69bb3c285e8e83 (patch)
tree9e36812c34c17349e4c563fc2041afd3081df2d5 /projects
parent854befe7b1642437cf26a6023ce5b9b26bde10e3 (diff)
wasmtime: migrate build to work with CIFUzz (#6923)
Diffstat (limited to 'projects')
-rw-r--r--projects/wasmtime/Dockerfile4
-rwxr-xr-xprojects/wasmtime/build.sh6
2 files changed, 8 insertions, 2 deletions
diff --git a/projects/wasmtime/Dockerfile b/projects/wasmtime/Dockerfile
index fe6c8dd3..7ea6cbe5 100644
--- a/projects/wasmtime/Dockerfile
+++ b/projects/wasmtime/Dockerfile
@@ -29,8 +29,8 @@ RUN git clone --depth 1 https://github.com/bytecodealliance/regalloc.rs regalloc
RUN git clone --depth 1 https://github.com/bytecodealliance/wasmtime wasmtime
WORKDIR wasmtime
-RUN git submodule update --init --recursive
+#RUN git submodule update --init --recursive
-RUN git clone --depth 1 https://github.com/bytecodealliance/wasmtime-libfuzzer-corpus wasmtime-libfuzzer-corpus
+#RUN git clone --depth 1 https://github.com/bytecodealliance/wasmtime-libfuzzer-corpus wasmtime-libfuzzer-corpus
COPY build.sh default.options $SRC/
diff --git a/projects/wasmtime/build.sh b/projects/wasmtime/build.sh
index c085c055..d02a06ab 100755
--- a/projects/wasmtime/build.sh
+++ b/projects/wasmtime/build.sh
@@ -15,6 +15,12 @@
#
################################################################################
+# Commands migrated from Dockerfile to make CIFuzz work
+# REF: https://github.com/google/oss-fuzz/issues/6755
+git submodule update --init --recursive
+git clone --depth 1 https://github.com/bytecodealliance/wasmtime-libfuzzer-corpus wasmtime-libfuzzer-corpus
+
+
# Note: This project creates Rust fuzz targets exclusively
build() {