Skip to content

Fix static linking of protobuf and pre-build perf tester#116

Merged
michalovits merged 1 commit into
bloomberg:mainfrom
flamble:static-linking-and-test-changes
May 28, 2026
Merged

Fix static linking of protobuf and pre-build perf tester#116
michalovits merged 1 commit into
bloomberg:mainfrom
flamble:static-linking-and-test-changes

Conversation

@flamble
Copy link
Copy Markdown
Contributor

@flamble flamble commented May 28, 2026

Restore set(Protobuf_USE_STATIC_LIBS ON) in authproto/CMakeLists.txt. This was inadvertently removed in PR #114 when modernising the find_package call. Without it, protobuf is linked dynamically, causing runtime failures on systems without the shared library installed.

Also pre-build the Rust performance tester binary in the integration Dockerfile and require the PERF_TESTER_BIN environment variable in integration-tests.py. This avoids needing a full Rust toolchain in the test runtime environment and gives explicit control over the binary being tested.

Restore `set(Protobuf_USE_STATIC_LIBS ON)` in authproto/CMakeLists.txt.
This was inadvertently removed in PR bloomberg#114 when modernising the
find_package call. Without it, protobuf is linked dynamically, causing
runtime failures on systems without the shared library installed.

Also pre-build the Rust performance tester binary in the integration
Dockerfile and require the PERF_TESTER_BIN environment variable in
integration-tests.py. This avoids needing a full Rust toolchain in the
test runtime environment and gives explicit control over the binary
being tested.
@michalovits michalovits merged commit 49df950 into bloomberg:main May 28, 2026
3 checks passed
@flamble flamble deleted the static-linking-and-test-changes branch May 29, 2026 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants