Skip to content

Commit

Permalink
Merge pull request #952 from JasonRuonanWang/dataman-cmake
Browse files Browse the repository at this point in the history
added option for turning DataMan off
  • Loading branch information
JasonRuonanWang committed Oct 26, 2018
2 parents 053a094 + c3c6df1 commit 7d70a48
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ adios_option(BZip2 "Enable support for BZip2 transforms" AUTO)
adios_option(ZFP "Enable support for ZFP transforms" AUTO)
adios_option(SZ "Enable support for SZ transforms" AUTO)
adios_option(MPI "Enable support for MPI" AUTO)
adios_option(DataMan "Enable support for DataMan" AUTO)
adios_option(SST "Enable support for SST" AUTO)
adios_option(ZeroMQ "Enable support for ZeroMQ" AUTO)
adios_option(HDF5 "Enable support for the HDF5 engine" AUTO)
Expand Down
6 changes: 5 additions & 1 deletion cmake/DetectOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,11 @@ endif()
# DataMan
# DataMan currently breaks the PGI compiler
if(NOT (CMAKE_CXX_COMPILER_ID STREQUAL "PGI") AND NOT MSVC)
set(ADIOS2_HAVE_DataMan TRUE)
if(ADIOS2_USE_DataMan STREQUAL AUTO)
set(ADIOS2_HAVE_DataMan TRUE)
elseif(ADIOS2_USE_DataMan)
set(ADIOS2_HAVE_DataMan TRUE)
endif()
endif()

# ZeroMQ
Expand Down

0 comments on commit 7d70a48

Please sign in to comment.