Commit 2a41ebea authored by Philipp Götze's avatar Philipp Götze
Browse files

🔥 Little cleanup

parent d07cbad6
Pipeline #163 passed with stages
in 8 minutes and 54 seconds
......@@ -55,21 +55,6 @@ endif()
if(BUILD_BENCHMARKS)
# Google Test ============================================================= #
#[[
FetchContent_Declare(
googletest
GIT_REPOSITORY https://github.com/google/googletest.git
GIT_TAG release-1.8.1
GIT_SHALLOW TRUE
)
FetchContent_GetProperties(googletest)
if(NOT googletest_POPULATED)
message(STATUS "Populating googletest")
FetchContent_Populate(googletest)
# add_subdirectory(${googletest_SOURCE_DIR} ${googletest_BINARY_DIR} EXCLUDE_FROM_ALL)
endif()
]]
# Google Benchmark ======================================================== #
FetchContent_Declare(
benchmark
......
......@@ -53,16 +53,6 @@ include(Fetch3rdParty)
set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED)
############################
# Google benchmark library #
############################
#
if (BUILD_GOOGLE_BENCH)
set(TEST_INCLUDE_DIRS ${THIRD_PARTY_DIR}/benchmark/include
CACHE INTERNAL "TESTING: Include Directories" FORCE)
set (BENCHMARK_LIB "${THIRD_PARTY_DIR}/benchmark/lib/libbenchmark.a")
endif()
#################################
# Pre-built common dependencies #
#################################
......
include(../../cmake/Testing.cmake.in)
if (BUILD_BENCHMARKS)
do_bench(trees/tree_get)
do_bench(trees/tree_traverse)
do_bench(trees/tree_scan)
do_bench(trees/tree_insert)
do_bench(trees/tree_split)
# PTABLE
#do_bench(ptable/insert ptable)
do_bench(ptable/scan ptable)
do_bench(ptable/point ptable)
endif()
do_bench(trees/tree_get)
do_bench(trees/tree_traverse)
do_bench(trees/tree_scan)
do_bench(trees/tree_insert)
do_bench(trees/tree_split)
# PTABLE
#do_bench(ptable/insert ptable)
do_bench(ptable/scan ptable)
do_bench(ptable/point ptable)
......@@ -29,7 +29,7 @@
#include "core/serialize.hpp"
#include "core/utils.hpp"
#include "core/VTableInfo.hpp"
#include "PBPTree.hpp"
#include "pbptree/PBPTree.hpp"
namespace dbis::ptable {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment