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:
DavidKorczynski 2024-02-13 12:13:12 +00:00 committed by GitHub
parent 3a62e74084
commit 2fded4446b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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