diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2016-07-06 09:07:10 +0100 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2016-07-06 09:07:10 +0100 |
commit | 34f07e48278b830f7ca274b8577712f26bfbb13c (patch) | |
tree | b79eef9d3d6df80cc1da8eed48e75146a5773617 /jenkins.sh | |
parent | bac7ed3a153c11e17a9a57e44761c2471fe40ca9 (diff) |
jenkins.sh: Deploy custom QEMU only when running on x86_64
... otherwise aarch64 and armhf hosts try to execute x86_64-hosted
qemu-* binaries.
Change-Id: I1e7399c05aa409ad9fa35dcab47d13c325403ed5
Diffstat (limited to 'jenkins.sh')
-rwxr-xr-x | jenkins.sh | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -305,12 +305,14 @@ fi # Download QEMU provided by Peter Maydell. # The tarball has README with version information. -wget http://people.linaro.org/~maxim.kuvyrkov/qemu-20160704.tgz -tar xf qemu-20160704.tgz -export PATH="`pwd`/qemu-wip:$PATH" -for i in aarch64 arm armeb; do - qemu-$i --version -done +if [ x"$(uname -m)" = x"x86_64" ]; then + wget http://people.linaro.org/~maxim.kuvyrkov/qemu-20160704.tgz + tar xf qemu-20160704.tgz + export PATH="`pwd`/qemu-wip:$PATH" + for i in aarch64 arm armeb; do + qemu-$i --version + done +fi # Print some information about the build machine echo Running on `hostname` |