Extrae: add support for Intel OneAPI (#30684)

This commit is contained in:
Tom Vander Aa 2022-05-16 17:02:00 +02:00 committed by GitHub
parent edb91f4077
commit 4b60a17174
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,7 +83,12 @@ class Extrae(AutotoolsPackage):
def configure_args(self):
spec = self.spec
args = ["--with-mpi=%s" % spec['mpi'].prefix,
if '^intel-oneapi-mpi' in spec:
mpiroot = spec['mpi'].component_path
else:
mpiroot = spec['mpi'].prefix
args = ["--with-mpi=%s" % mpiroot,
"--with-unwind=%s" % spec['libunwind'].prefix,
"--with-boost=%s" % spec['boost'].prefix,
"--with-dwarf=%s" % spec['libdwarf'].prefix,