Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow disabling Python and Adios on the hermes compilation through spack #679

Merged
merged 1 commit into from
Feb 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading