forked from trilinos/Trilinos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project-checkin-test-config.py
executable file
·58 lines (48 loc) · 2.38 KB
/
project-checkin-test-config.py
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
# This file allows project-level configuration of the checkin-test system to
# set project options that are required for all developers. Machine or package
# specific options should not be placed in this file.
# This is a dictionary that specifies project-specific options for the
# checkin-test script that should be used by all developers. This
# includes default command line arguments that must be passed to
# checkin-test as well as settings for specific builds.
configuration = {
# The default command line arguments that should be used by all
# developers.
'defaults': {
'--send-email-to-on-push': '[email protected]',
},
# CMake options for various build configurations. All entries in
# this dictionary should be Python lists of -D arguments to cmake.
'cmake': {
# Default options that are common to all builds.
'common': [
# Shared libs safes a ton of disk space and catches more errors
# than static builds.
'-DBUILD_SHARED_LIBS=ON',
# For graceful disables, we want to turn this on.
'-DTrilinos_DISABLE_ENABLED_FORWARD_DEP_PACKAGES=ON',
# We want to see tracing of added tests to help in debugging
# problems.
'-DTrilinos_TRACE_ADD_TEST=ON',
],
# Setup for the builds that should be run by default for a
# standard checkin. This is a list of tuples so a preference
# for build order can be expressed (e.g. if a project's
# developers prefer one case to fail earlier than another).
'default-builds': [
('MPI_RELEASE_DEBUG_SHARED_PT', [
'-DTrilinos_CONFIGURE_OPTIONS_FILE:STRING=cmake/std/MpiReleaseDebugSharedPtSettings.cmake,cmake/std/BasicCiTestingSettings.cmake',
]),
## Options for the SERIAL_RELEASE build.
#('SERIAL_RELEASE_SHARED', [
# '-DTPL_ENABLE_MPI:BOOL=OFF',
# '-DCMAKE_BUILD_TYPE:STRING=RELEASE',
# '-DTrilinos_ENABLE_DEBUG:BOOL=OFF',
# '-DBUILD_SHARED_LIBS=ON',
# '-DTrilinos_ENABLE_EXPLICIT_INSTANTIATION:BOOL=OFF',
# ]),
# ToDo: Should we define serial builds to allow developers to run
# them if they want?
], # default-builds
}, # cmake
} # configuration