Skip to content
Snippets Groups Projects
Commit 5a7b6ca4 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Change Kokkos namespace to InlineKokkos at compile time

This crappy change is done to avoid potential conflicts with third
party libraries that may use another version of Kokkos (e.g. new
versions of packaged PETSc embeds Trilinos which comes with its own
Kokkos)
parent 35d82754
No related branches found
No related tags found
1 merge request!134Change Kokkos namespace to InlineKokkos at compile time
......@@ -86,6 +86,10 @@ endif()
set(GNU_CXX_MIN_VERSION "9.0.0")
set(CLANG_CXX_MIN_VERSION "10.0.0")
#------------------------------------------------------
# Change Kokkos namespace to avoid conflicts
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DKokkos=InlineKokkos")
#------------------------------------------------------
# Pugs default compiler flags
set(PUGS_CXX_FLAGS "${PUGS_CXX_FLAGS} -Wall -Wextra -pedantic")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment