From e9b91c9964b3727e3ed16c88334c9bae5e2deb13 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Fri, 24 May 2024 17:13:56 -0400 Subject: [PATCH] fix clang 14 on OSX compilation with Trilinos 14 fix --- deal.II-toolchain/platforms/supported/macos.platform | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deal.II-toolchain/platforms/supported/macos.platform b/deal.II-toolchain/platforms/supported/macos.platform index bbf12c5..888f600 100644 --- a/deal.II-toolchain/platforms/supported/macos.platform +++ b/deal.II-toolchain/platforms/supported/macos.platform @@ -54,4 +54,7 @@ if [ "$(machine)" = "arm64e" ]; then # disable this for now. TRILINOS_WITH_SEACAS=OFF + # Trilinos defaults to c++17 while deal.II 9.5 defaults to c++14 with clang 14, + # which then fails to compile when including Kokkos coming from Trilinos: + DEAL_II_CONFOPTS="-DCMAKE_CXX_STANDARD=17 ${DEAL_II_CONFOPTS}" fi -- 2.39.5