diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2018-08-07 15:46:48 -0400 |
---|---|---|
committer | Max Moroz <dor3s1@gmail.com> | 2018-08-07 12:46:48 -0700 |
commit | c6d67eaa7b7d15f6e18b844d2f4e2f777599fd96 (patch) | |
tree | fe0ef04a49107dc1191575f8ede44a8d12ae093f /projects/spidermonkey | |
parent | 0fe45f59a73153b083c53cb3113c42c961286cb6 (diff) | |
download | oss-fuzz-c6d67eaa7b7d15f6e18b844d2f4e2f777599fd96.tar.gz |
[spidermonkey] Fixed spidermonkey build -- it now requires rust (#1691)
Diffstat (limited to 'projects/spidermonkey')
-rw-r--r-- | projects/spidermonkey/Dockerfile | 4 | ||||
-rwxr-xr-x | projects/spidermonkey/build.sh | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/projects/spidermonkey/Dockerfile b/projects/spidermonkey/Dockerfile index 906db1e52..547fc0f59 100644 --- a/projects/spidermonkey/Dockerfile +++ b/projects/spidermonkey/Dockerfile @@ -19,8 +19,10 @@ MAINTAINER agaynor@mozilla.com RUN apt-get update && apt-get install -y \ autoconf2.13 \ yasm \ - python + python \ + curl +RUN curl -sSf https://sh.rustup.rs | sh /dev/stdin -y RUN git clone --depth=1 https://github.com/mozilla/gecko-dev mozilla-central WORKDIR mozilla-central/js/src/ COPY build.sh $SRC/ diff --git a/projects/spidermonkey/build.sh b/projects/spidermonkey/build.sh index 4af2a9ef0..9b19c8997 100755 --- a/projects/spidermonkey/build.sh +++ b/projects/spidermonkey/build.sh @@ -18,6 +18,8 @@ # Required for some reason... I don't ask questions export SHELL=/bin/bash +source "$HOME/.cargo/env" + autoconf2.13 mkdir build_DBG.OBJ |