From a08163443c357a0b0a78b04d7bf2fcb31c0b7f82 Mon Sep 17 00:00:00 2001 From: tyler92 Date: Thu, 26 Sep 2024 01:39:54 +0300 Subject: [PATCH] poco: Use latest builder (#12526) Also, unnecessary targets have been disabled to speed up compilation time and avoid issues with Clang 18.0.0 in Poco.Data. --- projects/poco/Dockerfile | 3 +-- projects/poco/build.sh | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/projects/poco/Dockerfile b/projects/poco/Dockerfile index 4182c72ca5c5..90b4bcc578ea 100644 --- a/projects/poco/Dockerfile +++ b/projects/poco/Dockerfile @@ -14,8 +14,7 @@ # ################################################################################ -FROM gcr.io/oss-fuzz-base/base-builder@sha256:19782f7fe8092843368894dbc471ce9b30dd6a2813946071a36e8b05f5b1e27e -# ! This project was pinned after a clang bump. Please remove the pin, Try to fix any build warnings and errors, as well as runtime errors +FROM gcr.io/oss-fuzz-base/base-builder RUN apt-get update && apt-get install -y openssl libssl-dev git make cmake libssl-dev RUN git clone --depth 1 https://github.com/pocoproject/poco WORKDIR $SRC/poco diff --git a/projects/poco/build.sh b/projects/poco/build.sh index fff158e28165..fe43aa749197 100755 --- a/projects/poco/build.sh +++ b/projects/poco/build.sh @@ -20,6 +20,8 @@ cd cmake-build cmake -DBUILD_SHARED_LIBS=OFF -DENABLE_ACTIVERECORD=OFF \ -DENABLE_ACTIVERECORD_COMPILER=OFF -DENABLE_TESTS=OFF \ -DENABLE_PAGECOMPILER=OFF -DENABLE_PAGECOMPILER_FILE2PAGE=OFF \ + -DENABLE_DATA_SQLITE=OFF -DENABLE_REDIS=OFF -DENABLE_MONGODB=OFF \ + -DENABLE_PROMETHEUS=OFF \ .. make -j$(nproc)