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

Add mpi variant #37

Merged
merged 2 commits into from
Aug 29, 2024
Merged
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
7 changes: 5 additions & 2 deletions packages/thapi/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,15 @@ class Thapi(AutotoolsPackage):

depends_on('libiberty+pic')
depends_on('libffi')
depends_on('mpi', when='+mpi')
# We add a Python dependency at buildtime, because `lttng-gen-tp` needs it.
# We don't add Python as a runtime dependency of lttng to avoid python propagated as a runtime dependency of thapi
depends_on('python', type=('build'))

variant('strict', default=False, description='Enable -Werror during the build')
variant('strict', default=False, description='Enable -Werror during the build')
variant('mpi', default=False, description='Enable MPI support for the Sync Daemon')
def configure_args(self):
args = []
args = []
args.extend(self.enable_or_disable('mpi'))
args.extend(self.enable_or_disable('strict'))
return args
Loading