diff options
author | Diana Picus <diana.picus@linaro.org> | 2019-09-04 10:57:26 +0200 |
---|---|---|
committer | Diana Picus <diana.picus@linaro.org> | 2019-09-13 07:33:39 +0000 |
commit | a905835722c59613e0ec70384462895147beaa5b (patch) | |
tree | 028889a032ba37941bc0e988fac1aa1322b2ffcc /jenkins-helpers.sh | |
parent | 2f63352849c22f3b2616b41dc19659ee50d4c9ad (diff) |
Run benchmarks inside containers
This creates a new task ('bench') and starts a docker container to run
the benchmarks in. It uses the same image as the 'build' task.
Switching between aarch64 and aarch32 benchmarking breaks unless force
install is requested because we only keep one version of the spec tools
on the board. This will be fixed in a subsequent patch to bmk-scripts.
Change-Id: Ie98cdf47aa3ed456e6349bac40d88bd7acaa7acd
Diffstat (limited to 'jenkins-helpers.sh')
-rw-r--r-- | jenkins-helpers.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/jenkins-helpers.sh b/jenkins-helpers.sh index 038beb76..b53cbbd1 100644 --- a/jenkins-helpers.sh +++ b/jenkins-helpers.sh @@ -685,6 +685,9 @@ print_memory_limit () # 0.75GB per session memory=$(( 750 * $weight )) ;; + bench) + memory="unlimited" + ;; esac echo "$memory" ) @@ -723,6 +726,12 @@ print_bind_mounts () if [ x"${WORKSPACE+set}" = x"set" ]; then bind_mounts+=("$WORKSPACE") fi + ;; + bench) + bind_mounts=( + /home/tcwg-benchmark:rw + ) + ;; esac local key |