summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2025-01-16 13:18:37 -0500
committerDouglas Rumbaugh <dbr4@psu.edu>2025-01-16 13:18:37 -0500
commit77589d4cc82b766d2cf16294fab98a57f6579cb4 (patch)
tree0cc136d13c20021e0278b8b2ededf2652c27a84e /CMakeLists.txt
parentbac86504220da4c169089a3a1803e0a21f5acbc2 (diff)
downloaddynamic-extension-77589d4cc82b766d2cf16294fab98a57f6579cb4.tar.gz
Additional layout policies + more flexibility in buffer flushing
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 786f765..c332448 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.22)
-set(CMAKE_C_COMPILER clang)
-set(CMAKE_CXX_COMPILER clang++)
+set(CMAKE_C_COMPILER gcc)
+set(CMAKE_CXX_COMPILER g++)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED True)
@@ -290,6 +290,11 @@ if (tail_bench)
target_link_libraries(config_sweep PUBLIC gsl pthread atomic)
target_include_directories(config_sweep PRIVATE include external external/m-tree/cpp external/PGM-index/include external/PLEX/include benchmarks/include external/psudb-common/cpp/include)
target_link_options(config_sweep PUBLIC -mcx16)
+
+ add_executable(fixed_shard_count ${CMAKE_CURRENT_SOURCE_DIR}/benchmarks/tail-latency/fixed_shard_count.cpp)
+ target_link_libraries(fixed_shard_count PUBLIC gsl pthread atomic)
+ target_include_directories(fixed_shard_count PRIVATE include external external/m-tree/cpp external/PGM-index/include external/PLEX/include benchmarks/include external/psudb-common/cpp/include)
+ target_link_options(fixed_shard_count PUBLIC -mcx16)
endif()
if (bench)