From: Advaith Menon Date: Wed, 14 Jan 2026 21:37:15 +0000 (+0530) Subject: Add useful tools X-Git-Url: https://git.devinivas.org/?a=commitdiff_plain;h=2ac176c749509a7937fbc67a292fc72a8ba41fe9;p=cs3210-lab0.git Add useful tools * Add script 'buildall' to perform cmake/make steps * Add script 'runxv6' to automatically chdir and run the right VM --- diff --git a/tools/buildall b/tools/buildall new file mode 100755 index 0000000..4af1d10 --- /dev/null +++ b/tools/buildall @@ -0,0 +1,6 @@ +#!/bin/sh +set -e +mkdir -p build +cd build +cmake .. -DCMAKE_BUILD_TYPE=Debug +make diff --git a/tools/runxv6 b/tools/runxv6 new file mode 100755 index 0000000..7ee03a5 --- /dev/null +++ b/tools/runxv6 @@ -0,0 +1,3 @@ +#!/bin/bash +cd build +./xv6-qemu "$@"