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

MPI varient #31

Closed
wants to merge 9 commits into from
Closed
Changes from 7 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
5 changes: 4 additions & 1 deletion packages/thapi/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Thapi(AutotoolsPackage):
depends_on('autoconf', type=('build'))
depends_on('libtool', type=('build'))
depends_on('pkgconfig')
# 4.3+ for grouped target
# 4.3+ for grouped target
depends_on('[email protected]:', type=('build'))
depends_on('babeltrace2', type=('build', 'link', 'run'))
depends_on('[email protected]:', type=('build', 'link', 'run'))
Expand All @@ -45,6 +45,9 @@ class Thapi(AutotoolsPackage):
depends_on('python', type=('build'))

variant('strict', default=False, description='Enable -Werror during the build')
variant('mpi', default=False, description='Check if MPI can be used to generated Sync Daemon')
TApplencourt marked this conversation as resolved.
Show resolved Hide resolved
with when("+mpi"):
depends_on('mpi', type=('build','run'))
TApplencourt marked this conversation as resolved.
Show resolved Hide resolved
def configure_args(self):
args = []
args.extend(self.enable_or_disable('strict'))
Expand Down
Loading