From a71887070f17b34f45539091f4d4ca63ad42c7e2 Mon Sep 17 00:00:00 2001 From: Pedro Miguel Casaleiro Dias Date: Wed, 8 Jul 2015 12:30:34 +0100 Subject: [PATCH] Rework on VagrantFile: - Setup for ubuntu_x64. - Clone and Compile of Llvm. - Separate settings file to configure vm locations (min recomended memory 8gb). Removed old Vagrantfile no longer relevant. --- build/ci/Vagrantfile | 52 -------- build/ci/vagrant/ubuntu_x64/Vagrantfile | 132 +++++++++++++++++++++ build/ci/vagrant/ubuntu_x64/vmsettings.cfg | 7 ++ 3 files changed, 139 insertions(+), 52 deletions(-) delete mode 100644 build/ci/Vagrantfile create mode 100644 build/ci/vagrant/ubuntu_x64/Vagrantfile create mode 100644 build/ci/vagrant/ubuntu_x64/vmsettings.cfg diff --git a/build/ci/Vagrantfile b/build/ci/Vagrantfile deleted file mode 100644 index d34a69c2..00000000 --- a/build/ci/Vagrantfile +++ /dev/null @@ -1,52 +0,0 @@ -# -*- mode: ruby -*- -# vi: set ft=ruby : - -# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! -VAGRANTFILE_API_VERSION = "2" - -Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| - config.vm.box = "http://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box" - - # Disable automatic box update checking. If you disable this, then - # boxes will only be checked for updates when the user runs - # `vagrant box outdated`. This is not recommended. - # config.vm.box_check_update = false - - # Create a public network, which generally matched to bridged network. - # Bridged networks make the machine appear as another physical device on - # your network. - config.vm.network "public_network", ip: "192.168.1.20" - - # If true, then any SSH connections made will enable agent forwarding. - # Default value: false - # config.ssh.forward_agent = true - - # 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" - - config.vm.provider :virtualbox do |vb| - vb.customize ["modifyvm", :id, "--memory", 4096] - vb.customize ["modifyvm", :id, "--cpus", 4] - end - -config.vm.provision "shell", inline: <