Skip to content

Commit 054f361

Browse files
xxx: try to use system protobuf to trigger absl fetch logic
1 parent bf44871 commit 054f361

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/build_test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jobs:
5858
cmake -B build -G Ninja \
5959
-DCMAKE_BUILD_TYPE=Debug \
6060
-DBUILD_TZ_LIB=ON \
61+
-DSUBSTRAIT_CPP_FIND_PROTOBUF_CONFIG=OFF \
6162
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
6263
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
6364

scripts/setup-ubuntu.sh

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,10 @@ sudo --preserve-env apt install -y \
1919
git \
2020
wget \
2121
clang-format-15 \
22+
libprotobuf-dev \
23+
protobuf-compiler \
2224
uuid-dev \
2325
default-jre \
2426
libcurl4-openssl-dev
2527

26-
# Install the currently supported version of protobuf:
27-
PB_REL="https://github.com/protocolbuffers/protobuf/releases"
28-
PB_VER="28.2"
29-
curl -LO $PB_REL/download/v$PB_VER/protoc-$PB_VER-linux-x86_64.zip
30-
unzip protoc-$PB_VER-linux-x86_64.zip -d $HOME/.local
31-
export PATH="$PATH:$HOME/.local/bin"
32-
3328
pip install cmake-format

0 commit comments

Comments
 (0)