Use new rust-bindgen crate for faster builds
Rather than cloning the bindgen repository and building from source, use the packaged crate. The result is the rebuilds are much, much faster. Also, had to make numerous changes for the new version of bindgen. cargo test passes
This commit is contained in:
5
vagrant/ubuntu14/fabfile.py
vendored
5
vagrant/ubuntu14/fabfile.py
vendored
@ -41,11 +41,12 @@ def all():
|
||||
run('./rustup.sh --yes')
|
||||
run('rm -f rustup.sh')
|
||||
sudo('apt-get -q -y build-dep imagemagick')
|
||||
run('wget -q http://www.imagemagick.org/download/ImageMagick-6.9.5-2.tar.gz')
|
||||
run('tar zxf ImageMagick-6.9.5-2.tar.gz')
|
||||
run('wget -q http://www.imagemagick.org/download/ImageMagick-6.9.5-3.tar.gz')
|
||||
run('tar zxf ImageMagick-6.9.5-3.tar.gz')
|
||||
with cd('ImageMagick-*'):
|
||||
run('./configure')
|
||||
run('make')
|
||||
sudo('make install')
|
||||
run('rm -rf ImageMagick*')
|
||||
run('sudo apt-get -q -y install libclang-dev')
|
||||
run("echo 'export LIBCLANG_PATH=/usr/lib/llvm-3.8/lib' >> .bashrc")
|
||||
|
||||
Reference in New Issue
Block a user