Skip to content

Commit

Permalink
#2174: cmake: add generated feature
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Aug 9, 2023
1 parent cf65f48 commit e549b02
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cmake/configure_options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,14 @@ else()
set(vt_feature_cmake_mimalloc "0")
endif()

if (TV_LIBRARY)
message(STATUS "vt-tv found and enabled")
set(vt_feature_cmake_tv "1")
else()
message(STATUS "vt-tv not found")
set(vt_feature_cmake_tv "0")
endif()

option(vt_mpi_guards "Build VT with poison MPI calls: code invoked from VT callbacks cannot invoke MPI functions" ON)

if ((vt_mpi_guards OR vt_trace_only) AND PERL_FOUND)
Expand Down
1 change: 1 addition & 0 deletions cmake_config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
#define vt_feature_cmake_production_build @vt_feature_cmake_production_build@
#define vt_feature_cmake_debug_verbose @vt_feature_cmake_debug_verbose@
#define vt_feature_cmake_rdma_tests @vt_feature_cmake_rdma_tests@
#define vt_feature_cmake_tv @vt_feature_cmake_tv@


#define vt_detected_max_num_nodes @cmake_detected_max_num_nodes@
Expand Down

0 comments on commit e549b02

Please sign in to comment.