-
Notifications
You must be signed in to change notification settings - Fork 152
Expand file tree
/
Copy pathadios_common.cmake
More file actions
70 lines (61 loc) · 2.49 KB
/
Copy pathadios_common.cmake
File metadata and controls
70 lines (61 loc) · 2.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# SPDX-FileCopyrightText: 2026 Oak Ridge National Laboratory and Contributors
#
# SPDX-License-Identifier: Apache-2.0
# dashboard_do_checkout = True to enable source checkout via git
# dashboard_do_update = True to enable source update
# dashboard_do_configure = True to enable the Configure step
# dashboard_do_build = True to enable the Build step
# dashboard_do_test = True to enable the Test step
# dashboard_do_coverage = True to enable coverage (ex: gcov)
# dashboard_do_memcheck = True to enable memcheck (ex: valgrind)
# CTEST_GIT_COMMAND = path to git command-line client
# CTEST_BUILD_FLAGS = build tool arguments (ex: -j2)
# CTEST_DASHBOARD_ROOT = Where to put source and build trees
# CTEST_TEST_CTEST = Whether to run long CTestTest* tests
# CTEST_TEST_TIMEOUT = Per-test timeout length
# CTEST_TEST_ARGS = ctest_test args (ex: PARALLEL_LEVEL 4)
# CMAKE_MAKE_PROGRAM = Path to "make" tool to use
#
# Options to configure Git:
# dashboard_git_url = Custom git clone url
# dashboard_git_branch = Custom remote branch to track
# dashboard_git_crlf = Value of core.autocrlf for repository
#
# For Makefile generators the script may be executed from an
# environment already configured to use the desired compilers.
# Alternatively the environment may be set at the top of the script:
#
# set(ENV{CC} /path/to/cc) # C compiler
# set(ENV{CXX} /path/to/cxx) # C++ compiler
# set(ENV{FC} /path/to/fc) # Fortran compiler (optional)
# set(ENV{LD_LIBRARY_PATH} /path/to/vendor/lib) # (if necessary)
set(CTEST_PROJECT_NAME "ADIOS2")
set(CTEST_DROP_SITE "open.cdash.org")
if(NOT dashboard_git_url)
set(dashboard_git_url "https://github.com/ornladios/ADIOS2.git")
endif()
if(NOT DEFINED CTEST_TEST_TIMEOUT)
set(CTEST_TEST_TIMEOUT 120)
endif()
if(NOT DEFINED CTEST_SUBMIT_NOTES)
set(CTEST_SUBMIT_NOTES TRUE)
endif()
if(NOT dashboard_root_name)
set(dashboard_root_name "Builds/My Tests")
endif()
if(NOT dashboard_source_name)
set(dashboard_source_name "ADIOS2")
endif()
if(NOT dashboard_model)
set(dashboard_model Experimental)
endif()
if(NOT DEFINED ADIOS_TEST_REPEAT)
set(ADIOS_TEST_REPEAT 0)
endif()
if((CMAKE_VERSION VERSION_GREATER 3.16.20191201 ) AND
(ADIOS_TEST_REPEAT GREATER 0) AND
NOT "REPEAT" IN_LIST CTEST_TEST_ARGS)
list(APPEND CTEST_TEST_ARGS REPEAT "UNTIL_PASS:${ADIOS_TEST_REPEAT}")
endif()
list(APPEND CTEST_UPDATE_NOTES_FILES "${CMAKE_CURRENT_LIST_FILE}")
include(${CMAKE_CURRENT_LIST_DIR}/common.cmake)