mbedtls: fix build (#7101)

* mbedtls: fix build

* mbedtls: dont build tests
This commit is contained in:
DavidKorczynski 2022-01-06 23:18:13 +00:00 committed by GitHub
parent 7a6315db98
commit 8b5428e158
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 3 deletions

View File

@ -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

View File

@ -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/