mirror of https://github.com/google/oss-fuzz.git
cryptography: fix build (#10890)
Signed-off-by: David Korczynski <david@adalogics.com>
This commit is contained in:
parent
d253560ffd
commit
26accb4a49
|
@ -18,7 +18,7 @@ FROM gcr.io/oss-fuzz-base/base-builder-python
|
|||
|
||||
RUN git clone https://github.com/pyca/cryptography
|
||||
RUN apt-get update
|
||||
RUN apt-get install build-essential libssl-dev libffi-dev python3-dev cargo -y
|
||||
RUN apt-get install build-essential libssl-dev libffi-dev pkg-config python3-dev cargo -y
|
||||
RUN pip3 install --upgrade pip
|
||||
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||
|
||||
|
|
|
@ -16,9 +16,13 @@
|
|||
################################################################################
|
||||
|
||||
# Build fuzzers in $OUT.
|
||||
pip3 cache purge
|
||||
python3 -m pip cache purge
|
||||
# Compiling with sancov is causing some issues at the moment. This is likely
|
||||
# due to some missing flags propagated throughout.
|
||||
unset RUSTFLAGS
|
||||
pip3 install .
|
||||
unset CXXFLAGS
|
||||
unset CFLAGS
|
||||
python3 -m pip install .
|
||||
|
||||
cd $SRC
|
||||
for fuzzer in $(find $SRC -name 'fuzz_*.py'); do
|
||||
|
|
Loading…
Reference in New Issue