diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2017-09-29 23:05:25 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2017-10-12 11:00:39 +0000 |
commit | 39c9112f5482b276a4c660698da48876bf46671e (patch) | |
tree | 19f4bc46ef2607a7fb942e2ef08b3dbba920104b /tcwg-benchmark.sh | |
parent | 1b191231991ae06c1892f2da6a8ce757eeffcdaf (diff) |
tcwg-benchmark.sh: Switch to xenial builder image
Primarily, to support building using LLVM binary releases, which
need Xenial libc.
Change-Id: I1e37d74a2b5dd90658569f75441b1de0d7b0050e
Diffstat (limited to 'tcwg-benchmark.sh')
-rwxr-xr-x | tcwg-benchmark.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tcwg-benchmark.sh b/tcwg-benchmark.sh index 8adb8c83..5b13e766 100755 --- a/tcwg-benchmark.sh +++ b/tcwg-benchmark.sh @@ -6,6 +6,7 @@ set -ex # Make shellcheck happy and workaround Jenkins not defining variables # for empty arguments. +build_container_tag="${build_container_tag:-xenial}" toolchain_url="$toolchain_url" bench_list="$bench_list" cflags="$cflags" @@ -37,7 +38,7 @@ fi # Make sure to cleanup build container if something goes # wrong when preparing the test environment trap "cleanup_all_containers" EXIT -./start-container-docker.sh $docker_host_opt --distro trusty --task build --prefix build_ > build-container.sh +./start-container-docker.sh $docker_host_opt --distro "$build_container_tag" --task build --prefix build_ > build-container.sh build_container_host= build_container_port= . ./build-container.sh |