mirror of https://github.com/google/oss-fuzz.git
mbedtls: fix build (#7101)
* mbedtls: fix build * mbedtls: dont build tests
This commit is contained in:
parent
7a6315db98
commit
8b5428e158
|
@ -15,9 +15,14 @@
|
|||
################################################################################
|
||||
|
||||
FROM gcr.io/oss-fuzz-base/base-builder
|
||||
#TODO change
|
||||
RUN apt-get update && apt-get install -y make cmake
|
||||
RUN git clone --recursive --depth 1 -b development_2.x https://github.com/ARMmbed/mbedtls.git mbedtls
|
||||
RUN apt-get update && apt-get install -y \
|
||||
python-all-dev \
|
||||
python3-all-dev \
|
||||
python3-pip
|
||||
RUN pip3 install jinja2
|
||||
|
||||
RUN git clone --recursive --depth 1 -b development https://github.com/ARMmbed/mbedtls.git mbedtls
|
||||
RUN git clone --depth 1 https://github.com/google/boringssl.git boringssl
|
||||
RUN git clone --depth 1 https://github.com/openssl/openssl.git openssl
|
||||
WORKDIR mbedtls
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
perl scripts/config.pl set MBEDTLS_PLATFORM_TIME_ALT
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
cmake -DENABLE_TESTING=OFF ..
|
||||
# build including fuzzers
|
||||
make -j$(nproc) all
|
||||
cp programs/fuzz/fuzz_* $OUT/
|
||||
|
|
Loading…
Reference in New Issue