1# -*- mode: ruby -*- 2# vi: set ft=ruby : 3 4# A vagrant config for testing against gcc-4.8. 5Vagrant.configure("2") do |config| 6 config.vm.box = "ubuntu/xenial64" 7 config.disksize.size = '15GB' 8 9 config.vm.provider "virtualbox" do |vb| 10 vb.memory = "4096" 11 end 12 13 config.vm.provision "shell", inline: <<-SHELL 14 apt-get update 15 apt-get install -y g++ make wget git 16 wget -q https://github.com/Kitware/CMake/releases/download/v3.14.4/cmake-3.14.4-Linux-x86_64.tar.gz 17 tar xzf cmake-3.14.4-Linux-x86_64.tar.gz 18 ln -s `pwd`/cmake-3.14.4-Linux-x86_64/bin/cmake /usr/local/bin 19 SHELL 20end 21