mirror of https://github.com/facebook/rocksdb.git
Rsync files to VM rather than sync folders, since sync folders was causing clock skew and confusig make.
This commit is contained in:
parent
82a8f43ccc
commit
4e735bb7f9
|
@ -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…
Reference in New Issue