Skip to content

Commit

Permalink
#1098: Add option to use ci_build flag in code
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobDomagala authored and Braden Mailloux committed Oct 15, 2020
1 parent 4d88f11 commit 5c9ae1b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/define_build_types.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@ else()
set(vt_feature_cmake_zoltan "0")
endif()

message(STATUS "CI_BUILD = ${vt_ci_build}")
set(vt_feature_cmake_ci_build ${vt_ci_build})

set(vt_feature_cmake_no_feature "0")
set(vt_feature_cmake_production "0")

Expand Down
1 change: 1 addition & 0 deletions cmake_config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
#define vt_feature_cmake_mimalloc @vt_feature_cmake_mimalloc@
#define vt_feature_cmake_mpi_access_guards @vt_feature_cmake_mpi_access_guards@
#define vt_feature_cmake_zoltan @vt_feature_cmake_zoltan@
#define vt_feature_cmake_ci_build @vt_feature_cmake_ci_build@

#cmakedefine vt_quirked_trivially_copyable_on_msg
#cmakedefine vt_quirked_serialize_method_detection
Expand Down
1 change: 1 addition & 0 deletions src/vt/configs/features/features_defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,6 @@
#define vt_feature_mimalloc 0 || vt_feature_cmake_mimalloc
#define vt_feature_mpi_access_guards 0 || vt_feature_cmake_mpi_access_guards
#define vt_feature_zoltan 0 || vt_feature_cmake_zoltan
#define vt_feature_ci_build 0 || vt_feature_cmake_ci_build

#endif /*INCLUDED_VT_CONFIGS_FEATURES_FEATURES_DEFINES_H*/

0 comments on commit 5c9ae1b

Please sign in to comment.