summaryrefslogtreecommitdiff
path: root/install-nghdl.sh
diff options
context:
space:
mode:
authorathulappadan2017-03-28 11:15:15 +0530
committerathulappadan2017-03-28 11:15:15 +0530
commitf7001d9f6c039846ca9fd99bda53e31b51c749bb (patch)
tree066e47a841edbcb594a0452819b386e5d1aef85b /install-nghdl.sh
parent71abd63a65e0e5d4c028ba0772a037ab1bdb6257 (diff)
downloadnghdl-f7001d9f6c039846ca9fd99bda53e31b51c749bb.tar.gz
nghdl-f7001d9f6c039846ca9fd99bda53e31b51c749bb.tar.bz2
nghdl-f7001d9f6c039846ca9fd99bda53e31b51c749bb.zip
installation script modified
Diffstat (limited to 'install-nghdl.sh')
-rwxr-xr-xinstall-nghdl.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/install-nghdl.sh b/install-nghdl.sh
index ab0a1eb..eade469 100755
--- a/install-nghdl.sh
+++ b/install-nghdl.sh
@@ -81,7 +81,11 @@ function installNgspice
echo "Installing Ngspice....."
echo "------------------------------------"
sleep 5
- ../configure --enable-xspice --disable-debug --prefix=$HOME/$ngspice/install_dir/ --exec-prefix=$HOME/$ngspice/install_dir/
+ ../configure --enable-xspice --disable-debug --prefix=$HOME/$ngspice/install_dir/ --exec-prefix=$HOME/$ngspice/install_dir/
+
+ #dirty fix for adding patch to ngspice base code
+ cp $src_dir/src/outitf.c $HOME/$ngspice/src/frontend
+
make
make install
if [ "$?" == 0 ];then