rocksdb/java/crossbuild/Vagrantfile
Adam Retter 1e9c8d42a0 Fix the rocksjava release Vagrant build on CentOS (#5901)
Summary:
Closes https://github.com/facebook/rocksdb/issues/5873
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5901

Differential Revision: D17869585

fbshipit-source-id: 559472486f1d3ac80c0c7df6c421c4b612b9b7f9
2019-10-10 17:21:18 -07:00

28 lines
750 B
Ruby

# -*- 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.define "linux32" do |linux32|
linux32.vm.box = "bento/centos-6.10-i386"
end
config.vm.define "linux64" do |linux64|
linux64.vm.box = "bento/centos-6.10"
end
config.vm.provider "virtualbox" do |v|
v.memory = 2048
v.cpus = 4
v.customize ["modifyvm", :id, "--nictype1", "virtio" ]
end
config.vm.provision :shell, path: "build-linux-centos.sh"
config.vm.synced_folder "../target", "/rocksdb-build"
config.vm.synced_folder "../..", "/rocksdb", type: "rsync"
config.vm.boot_timeout = 1200
end