mirror of https://github.com/google/oss-fuzz.git
pyyaml: fix build (#10785)
Signed-off-by: David Korczynski <david@adalogics.com>
This commit is contained in:
parent
6e9dea35ae
commit
97a79546ec
|
@ -16,6 +16,7 @@
|
||||||
|
|
||||||
FROM gcr.io/oss-fuzz-base/base-builder-python
|
FROM gcr.io/oss-fuzz-base/base-builder-python
|
||||||
RUN git clone https://github.com/yaml/pyyaml
|
RUN git clone https://github.com/yaml/pyyaml
|
||||||
|
RUN python3 -m pip install --upgrade pip
|
||||||
WORKDIR $SRC
|
WORKDIR $SRC
|
||||||
COPY build.sh $SRC/
|
COPY build.sh $SRC/
|
||||||
COPY fuzz_* $SRC/
|
COPY fuzz_* $SRC/
|
||||||
|
|
|
@ -15,7 +15,8 @@
|
||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
cd pyyaml
|
cd pyyaml
|
||||||
pip3 install .
|
echo 'Cython < 3.0' > /tmp/constraint.txt
|
||||||
|
PIP_CONSTRAINT=/tmp/constraint.txt pip3 install .
|
||||||
|
|
||||||
# Build fuzzers in $OUT.
|
# Build fuzzers in $OUT.
|
||||||
for fuzzer in $(find $SRC -name 'fuzz_*.py'); do
|
for fuzzer in $(find $SRC -name 'fuzz_*.py'); do
|
||||||
|
|
Loading…
Reference in New Issue