Skip to content

Commit

Permalink
CI: Use QEMU 9.2.2 from ring-toolchain.
Browse files Browse the repository at this point in the history
  • Loading branch information
briansmith committed Mar 8, 2025
1 parent 52b239c commit 2a3ed40
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mk/cargo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ qemu_riscv64="qemu-riscv64 -L /usr/riscv64-linux-gnu"
qemu_s390x="qemu-s390x -L /usr/s390x-linux-gnu"
qemu_sparc64="qemu-sparc64 -L /usr/sparc64-linux-gnu"
qemu_x86="qemu-i386"
qemu_x86_64="qemu-x86_64"
qemu_x86_64="target/tools/linux-x86_64/qemu/bin/qemu-x86_64"

# Avoid putting the Android tools in `$PATH` because there are tools in this
# directory like `clang` that would conflict with the same-named tools that may
Expand Down
6 changes: 5 additions & 1 deletion mk/install-build-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,11 @@ wasm32-wasi|wasm32-wasip1|wasm32-wasip2)
;;
x86_64-unknown-linux-gnu)
if [ -n "${RING_CPU_MODEL-}" ]; then
install_packages qemu-user
git clone \
--branch linux-x86_64 \
--depth 1 \
https://github.com/briansmith/ring-toolchain \
target/tools/linux-x86_64
fi
;;
*)
Expand Down

0 comments on commit 2a3ed40

Please sign in to comment.