加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Vagrantfile 675 Bytes
一键复制 编辑 原始数据 按行查看 历史
Scott Dixon 提交于 2019-05-28 10:32 . Issue #101 allowing c++14 (#227)
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
# use shell and other provisioners as usual
config.vm.provision :shell, path: "bootstrap.sh"
config.vm.provider :virtualbox do |v|
v.memory = 10000
v.cpus = 4
v.customize [ "guestproperty", "set", :id, "/VirtualBox/GuestAdd/VBoxService/--timesync-set-threshold", 10000 ]
end
config.vm.provision "shell" do |s|
s.inline = <<-SCRIPT
# Change directory automatically on ssh login
echo "export CXX=\"g++-5\" CC=\"gcc-5\"" >> /home/vagrant/.bashrc
echo "cd /vagrant" >> /home/vagrant/.bashrc
SCRIPT
end
end
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化