File tree 1 file changed +39
-0
lines changed
1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ # -*- mode: ruby -*-
2
+ # vi: set ft=ruby :
3
+
4
+ # All Vagrant configuration is done below. The "2" in Vagrant.configure
5
+ # configures the configuration version (we support older styles for
6
+ # backwards compatibility). Please don't change it unless you know what
7
+ # you're doing.
8
+ Vagrant . configure ( 2 ) do |config |
9
+ # We use Ubunutu 16.04 as our standard development base.
10
+ config . vm . box = "bento/ubuntu-16.04"
11
+
12
+ # Sync the sources.
13
+ #config.vm.synced_folder ".", "/src/llbuild"
14
+
15
+ # Support parallel builds.
16
+ config . vm . provider "vmware_fusion" do |v |
17
+ v . vmx [ "memsize" ] = "2048"
18
+ v . vmx [ "numvcpus" ] = "4"
19
+ end
20
+ config . vm . provider "virtualbox" do |v |
21
+ v . memory = 2048
22
+ v . cpus = 4
23
+ end
24
+
25
+ # Disable syncing by default.
26
+ config . vm . synced_folder "." , "/vagrant" , disabled : true
27
+
28
+ # Provision build tools, source dependencies, and testing tools.
29
+ #
30
+ # Some llbuild developers are also known to be emacs users.
31
+ config . vm . provision "shell" , inline : <<-SHELL
32
+ sudo apt-get update
33
+ sudo apt-get install -y clang cmake ninja-build
34
+ sudo apt-get install -y libncurses-dev libsqlite3-dev
35
+ sudo apt-get install -y python-pip
36
+ sudo pip install lit
37
+ sudo apt-get install -y emacs
38
+ SHELL
39
+ end
You can’t perform that action at this time.
0 commit comments