From ac078f262ddfe53e931c19db34ecf5b370093d33 Mon Sep 17 00:00:00 2001 From: Piotr Sacharuk <107190444+PiotrSacharuk@users.noreply.github.com> Date: Fri, 7 Mar 2025 12:44:11 +0100 Subject: [PATCH] raja: Apply workarounds for oneAPI compiler for problem with build (#49290) --- var/spack/repos/builtin/packages/raja/package.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/var/spack/repos/builtin/packages/raja/package.py b/var/spack/repos/builtin/packages/raja/package.py index 717006f9584..d01019faea2 100644 --- a/var/spack/repos/builtin/packages/raja/package.py +++ b/var/spack/repos/builtin/packages/raja/package.py @@ -175,6 +175,13 @@ class Raja(CachedCMakePackage, CudaPackage, ROCmPackage): when="^hip@6.0", ) + # Fix compilation issue reported by Intel from their new compiler version + patch( + "https://github.com/LLNL/RAJA/pull/1668.patch?full_index=1", + sha256="c0548fc5220f24082fb2592d5b4e8b7c8c783b87906d5f0950d53953d25161f6", + when="@2024.02.1:2024.02.99 %oneapi@2025:", + ) + variant("openmp", default=False, description="Build OpenMP backend") variant("shared", default=False, description="Build shared libs") variant("desul", default=False, description="Build desul atomics backend")