diff options
author | Sumanto Kar | 2022-01-25 18:14:08 +0530 |
---|---|---|
committer | GitHub | 2022-01-25 18:14:08 +0530 |
commit | 9fd503877305f72e613c545fbe6b146a53bf4276 (patch) | |
tree | 5cf3d98ff866d9fd48dc218977d5b51ee736162e | |
parent | f000111a22870d4d2e52ca52a430ec1d575b4212 (diff) | |
parent | 9329498f461d3346af1c25db36ba9b155bbec874 (diff) | |
download | nghdl-9fd503877305f72e613c545fbe6b146a53bf4276.tar.gz nghdl-9fd503877305f72e613c545fbe6b146a53bf4276.tar.bz2 nghdl-9fd503877305f72e613c545fbe6b146a53bf4276.zip |
Merge pull request #74 from Eyantra698Sumanto/installers
Copy Verilator Object and edit Ngspice permissions
-rwxr-xr-x | Ubuntu/install-nghdl.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Ubuntu/install-nghdl.sh b/Ubuntu/install-nghdl.sh index 8450a4b..2dbb4e3 100755 --- a/Ubuntu/install-nghdl.sh +++ b/Ubuntu/install-nghdl.sh @@ -12,10 +12,10 @@ # REQUIREMENTS: --- # BUGS: --- # NOTES: --- -# AUTHOR: Fahim Khan, Rahul Paknikar +# AUTHOR: Fahim Khan, Rahul Paknikar, Sumanto Kar # ORGANIZATION: eSim, FOSSEE group at IIT Bombay # CREATED: Tuesday 02 December 2014 17:01 -# REVISION: Sunday 02 August 2020 01:35 +# REVISION: Tuesday 11 November 2021 15:56 #=============================================================================== ngspice="ngspice-nghdl" @@ -123,12 +123,14 @@ function installNgspice # Adding patch to Ngspice base code cp $src_dir/src/outitf.c $HOME/$ngspice/src/frontend + cp $src_dir/src/verilated.o $HOME/$ngspice/release/src/xspice/icm/ make -j$(nproc) make install # Make it executable sudo chmod 755 $HOME/$ngspice/install_dir/bin/ngspice + sudo chmod 777 -R $HOME/$ngspice/ set +e # Temporary disable exit on error trap "" ERR # Do not trap on error of any command |