Vagrantfile 602 B

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