From 8eaeb5520047b58306047e5974ebe55eef2a535a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 15 Jul 2026 15:11:42 +0000 Subject: [PATCH 1/2] Bump benchmark from `12235e2` to `192ef10` Bumps [benchmark](https://github.com/google/benchmark) from `12235e2` to `192ef10`. - [Release notes](https://github.com/google/benchmark/releases) - [Commits](https://github.com/google/benchmark/compare/12235e24652fc7f809373e7c11a5f73c5763fc4c...192ef10025eb2c4cdd392bc502f0c852196baa48) --- updated-dependencies: - dependency-name: benchmark dependency-version: 192ef10025eb2c4cdd392bc502f0c852196baa48 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- benchmark | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark b/benchmark index 12235e2..192ef10 160000 --- a/benchmark +++ b/benchmark @@ -1 +1 @@ -Subproject commit 12235e24652fc7f809373e7c11a5f73c5763fc4c +Subproject commit 192ef10025eb2c4cdd392bc502f0c852196baa48 From 093edf919674c122c1c3066ee90bf1825d39899e Mon Sep 17 00:00:00 2001 From: Derek Steinkamp Date: Wed, 30 Sep 2026 20:05:17 -0500 Subject: [PATCH 2/2] Honor the selected C++ standard and isolate benchmark Redis --- CMakeLists.txt | 4 +++- benchmark.cpp | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9f2334c..6efbcca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,9 @@ endif() project(redis-adapter VERSION ${REDIS_ADAPTER_VERSION} LANGUAGES CXX) -set(CMAKE_CXX_STANDARD 17) +if(NOT DEFINED CMAKE_CXX_STANDARD) + set(CMAKE_CXX_STANDARD 17) +endif() set(CMAKE_CXX_STANDARD_REQUIRED ON) # Find our cmake modules diff --git a/benchmark.cpp b/benchmark.cpp index 012ddd6..5e50046 100644 --- a/benchmark.cpp +++ b/benchmark.cpp @@ -28,6 +28,7 @@ RA_Options get_redis_options() RA_Options opts; opts.cxn.path = get_redis_path(); opts.cxn.host = get_redis_host(); + if (const auto* port = std::getenv("REDIS_ADAPTER_BENCHMARK_PORT")) opts.cxn.port = std::stoi(port); return opts; }