Skip to content

Commit 0ec89d0

Browse files
authored
Remove Catch2 dependency from immer's fuzzers (#11603)
immer's fuzzers do not depend on Catch2 anymore This change is triggered by `immer` moving to use Catch2 v3, so the current build script will break.
1 parent cb6ca09 commit 0ec89d0

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

projects/immer/Dockerfile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,6 @@
1616

1717
FROM gcr.io/oss-fuzz-base/base-builder
1818
RUN apt-get update && apt-get install -y cmake libgc-dev pkg-config
19-
# install Catch2 from sources, since Ubuntu 20.04 (currently the base for
20-
# this image) does not ship it
21-
RUN git clone -b v2.x --depth 1 https://github.com/catchorg/Catch2.git && \
22-
cd Catch2 && \
23-
cmake -DCATCH_BUILD_TESTING=OFF -DCATCH_BUILD_EXAMPLES=OFF -DCATCH_ENABLE_COVERAGE=OFF -DCATCH_ENABLE_WERROR=OFF -DCATCH_INSTALL_DOCS=OFF -DCATCH_INSTALL_HELPERS=OFF -Bbuild && \
24-
cmake --build build && \
25-
cmake --build build --target install
2619
RUN git clone --depth 1 https://github.com/arximboldi/immer.git immer
2720
WORKDIR immer
2821
COPY build.sh $SRC/

projects/immer/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ mkdir build
2020
cd build
2121
cmake .. \
2222
-DBOEHM_GC_INCLUDE_DIR=/usr/include \
23-
-DBOEHM_GC_LIBRARIES=/usr/lib/x86_64-linux-gnu/libgc.a
23+
-DBOEHM_GC_LIBRARIES=/usr/lib/x86_64-linux-gnu/libgc.a \
24+
-Dimmer_BUILD_TESTS=OFF
2425
make -j$(nproc) fuzzers
2526

2627
for fuzzer in extra/fuzzer/*; do

0 commit comments

Comments
 (0)