mirror of https://github.com/google/oss-fuzz.git
spdk: simplify build (#6503)
This commit is contained in:
parent
2b3ce49d77
commit
547f1b61cd
|
@ -15,14 +15,9 @@
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
FROM gcr.io/oss-fuzz-base/base-builder
|
FROM gcr.io/oss-fuzz-base/base-builder
|
||||||
RUN apt-get update && apt-get install -y make curl yasm autoconf libtool meson
|
RUN apt-get update && apt-get install -y make curl yasm autoconf libtool meson nasm
|
||||||
RUN git clone --depth 1 https://github.com/spdk/spdk
|
RUN git clone --depth 1 https://github.com/spdk/spdk && \
|
||||||
RUN mkdir nasm-2.15 && cd nasm-2.15 && \
|
cd spdk && \
|
||||||
curl -O -L https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/nasm-2.15.05.tar.xz && \
|
git submodule update --init
|
||||||
tar -xf nasm-2.15.05.tar.xz --strip-components=1 && \
|
|
||||||
./configure --prefix=/usr && \
|
|
||||||
make -j$(nproc) && \
|
|
||||||
make -j$(nproc) install
|
|
||||||
WORKDIR $SRC/spdk
|
WORKDIR $SRC/spdk
|
||||||
RUN git submodule update --init
|
|
||||||
COPY build.sh parse_json_fuzzer.cc $SRC/
|
COPY build.sh parse_json_fuzzer.cc $SRC/
|
||||||
|
|
Loading…
Reference in New Issue