diff options
| author | Douglas B. Rumbaugh <doug@douglasrumbaugh.com> | 2023-06-09 11:01:55 -0400 |
|---|---|---|
| committer | Douglas B. Rumbaugh <doug@douglasrumbaugh.com> | 2023-06-09 11:01:55 -0400 |
| commit | cd7f2c7bee1c44e9e11ab75d6674ba5d05c6ba84 (patch) | |
| tree | 2191561d499bc89b83af9eb348b5daab62aa76f2 /CMakeLists.txt | |
| parent | 311585fda77de9e41c7b44a9b75b227163e89e5e (diff) | |
| download | dynamic-extension-cd7f2c7bee1c44e9e11ab75d6674ba5d05c6ba84.tar.gz | |
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.
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
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 |