summaryrefslogtreecommitdiff
path: root/tcwg-benchmark.sh
diff options
context:
space:
mode:
authorLaurent Alfonsi <laurent.alfonsi@linaro.org>2022-11-11 10:49:40 +0100
committerLaurent Alfonsi <laurent.alfonsi@linaro.org>2022-11-11 10:52:38 +0100
commite6f96807cc36f960c973b98d2f1187a6413f324d (patch)
tree1b5ef47287e3792beb32c3c560a2a28e62e17c1b /tcwg-benchmark.sh
parentaebd01b81f8e0fe992770aa17a6f3bed99fa700a (diff)
tcwg_bmk-build.sh,tcwg-benchmark.sh: limit nb of parallel build/run jobs
Change-Id: Id17017a028e2f2e0a68ba2ac1cefd2ddec679485
Diffstat (limited to 'tcwg-benchmark.sh')
-rwxr-xr-xtcwg-benchmark.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/tcwg-benchmark.sh b/tcwg-benchmark.sh
index 0bab60d5..6d36b3d9 100755
--- a/tcwg-benchmark.sh
+++ b/tcwg-benchmark.sh
@@ -412,10 +412,17 @@ case "$bench_list" in
build|verify) input_size="test" ;;
benchmark) input_size="ref" ;;
esac
+
+ #spec_config follows run_profile
+ case "$run_profile" in
+ serial) config="serial" ;;
+ parallel|parallel_*) config="parallel" ;;
+ esac
+
remote_exec "$run_container_host:$run_container_port::-t -Snone" \
bmk-scripts/run.sh \
--bench "$bench_list" \
- --config "$run_profile" \
+ --config "$config" \
--cflags "$cflags" \
--ldflags "$ldflags" \
--ccprefix "$ccprefix" \