summaryrefslogtreecommitdiff
path: root/Vagrantfile
diff options
context:
space:
mode:
authorDawsyn Schraiber <[email protected]>2023-11-12 01:06:57 -0500
committerGitHub <[email protected]>2023-11-12 01:06:57 -0500
commitd695dce1a7ea28433db8e893025d1ec66fb077b2 (patch)
tree4089cbc79e9a50b0775ab33e002de03a6f23e77d /Vagrantfile
parent1b8af4198f7f18ccbfb336709f20a88e26e2b195 (diff)
downloadactive-drag-system-d695dce1a7ea28433db8e893025d1ec66fb077b2.tar.gz
active-drag-system-d695dce1a7ea28433db8e893025d1ec66fb077b2.tar.bz2
active-drag-system-d695dce1a7ea28433db8e893025d1ec66fb077b2.zip
Header styles and file naming conventions; CMake ARM Linux musl Compiler
Co-authored-by: Gregory Wainer <[email protected]>
Diffstat (limited to 'Vagrantfile')
-rw-r--r--Vagrantfile31
1 files changed, 31 insertions, 0 deletions
diff --git a/Vagrantfile b/Vagrantfile
new file mode 100644
index 0000000..7f542e1
--- /dev/null
+++ b/Vagrantfile
@@ -0,0 +1,31 @@
+#-----------------------------------------------------------------------
+$bootstrap = <<BOOTSTRAP
+export DEBIAN_FRONTEND=noninteractive
+apt-get update && apt-get upgrade
+
+# install base development tools
+apt-get -y install build-essential
+apt-get -y install cmake valgrind
+apt-get -y install crossbuild-essential-armhf
+apt-get -y install libboost-all-dev
+apt-get -y install libasio-dev
+wget https://musl.cc/arm-linux-musleabihf-cross.tgz
+tar -xzvf arm-linux-musleabihf-cross.tgz
+echo 'export PATH="\$PATH:/home/vagrant/arm-linux-musleabihf-cross/bin"' >> .bashrc
+rm -r arm-linux-musleabihf-cross.tgz
+
+BOOTSTRAP
+#-----------------------------------------------------------------------
+
+
+# Configuration
+Vagrant.configure("2") do |config|
+ config.vm.box = "debian/bullseye64"
+ config.vm.box_version = "11.20230615.1"
+
+ # (default timeout is 300 s)
+ config.vm.boot_timeout = 600
+
+ # set up the VM
+ config.vm.provision "shell", inline: $bootstrap
+end