aboutsummaryrefslogtreecommitdiff
path: root/files/riscv_script/run_qemu.sh
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-05-03 23:40:04 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-05-03 23:40:04 +0000
commitc1068d3eb9464eb1e6028869524930c57feb716b (patch)
tree7aa355fd0b89ec0b2611e17ee84a14c6fa449e22 /files/riscv_script/run_qemu.sh
parentad14b7e1bb4ad1db3cc083b70c9179f86b2e2052 (diff)
parenta270e88f71c875f86ebc612ff3232b204bbc75c9 (diff)
downloadlibyuv-androidx-glance-release.tar.gz
Merge "Snap for 11801295 from 488a2af021e3e7473f083a9435b1472c0d411f3d to androidx-glance-release" into androidx-glance-releaseandroidx-glance-release
Diffstat (limited to 'files/riscv_script/run_qemu.sh')
-rwxr-xr-xfiles/riscv_script/run_qemu.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/files/riscv_script/run_qemu.sh b/files/riscv_script/run_qemu.sh
deleted file mode 100755
index 080af3b1..00000000
--- a/files/riscv_script/run_qemu.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/bash
-set -x
-set -e
-
-USE_RVV="${USE_RVV:-OFF}"
-TOOLCHAIN_PATH="${TOOLCHAIN_PATH:-../../build-toolchain-qemu/riscv-clang}"
-QEMU_PREFIX_PATH="${QEMU_PREFIX_PATH:-../../build-toolchain-qemu/riscv-qemu/}"
-
-if [ "${USE_RVV}" = "ON" ];then
- QEMU_OPTION="-cpu rv64,zba=true,zbb=true,zbc=true,zbs=true,v=true,vlen=512,elen=64,vext_spec=v1.0 -L ${TOOLCHAIN_PATH}/sysroot"
-else
- QEMU_OPTION="-cpu rv64,zba=true,zbb=true,zbc=true,zbs=true -L ${TOOLCHAIN_PATH}/sysroot"
-fi
-
-$QEMU_PREFIX_PATH/bin/qemu-riscv64 $QEMU_OPTION $@