1 Star 0 Fork 0

virqin/czmq

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Vagrantfile 1.24 KB
一键复制 编辑 原始数据 按行查看 历史
Jim Klimov 提交于 2017-08-02 00:28 . Regenerate czmq with recent zproject
#e -*- mode: ruby -*-
# vi: set ft=ruby :
# This will setup a clean Ubuntu1404 LTS env
$script = <<SCRIPT
apt-get update
apt-get install -y python-pip python-dev git htop virtualenvwrapper python2.7 python-virtualenv python-support cython \
git build-essential libtool pkg-config autotools-dev autoconf automake cmake uuid-dev libpcre3-dev valgrind \
libffi-dev
# only execute this next line if interested in updating the man pages as well (adds to build time):
# sudo apt-get install -y asciidoc
cd /home/vagrant
git clone --quiet https://github.com/zeromq/libzmq.git libzmq
cd /home/vagrant/libzmq
./autogen.sh
./configure
make
make install
ldconfig
cd /vagrant
./autogen.sh
./configure
make
make check
make install
ldconfig
SCRIPT
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
VAGRANTFILE_LOCAL = 'Vagrantfile.local'
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = 'ubuntu/trusty64'
config.vm.provision "shell", inline: $script
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--cpus", "2", "--ioapic", "on", "--memory", "1024" ]
end
if File.file?(VAGRANTFILE_LOCAL)
external = File.read VAGRANTFILE_LOCAL
eval external
end
end
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/virqin/czmq.git
git@gitee.com:virqin/czmq.git
virqin
czmq
czmq
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385