From cd7f2c7bee1c44e9e11ab75d6674ba5d05c6ba84 Mon Sep 17 00:00:00 2001 From: "Douglas B. Rumbaugh" Date: Fri, 9 Jun 2023 11:01:55 -0400 Subject: Build changes and interface cleanup Renamed the get_record_cnt() functions to get_record_count() for consistency, dropped references to SSIs, and added openmp build flags for PGM related targets. Also adjusted dynamic_extension_tests.inc to fail when an erase fails during the static structure testing as part of debugging a delete cancellation problem under leveling. --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 9d73729..182e626 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED True) set(namespace "de") project("Practical Dynamic Extension" VERSION 0.1.0) -set(debug false) +set(debug true) set(tests True) set(bench True) @@ -78,8 +78,9 @@ if (tests) target_include_directories(triespline_tests PRIVATE include external/PLEX/include) add_executable(pgm_tests ${CMAKE_CURRENT_SOURCE_DIR}/tests/pgm_tests.cpp) - target_link_libraries(pgm_tests PUBLIC gsl check subunit pthread) + target_link_libraries(pgm_tests PUBLIC gsl check subunit pthread gomp) target_include_directories(pgm_tests PRIVATE include external/PGM-index/include) + target_compile_options(pgm_tests PUBLIC -fopenmp) endif() # Benchmark build instructions -- cgit v1.2.3