summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTom Vander Aa <vanderaa@imec.be>2022-05-16 17:02:00 +0200
committerGitHub <noreply@github.com>2022-05-16 09:02:00 -0600
commit4b60a171743fca1b938492b0954e674d1d5baffc (patch)
tree4a01a00d7a7924a9cd7dfc5853b56fbf2428a48e /var
parentedb91f407700dcd1c0f3382456a505e329fced74 (diff)
downloadspack-4b60a171743fca1b938492b0954e674d1d5baffc.tar.gz
spack-4b60a171743fca1b938492b0954e674d1d5baffc.tar.bz2
spack-4b60a171743fca1b938492b0954e674d1d5baffc.tar.xz
spack-4b60a171743fca1b938492b0954e674d1d5baffc.zip
Extrae: add support for Intel OneAPI (#30684)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/extrae/package.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/extrae/package.py b/var/spack/repos/builtin/packages/extrae/package.py
index cb7eb73ddf..0abf2cdb2b 100644
--- a/var/spack/repos/builtin/packages/extrae/package.py
+++ b/var/spack/repos/builtin/packages/extrae/package.py
@@ -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,