Rsync files to VM rather than sync folders, since sync folders was causing clock skew and confusig make.

main
Chris Riccomini 10 years ago
parent 82a8f43ccc
commit 4e735bb7f9
  1. 1
      .gitignore
  2. 4
      java/crossbuild/Vagrantfile

1
.gitignore vendored

@ -33,3 +33,4 @@ tags
java/*.log java/*.log
java/include/org_rocksdb_*.h java/include/org_rocksdb_*.h
unity.cc unity.cc
java/crossbuild/.vagrant

@ -9,17 +9,17 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.define "linux32" do |linux32| config.vm.define "linux32" do |linux32|
linux32.vm.box = "ubuntu/trusty32" linux32.vm.box = "ubuntu/trusty32"
linux32.vm.provision :shell, path: "build-linux.sh" linux32.vm.provision :shell, path: "build-linux.sh"
linux32.vm.synced_folder "../..", "/rocksdb"
end end
config.vm.define "linux64" do |linux64| config.vm.define "linux64" do |linux64|
linux64.vm.box = "ubuntu/trusty64" linux64.vm.box = "ubuntu/trusty64"
linux64.vm.provision :shell, path: "build-linux.sh" linux64.vm.provision :shell, path: "build-linux.sh"
linux64.vm.synced_folder "../..", "/rocksdb"
end end
config.vm.provider "virtualbox" do |v| config.vm.provider "virtualbox" do |v|
v.memory = 2048 v.memory = 2048
v.cpus = 4 v.cpus = 4
end end
config.vm.synced_folder "../..", "/rocksdb", type: "rsync"
end end

Loading…
Cancel
Save