mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-19 00:16:29 +08:00
18 lines
448 B
Bash
Executable File
18 lines
448 B
Bash
Executable File
#!/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
|
|
|
|
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
|