Skip to content

Commit e1008b6

Browse files
committed
cfl: disable building protobuf library
The patch disables building protobuf library, this will speed up overall build time significantly.
1 parent 3ddc43f commit e1008b6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.clusterfuzzlite/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ FROM gcr.io/oss-fuzz-base/base-builder:v1
88

99
RUN apt-get update && apt-get install -y \
1010
build-essential ninja-build cmake make \
11-
libreadline-dev libunwind-dev zlib1g-dev
11+
libreadline-dev libunwind-dev zlib1g-dev \
12+
protobuf-compiler libprotobuf-dev
1213

1314
COPY . $SRC/lua-c-api-tests
1415
WORKDIR $SRC/lua-c-api-tests

.clusterfuzzlite/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ esac
2929
cmake_args=(
3030
-DUSE_LUAJIT=ON
3131
-DOSS_FUZZ=ON
32+
-DENABLE_BUILD_PROTOBUF=OFF
3233
$SANITIZERS_ARGS
3334

3435
# C compiler

0 commit comments

Comments
 (0)