Skip to content

Commit

Permalink
change the settings to skip benchmarks if dataset env is not set.
Browse files Browse the repository at this point in the history
  • Loading branch information
azimafroozeh committed Nov 25, 2024
1 parent 6b7f72c commit 81d8d43
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions benchmarks/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
if (NOT DEFINED ENV{ALP_DATASET_DIR_PATH})
message(WARNING "Set ALP_DATASET_DIR_PATH environment variable")
else ()
add_subdirectory(bench_speed)

endif ()

add_subdirectory(bench_speed)
add_executable(bench_alp_compression_ratio bench_compression_ratio.cpp)
target_link_libraries(bench_alp_compression_ratio PUBLIC ALP gtest_main)
gtest_discover_tests(bench_alp_compression_ratio)
endif ()


add_executable(bench_alp_compression_ratio bench_compression_ratio.cpp)
target_link_libraries(bench_alp_compression_ratio PUBLIC ALP gtest_main)
gtest_discover_tests(bench_alp_compression_ratio)



Expand Down

0 comments on commit 81d8d43

Please sign in to comment.