summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuellynSnead <quellyn@lanl.gov>2023-01-11 06:47:35 -0700
committerGitHub <noreply@github.com>2023-01-11 05:47:35 -0800
commit71a609b2f44599a21d441695ca161d3c621aa358 (patch)
tree5011dbfaef1563f0ba89af6893600719689ac3ac
parent74595de359696395609d42d5a4bc4026290f1d07 (diff)
downloadspack-71a609b2f44599a21d441695ca161d3c621aa358.tar.gz
spack-71a609b2f44599a21d441695ca161d3c621aa358.tar.bz2
spack-71a609b2f44599a21d441695ca161d3c621aa358.tar.xz
spack-71a609b2f44599a21d441695ca161d3c621aa358.zip
trilinos: Limit application of "-fuse-ld=gold" for %cce builds (#34875)
-rw-r--r--var/spack/repos/builtin/packages/trilinos/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/trilinos/package.py b/var/spack/repos/builtin/packages/trilinos/package.py
index 9c727536da..1eb9db709e 100644
--- a/var/spack/repos/builtin/packages/trilinos/package.py
+++ b/var/spack/repos/builtin/packages/trilinos/package.py
@@ -468,7 +468,7 @@ class Trilinos(CMakePackage, CudaPackage, ROCmPackage):
if "+wrapper" in spec:
flags.append("--expt-extended-lambda")
elif name == "ldflags":
- if is_cce:
+ if spec.satisfies("%cce@:14"):
flags.append("-fuse-ld=gold")
if spec.satisfies("platform=linux ~cuda"):
# TriBITS explicitly links libraries against all transitive