diff --git a/CMakeLists.txt b/CMakeLists.txt index 93d9c822c..6bbfc5ce0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,8 +24,8 @@ option(HERMES_ENABLE_MPIIO_ADAPTER "Build the Hermes MPI-IO adapter." OFF) option(HERMES_ENABLE_VFD "Build the Hermes HDF5 Virtual File Driver" OFF) option(HERMES_ENABLE_PUBSUB_ADAPTER "Build the Hermes pub/sub adapter." OFF) option(HERMES_ENABLE_KVSTORE "Build the Hermes KVStore adapter." OFF) -option(HERMES_ENABLE_PYTHON "Build the Hermes Python wrapper" ON) -option(HERMES_ENABLE_ADIOS "Build the Hermes Python wrapper" ON) +option(HERMES_ENABLE_PYTHON "Build the Hermes Python wrapper" OFF) +option(HERMES_ENABLE_ADIOS "Build the Hermes Python wrapper" OFF) option(HERMES_MPICH "Specify that this a MPICH build" OFF) option(HERMES_OPENMPI "Specify that this a OpenMPI build" OFF) diff --git a/ci/hermes/packages/hermes/package.py b/ci/hermes/packages/hermes/package.py index 4b8ceda3b..631a1f5df 100644 --- a/ci/hermes/packages/hermes/package.py +++ b/ci/hermes/packages/hermes/package.py @@ -38,6 +38,7 @@ class Hermes(CMakePackage): variant('ares', default=False, description='Enable full libfabric install') variant('zmq', default=False, description='Build ZeroMQ tests') variant('adios', default=False, description='Build Adios tests') + variant('python', default=False, description='Build Python Wrapper') variant('encrypt', default=False, description='Build Adios tests') variant('compress', default=False, description='Build Adios tests') @@ -73,6 +74,10 @@ def cmake_args(self): args.append(self.define('HERMES_ENABLE_COMPRESSION', 'ON')) if '+encrypt' in self.spec: args.append(self.define('HERMES_ENABLE_ENCRYPTION', 'ON')) + if '+adios' in self.spec: + args.append(self.define('HERMES_ENABLE_ADIOS', 'ON')) + if '+python' in self.spec: + args.append(self.define('HERMES_ENABLE_PYTHON', 'ON')) return args def set_include(self, env, path):