Skip to content

Instantly share code, notes, and snippets.

@mshr-h
Last active January 15, 2016 06:30
Show Gist options
  • Save mshr-h/c465d9b25a3b2326fbcc to your computer and use it in GitHub Desktop.
Save mshr-h/c465d9b25a3b2326fbcc to your computer and use it in GitHub Desktop.
Install iverilog
#!/bin/bash
if [ $# -eq 1 ]; then
INSTALLPATH=$1
else
INSTALLPATH=`pwd`/local
fi
CORE=`expr \`nproc\` + 1`
git clone https://github.com/steveicarus/iverilog
cd iverilog
autoconf
./configure --prefix=$INSTALLPATH
make -j$CORE
make install
cd ..
echo $INSTALLPATH/bin
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment