Last active
January 15, 2016 06:30
-
-
Save mshr-h/c465d9b25a3b2326fbcc to your computer and use it in GitHub Desktop.
Install iverilog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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