[TAU] Add OpenACC support (#50279)

This commit is contained in:
jordialcaraz 2025-05-05 21:17:04 +02:00 committed by GitHub
parent 2a6a6602da
commit 38829b01df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -132,7 +132,7 @@ class Tau(Package):
default=False,
description="Do not add -no-pie while linking with Ubuntu.",
)
variant("openacc", default=False, description="Activates OpenACC support")
depends_on("c", type="build") # generated
depends_on("cxx", type="build") # generated
depends_on("fortran", type="build") # generated
@ -415,6 +415,9 @@ def install(self, spec, prefix):
if "+disable-no-pie" in spec:
options.append("-disable-no-pie-on-ubuntu")
if "+openacc" in spec:
options.append("-openacc")
if "+dyninst" in spec:
options.append("-dyninst=%s" % spec["dyninst"].prefix)
if "+tbb" not in spec: