From e44e2f433832852266b1f62dd5a48365d8b91d67 Mon Sep 17 00:00:00 2001 From: AuroraPerego Date: Sun, 17 Nov 2024 13:55:14 +0100 Subject: [PATCH] -frelaxed-template-template-args is deprecated with oneAPI 2025.0 --- cmake/alpakaCommon.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmake/alpakaCommon.cmake b/cmake/alpakaCommon.cmake index e8ded6d46df..02cdc071de1 100644 --- a/cmake/alpakaCommon.cmake +++ b/cmake/alpakaCommon.cmake @@ -199,7 +199,7 @@ else() # https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#150 # for example, is required to create alpaka::EnabledAccTags # the feature is implemented since Clang 4 - alpaka_set_compiler_options(HOST_DEVICE target alpaka "$<$>:SHELL:-frelaxed-template-template-args>") + alpaka_set_compiler_options(HOST_DEVICE target alpaka "$<$>:SHELL:-frelaxed-template-template-args>") # Add debug optimization levels. CMake doesn't do this by default. # Note that -Og is the recommended gcc optimization level for debug mode but is equivalent to -O1 for clang (and its derivates). @@ -672,7 +672,6 @@ if(alpaka_ACC_SYCL_ENABLE) alpaka_set_compiler_options(HOST_DEVICE target alpaka "-fsycl") target_link_options(alpaka INTERFACE "-fsycl") alpaka_set_compiler_options(HOST_DEVICE target alpaka "-sycl-std=2020") - alpaka_set_compiler_options(HOST_DEVICE target alpaka "-frelaxed-template-template-args") #----------------------------------------------------------------------------------------------------------------- # Determine SYCL targets