use static-qemu linux-x86_64 tarball

- no longer install qemu via apt-get
- wget hosted tarball, extract and prepend to path
master
Michael Dusan 2020-04-01 22:47:22 -04:00 committed by Andrew Kelley
parent f6d384450f
commit deef063bbf
1 changed files with 5 additions and 1 deletions

View File

@ -12,7 +12,11 @@ sudo apt-get update -q
sudo apt-get remove -y llvm-*
sudo rm -rf /usr/local/*
sudo apt-get install -y libxml2-dev libclang-10-dev llvm-10 llvm-10-dev liblld-10-dev cmake s3cmd gcc-7 g++-7 qemu
sudo apt-get install -y libxml2-dev libclang-10-dev llvm-10 llvm-10-dev liblld-10-dev cmake s3cmd gcc-7 g++-7
wget https://ziglang.org/deps/qemu-5.0.0-rc1-x86_64-alpinelinux.tar.xz
tar xf qemu-5.0.0-rc1-x86_64-alpinelinux.tar.xz
PATH=$PWD/qemu-5.0.0-rc1/bin:$PATH
# Make the `zig version` number consistent.
# This will affect the cmake command below.