Skip to content

Commit

Permalink
add mpi variant
Browse files Browse the repository at this point in the history
  • Loading branch information
TApplencourt authored Aug 28, 2024
1 parent 65fad86 commit f985a4c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/thapi/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,14 @@ 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')
def configure_args(self):
args = []
args = []
args.extend(self.enable_or_disable('mpi'))
args.extend(self.enable_or_disable('strict'))
return args

0 comments on commit f985a4c

Please sign in to comment.