blob: b9c41288f9768ba81789330d21dc20b23c2c70fa (
plain)
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
|
- job:
name: tcwg-benchmark-christophe
project-type: matrix
defaults: global
properties:
- authorization:
linaro:
- job-read
- job-extended-read
- job-build
- job-cancel
- build-discarder:
days-to-keep: 30
num-to-keep: 100
parameters:
- string:
name: toolchain_url
default: ''
description: 'Toolchain URL'
- string:
name: bench_list
default: 'bzip2'
description: 'List of benchmarks to run (from spec2k6)'
- string:
name: cflags
default: ''
description: 'CFLAGS to use'
- string:
name: extension
default: 'O2g'
description: 'Compilation profile'
- choice:
name: testmode
choices:
- build
- verify
- benchmark
default: 'verify'
description: 'Whether to just build or run full benchmarks'
- string:
name: iterations
default: '1'
description: 'Number of benchmark iterations'
- string:
name: sysroot
default: 'tarball'
description: 'Rsync-friendly path to the sysroot to run against; use libs from toolchain_url tarball if "tarball"; use system libs if empty'
- string:
name: fileserver
default: dev-01.tcwglab
description: 'File Server for results'
- bool:
name: forceinstall
default: 'false'
description: 'Force clean re-install of benchmark sources'
- choice:
name: run_profile
choices:
- parallel3x3
- parallel3x1
- serial
default: 'parallel3x3'
description: 'Benchmark profile to use: parallel3x3 runs on 3 boards and 3 CPUs in parallel; parallel3x1 runs on 3 boards on 1 CPU in parallel; serial runs on a single board on 1 CPU.'
- string:
name: target_list
default: 'tx1'
description: 'List of targets -- tk1 tx1'
- string:
name: scripts_branch
default: master
description: 'Jenkins-scripts branch to use'
- string:
name: bmk_branch
default: master
description: 'Bmk-scripts branch to use'
disabled: false
node: tcwg-coordinator
child-workspace: $label
concurrent: true
display-name: 'TCWG ZZZ Benchmark Christophe'
scm:
- git:
url: https://git-us.linaro.org/toolchain/jenkins-scripts.git
refspec: +refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/changes/*
branches:
- ${scripts_branch}
skip-tag: true
shallow-clone: true
wipe-workspace: false
clean:
before: true
- git:
url: https://git-us.linaro.org/toolchain/bmk-scripts.git
refspec: +refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/changes/*
branches:
- ${bmk_branch}
basedir: bmk-scripts
skip-tag: true
shallow-clone: true
wipe-workspace: false
clean:
before: true
axes:
- axis:
type: slave
name: label
values:
- tcwg-bmk-tk1-06
- tcwg-bmk-tk1-07
- tcwg-bmk-tk1-08
- tcwg-bmk-tx1-06
- tcwg-bmk-tx1-07
- tcwg-bmk-tx1-08
- axis:
type: dynamic
name: target
values:
- target_list
execution-strategy:
combination-filter: |
(target=="tk1" && label==~/tcwg-bmk-tk1-.*/) || (target=="tx1" && label==~/tcwg-bmk-tx1-.*/)
sequential: false
wrappers:
- timeout:
timeout: 600
- timestamps
- ssh-agent-credentials:
users:
- 'tcwg-benchmark'
builders:
- shell: |
#!/bin/bash
set -ex
exec ./tcwg-benchmark.sh --toolchain_url "$toolchain_url" --bench_list "$bench_list" --cflags "$cflags" --extension "$extension" --testmode "$testmode" --iterations "$iterations" --sysroot "$sysroot" --fileserver "$fileserver" --forceinstall "$forceinstall" --run_profile "$run_profile" --label "$label" --build_number "$BUILD_NUMBER" --node_name "$NODE_NAME" --workspace "$WORKSPACE"
|