rocksdb/java/crossbuild/Vagrantfile
Adam Retter 26a8a80711 Switch from CentOS 5 to CentOS 6 for crossbuilding RocksJava
Summary:
Updates the statically linked libraries from linking against glibc 2.5, to linking against glibc 2.12.
Closes https://github.com/facebook/rocksdb/pull/2405

Differential Revision: D5184132

Pulled By: sagar0

fbshipit-source-id: 7a8ad4cf7e737ca62f29e58938bd49fa02114541
2017-06-05 12:27:24 -07:00

28 lines
759 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 = "hansode/centos-6.7-i386"
end
config.vm.define "linux64" do |linux64|
linux64.vm.box = "hansode/centos-6.7-x86_64"
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