Skip to content
Draft
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
6 changes: 5 additions & 1 deletion packages/thapi/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

from spack.package import *
import spack.version
import sys

class Thapi(AutotoolsPackage):
"""A tracing infrastructure for heterogeneous computing applications."""
Expand Down Expand Up @@ -60,7 +61,10 @@ class Thapi(AutotoolsPackage):
depends_on('[email protected]:', type=('build'), when='@0.0.12:')

depends_on('libiberty+pic')
depends_on('libffi')
if sys.platform == "darwin":
depends_on('[email protected]:')
else:
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
Expand Down
Loading