aboutsummaryrefslogtreecommitdiffstats
path: root/Vagrantfile
diff options
context:
space:
mode:
authorDavid Thomas <m8pple@github.com>2017-01-23 10:56:54 +0000
committerDavid Thomas <m8pple@github.com>2017-01-26 10:57:25 +0000
commitb850a6b64115940a0e3df50b2aa923dd3e99b13e (patch)
tree2b394c18824ed89cc305d719d2c771f155615ba8 /Vagrantfile
downloadCompiler-b850a6b64115940a0e3df50b2aa923dd3e99b13e.tar.gz
Compiler-b850a6b64115940a0e3df50b2aa923dd3e99b13e.zip
Initial transfer
Diffstat (limited to 'Vagrantfile')
-rw-r--r--Vagrantfile55
1 files changed, 55 insertions, 0 deletions
diff --git a/Vagrantfile b/Vagrantfile
new file mode 100644
index 0000000..1f53d5d
--- /dev/null
+++ b/Vagrantfile
@@ -0,0 +1,55 @@
+# -*- mode: ruby -*-
+# vi: set ft=ruby :
+
+# All Vagrant configuration is done below. The "2" in Vagrant.configure
+# configures the configuration version (we support older styles for
+# backwards compatibility). Please don't change it unless you know what
+# you're doing.
+Vagrant.configure(2) do |config|
+ # The most common configuration options are documented and commented below.
+ # For a complete reference, please see the online documentation at
+ # https://docs.vagrantup.com.
+
+ # Every Vagrant development environment requires a box. You can search for
+ # boxes at https://atlas.hashicorp.com/search.
+ config.vm.box = "ubuntu/xenial64"
+
+ # Share an additional folder to the guest VM. The first argument is
+ # the path on the host to the actual folder. The second argument is
+ # the path on the guest to mount the folder. And the optional third
+ # argument is a set of non-required options.
+ # config.vm.synced_folder "../data", "/vagrant_data"
+
+ # Provider-specific configuration so you can fine-tune various
+ # backing providers for Vagrant. These expose provider-specific options.
+ # Example for VirtualBox:
+ #
+ # config.vm.provider "virtualbox" do |vb|
+ # # Display the VirtualBox GUI when booting the machine
+ # vb.gui = true
+ #
+ # # Customize the amount of memory on the VM:
+ # vb.memory = "1024"
+ # end
+
+
+ # Enable provisioning with a shell script. Additional provisioners such as
+ # Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
+ # documentation for more information about their specific syntax and use.
+ config.vm.provision "shell", inline: <<-SHELL
+ sudo apt-get update
+
+ # Standard build tools
+ sudo apt-get -y install g++ gdb make dos2unix git
+
+ # Compiler build tools
+ sudo apt-get -y install bison flex
+
+ # MIPS cross-compiler stuff
+ sudo apt-get -y install g++-mips-linux-gnu gdb-multiarch
+
+ # QEMU run-time emulator
+ sudo apt-get -y install qemu
+
+ SHELL
+end