From 42441cddcc95081949e4c2ef86e57761b2f8c429 Mon Sep 17 00:00:00 2001 From: Paul Kuberry Date: Sun, 22 May 2022 07:26:33 -0600 Subject: Add Teuchos patch that fixes implicit casting of complex numbers (#30777) --- var/spack/repos/builtin/packages/trilinos/package.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/var/spack/repos/builtin/packages/trilinos/package.py b/var/spack/repos/builtin/packages/trilinos/package.py index f02d2d0806..47728acc02 100644 --- a/var/spack/repos/builtin/packages/trilinos/package.py +++ b/var/spack/repos/builtin/packages/trilinos/package.py @@ -389,6 +389,9 @@ class Trilinos(CMakePackage, CudaPackage, ROCmPackage): patch('fix_clang_errors_12_18_1.patch', when='@12.18.1%clang') patch('cray_secas_12_12_1.patch', when='@12.12.1%cce') patch('cray_secas.patch', when='@12.14.1:12%cce') + patch('https://patch-diff.githubusercontent.com/raw/trilinos/Trilinos/pull/10545.patch', + sha256='7f446d8bdcdc7ec29e1caeb0faf8d9fd85bd470fc52d3a955c144ab14bb16b90', + when='@:13.2.0 +complex') # workaround an NVCC bug with c++14 (https://github.com/trilinos/Trilinos/issues/6954) # avoid calling deprecated functions with CUDA-11 -- cgit v1.2.3-60-g2f50