mirror of https://github.com/google/oss-fuzz.git
inchi: adjust build to latest upstream (#11598)
Fixes: https://github.com/google/oss-fuzz/issues/11591 Signed-off-by: David Korczynski <david@adalogics.com>
This commit is contained in:
parent
3a62e74084
commit
2fded4446b
|
@ -16,7 +16,6 @@
|
|||
|
||||
FROM gcr.io/oss-fuzz-base/base-builder
|
||||
RUN apt-get update && apt-get install -y wget make unzip git
|
||||
RUN wget https://www.inchi-trust.org/download/106/INCHI-1-SRC.zip
|
||||
RUN unzip INCHI-1-SRC.zip
|
||||
WORKDIR INCHI-1-SRC
|
||||
RUN git clone --depth=1 https://github.com/IUPAC-InChI/InChI inchi
|
||||
WORKDIR inchi
|
||||
COPY build.sh *_fuzzer.c $SRC/
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#
|
||||
################################################################################
|
||||
|
||||
cd INCHI-1-SRC
|
||||
$CC $CFLAGS -Wno-everything -DTARGET_API_LIB -DCOMPILE_ANSI_ONLY -ansi -c \
|
||||
INCHI_BASE/src/*.c INCHI_API/libinchi/src/*.c INCHI_API/libinchi/src/ixa/*.c
|
||||
ar rcs $WORK/libinchi.a *.o
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
homepage: "https://www.inchi-trust.org/"
|
||||
main_repo: "https://github.com/metamolecular/inchi"
|
||||
main_repo: "https://github.com/IUPAC-InChI/InChI"
|
||||
language: c
|
||||
primary_contact: "member-info@inchi-trust.org"
|
||||
sanitizers:
|
||||
|
|
Loading…
Reference in New Issue