Skip to content

Commit

Permalink
Merge pull request #679 from JaimeCernuda/master
Browse files Browse the repository at this point in the history
Allow disabling Python and Adios on the hermes compilation through spack
  • Loading branch information
lukemartinlogan authored Feb 20, 2024
2 parents a2a5941 + 7540625 commit accec29
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
5 changes: 5 additions & 0 deletions ci/hermes/packages/hermes/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit accec29

Please sign in to comment.