diff --git a/projects/inchi/Dockerfile b/projects/inchi/Dockerfile index ce2f39874..4de739242 100644 --- a/projects/inchi/Dockerfile +++ b/projects/inchi/Dockerfile @@ -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/ diff --git a/projects/inchi/build.sh b/projects/inchi/build.sh index 50c331465..0d615fe74 100644 --- a/projects/inchi/build.sh +++ b/projects/inchi/build.sh @@ -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 diff --git a/projects/inchi/project.yaml b/projects/inchi/project.yaml index 226cea89f..1a5838b83 100644 --- a/projects/inchi/project.yaml +++ b/projects/inchi/project.yaml @@ -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: