summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwspear <wjspear@gmail.com>2021-05-18 19:08:14 -0700
committerGitHub <noreply@github.com>2021-05-19 02:08:14 +0000
commitb21a4f5c89b2cbd5268182ecef7dcbec95d52cbd (patch)
treeefb464809156816ff59e1d908dde3e9137c50c23
parent5bd42d1b31b3e6f3961e7ff808763384eca9a3ea (diff)
downloadspack-b21a4f5c89b2cbd5268182ecef7dcbec95d52cbd.tar.gz
spack-b21a4f5c89b2cbd5268182ecef7dcbec95d52cbd.tar.bz2
spack-b21a4f5c89b2cbd5268182ecef7dcbec95d52cbd.tar.xz
spack-b21a4f5c89b2cbd5268182ecef7dcbec95d52cbd.zip
TAU needs to specify pdt_c++ if built with intel. (#23775)
-rw-r--r--var/spack/repos/builtin/packages/tau/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/tau/package.py b/var/spack/repos/builtin/packages/tau/package.py
index 42a3218581..808d0837a3 100644
--- a/var/spack/repos/builtin/packages/tau/package.py
+++ b/var/spack/repos/builtin/packages/tau/package.py
@@ -179,6 +179,8 @@ class Tau(Package):
if '+pdt' in spec:
options.append("-pdt=%s" % spec['pdt'].prefix)
+ if spec['pdt'].satisfies("%intel"):
+ options.append("-pdt_c++=icpc")
if '+scorep' in spec:
options.append("-scorep=%s" % spec['scorep'].prefix)