2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-11 12:46:37 +08:00
artiq/.travis/get-toolchain.sh

18 lines
448 B
Bash
Raw Normal View History

2014-11-07 09:53:38 +08:00
#!/bin/sh
set -e
packages="http://us.archive.ubuntu.com/ubuntu/pool/universe/i/iverilog/iverilog_0.9.7-1_amd64.deb"
mkdir -p packages
for p in $packages
do
wget $p
pkg_name=$(echo $p | sed -e 's!.*/\(.*\)\.deb!\1\.deb!')
dpkg -x $pkg_name packages
done
2015-10-22 20:08:40 +08:00
echo "export LD_LIBRARY_PATH=$PWD/packages/usr/lib/x86_64-linux-gnu" >> $HOME/.m-labs/build_settings.sh
echo "export PATH=$PWD/packages/usr/bin:\$PATH" >> $HOME/.m-labs/build_settings.sh