summaryrefslogtreecommitdiff
path: root/tcwg-benchmark.sh
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2019-01-20 08:32:02 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2019-03-22 13:33:59 +0000
commit1c327bc84ac91ea8de468b4308bdf3042fe3276b (patch)
treeab08be0ff04864c2f0d645f41649e4afb4d3adaa /tcwg-benchmark.sh
parent995625b86aed94c76d2533b5c671baba99005952 (diff)
tcwg_bmk-build.sh: Main support for tcwg_bmk
This patch updates tcwg_bmk-build.sh from the original copy of tcwg_kernel-build.sh, and adds a couple minor changes to docker-run.sh and tcwg-benchmark-results.sh. tcwg-benchmark*: Switch results server to bkp-01.tcwglab tcwg_bmk-build.sh: Use ABE's sysroot and binutils for LLVM's build round-robin.sh: Build LLVMgold.so plugin in build_llvm() for LTO Change-Id: Ibde7a9d004c8b3328cdd36333c14574934b1eeab
Diffstat (limited to 'tcwg-benchmark.sh')
-rwxr-xr-xtcwg-benchmark.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/tcwg-benchmark.sh b/tcwg-benchmark.sh
index 6fa63c22..1791369b 100755
--- a/tcwg-benchmark.sh
+++ b/tcwg-benchmark.sh
@@ -217,8 +217,10 @@ boardname=$(echo "${NODE_NAME}" | sed 's/-bmk//').tcwglab
hw_type=$(print_hw_id_for_node "$NODE_NAME")
results_id=$(echo "$results_id" \
- | sed -e "s/<hw_type>/$hw_type/g" \
- -e "s/<build_num>/$BUILD_NUMBER/g")
+ | sed -e "s/<hw_type>/$hw_type/g" \
+ -e "s/@hw_type@/$hw_type/g" \
+ -e "s/<build_num>/$BUILD_NUMBER/g" \
+ -e "s/@build_num@/$BUILD_NUMBER/g")
if echo "$results_id" | grep -q "\.\."; then
echo "ERROR: results_id should not escape /home/tcwg-benchmark/results* hierarchy; do not use \"..\""
exit 1
@@ -252,7 +254,7 @@ ssh -t -Snone "$boardname" bmk-scripts/run.sh \
--run_profile "$run_profile" \
"${sysroot:+--sysroot "$sysroot"}" \
--toolchain "$toolchain_type" \
- --resultsdest "dev-01.tcwglab:/home/tcwg-benchmark/results-${results_id}/${NODE_NAME}" \
+ --resultsdest "bkp-01.tcwglab:/home/tcwg-benchmark/results-${results_id}/${NODE_NAME}" \
--nodename "${NODE_NAME}" \
--forceinstall "${forceinstall}" \
"${clean_older_than:+--clean_older_than "$clean_older_than"}" \