mirror of https://github.com/google/oss-fuzz.git
checking out directly into /src
This commit is contained in:
parent
e3028b4705
commit
680fc8844e
|
@ -18,9 +18,7 @@ FROM ossfuzz/base-libfuzzer
|
|||
MAINTAINER mmoroz@chromium.org
|
||||
RUN apt-get install -y make autoconf automake libtool mercurial zlib1g-dev
|
||||
|
||||
# Need to create 'work' subdir for nss and nspr sources, because '/src/nss' is
|
||||
# occupied by oss-fuzz sources checked out using dummy path from Jenkinsfile.
|
||||
RUN mkdir -p work
|
||||
RUN hg clone https://hg.mozilla.org/projects/nspr work/nspr
|
||||
RUN hg clone https://hg.mozilla.org/projects/nss work/nss
|
||||
RUN hg clone https://hg.mozilla.org/projects/nspr nspr
|
||||
RUN hg clone https://hg.mozilla.org/projects/nss nss
|
||||
|
||||
COPY build.sh fuzzers/* /src/
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
################################################################################
|
||||
|
||||
# Build the library.
|
||||
cd work/nss
|
||||
cd /src/nss
|
||||
make BUILD_OPT=1 USE_64=1 NSS_DISABLE_GTESTS=1 ZDEFS_FLAG= clean nss_build_all
|
||||
cd ..
|
||||
|
||||
|
|
Loading…
Reference in New Issue