Commit fa0d7680 authored by Praetorius, Simon's avatar Praetorius, Simon

Merge branch 'issue/var-tracking-assignments' into 'master'

no var-tracking-assignments

See merge request !199
parents 7489f1fb a4b15008
Pipeline #4549 passed with stage
in 54 minutes and 58 seconds
# set(DUNE_MAX_TEST_CORES 4)
# additional compiler option for CMAKE_BUILD_TYPE=RelWithDebInfo only for gcc
set(NoVarTrackingAssignments $<$<AND:$<CONFIG:RelWithDebInfo>,$<CXX_COMPILER_ID:GNU>>:-fno-var-tracking-assignments>)
dune_add_test(SOURCES AdaptInfoTest.cpp
LINK_LIBRARIES amdis)
......@@ -13,6 +16,8 @@ foreach(_GRID RANGE 7)
LABELS "BackupRestore"
LINK_LIBRARIES amdis)
add_dune_alberta_flags(GRIDDIM 2 WORLDDIM 2 "BackupRestoreTest_${_GRID}")
target_compile_options(BackupRestoreTest_${_GRID} PRIVATE
${NoVarTrackingAssignments})
endforeach()
unset(_GRID)
......@@ -106,6 +111,8 @@ foreach(_GRID RANGE 6)
MPI_RANKS 2 3 4
TIMEOUT 300
CMAKE_GUARD MPI_FOUND)
target_compile_options(ParallelIndexSetTest_${_GRID} PRIVATE
${NoVarTrackingAssignments})
endforeach()
unset(_GRID)
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment