Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
amdis
amdis-core
Commits
a4b15008
Commit
a4b15008
authored
Jul 31, 2020
by
Praetorius, Simon
Browse files
no var-tracking-assignments
parent
7489f1fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/CMakeLists.txt
View file @
a4b15008
# 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
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment