summaryrefslogtreecommitdiff
path: root/tcwg_bmk-build.sh
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2020-02-06 18:42:16 +0300
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2020-02-06 18:42:16 +0300
commitdf70980738fa15f562a7f20c78beb05f9c1f519f (patch)
tree0bc4c0086560b5c7adb7f7a05834e55473c1dc24 /tcwg_bmk-build.sh
parentb6bfd2508670e741316d2e0a236b4eaa5eae6afd (diff)
tcwg-benchmark.sh, tcwg_bmk-build.sh: Update after splitting tcwg-benchmark
... job into tcwg-benchmark-tk1 and tcwg-benchmark-tx1. Change-Id: Ieccafcaa47fa522cc00d6ffd69fcc3494eb5a120
Diffstat (limited to 'tcwg_bmk-build.sh')
-rwxr-xr-xtcwg_bmk-build.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/tcwg_bmk-build.sh b/tcwg_bmk-build.sh
index 2840f05d..29260069 100755
--- a/tcwg_bmk-build.sh
+++ b/tcwg_bmk-build.sh
@@ -173,17 +173,17 @@ benchmark ()
esac
sysroot="ssh://$ssh_host:$ssh_port:$sysroot"
- local hw results_id
+ local hw results_top image_arch results_id
case "${rr[target]}" in
- armv8*) hw=tx1_32 ;;
- arm*) hw=tk1_32 ;;
- aarch64*) hw=tx1_64 ;;
+ armv8*) hw=tx1; results_top=tx1_32; image_arch=armhf ;;
+ arm*) hw=tk1; results_top=tk1_32; image_arch=armhf ;;
+ aarch64*) hw=tx1; results_top=tx1_64; image_arch=arm64 ;;
*) echo "ERROR: Unknown target ${rr[target]}"; exit 1 ;;
esac
- local results_id="$hw/${rr[ci_project]}/${rr[mode]}-${rr[ci_config]}/@build_num@"
+ local results_id="$results_top/${rr[ci_project]}/${rr[mode]}-${rr[ci_config]}/@build_num@"
remote_exec "ci.linaro.org:2222::-l $USER@linaro.org" \
- build tcwg-benchmark -w \
+ build tcwg-benchmark-$hw -w \
-p bench_list="$bench_list" \
-p cflags="$bmk_flags" \
-p ldflags="$bmk_ldflags" \
@@ -196,7 +196,7 @@ benchmark ()
-p results_id="$results_id" \
-p reboot="$reboot" \
-p run_profile="$run_profile" \
- -p target_list="$hw" \
+ -p image_arch="$image_arch" \
${scripts_branch+-p scripts_branch="$scripts_branch"} \
${bmk_branch+-p bmk_branch="$bmk_branch"} \
| tee $run_step_artifacts/benchmark-start.log