From d81deed9b88b642041591a79eac0d79dcba1ed3b Mon Sep 17 00:00:00 2001 From: Akshay Rukade Date: Wed, 11 Feb 2026 19:25:37 +0530 Subject: [PATCH 1/2] feat(installer): Enable OSDI support and openmp in Ubuntu installer - Added dependencies for OSDI (readline, ncurses, xaw7, x11, etc.) - Updated ngspice configure flags to include --enable-osdi and --enable-openmp --- Ubuntu/install-nghdl.sh | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/Ubuntu/install-nghdl.sh b/Ubuntu/install-nghdl.sh index fb618a6..7296b0a 100755 --- a/Ubuntu/install-nghdl.sh +++ b/Ubuntu/install-nghdl.sh @@ -86,6 +86,22 @@ function installDependency sudo yum groupinstall 'Development Tools' -y fi + echo "Installing dependencies for ngspice (with OSDI)..........." + + sudo apt update + sudo apt install -y \ + build-essential \ + autoconf \ + automake \ + libtool \ + flex \ + bison \ + libreadline-dev \ + libncurses5-dev \ + libxaw7 \ + libxaw7-dev \ + libx11-dev + } @@ -172,7 +188,13 @@ function installNGHDL sleep 2 chmod +x ../configure - ../configure --enable-xspice --disable-debug --prefix=$HOME/$nghdl/install_dir/ --exec-prefix=$HOME/$nghdl/install_dir/ + ../configure \ + --enable-osdi \ + --enable-xspice \ + --enable-openmp \ + --disable-debug \ + --prefix=$HOME/$nghdl/install_dir \ + --exec-prefix=$HOME/$nghdl/install_dir # Adding patch to Ngspice base code # cp $src_dir/src/outitf.c $HOME/$nghdl/src/frontend From b956132ac022eedec3c16862b75d3e09bad25671 Mon Sep 17 00:00:00 2001 From: Akshay Rukade Date: Wed, 11 Feb 2026 21:18:57 +0530 Subject: [PATCH 2/2] Added credits --- Ubuntu/install-nghdl.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Ubuntu/install-nghdl.sh b/Ubuntu/install-nghdl.sh index 7296b0a..70eb7fd 100755 --- a/Ubuntu/install-nghdl.sh +++ b/Ubuntu/install-nghdl.sh @@ -13,6 +13,8 @@ # BUGS: --- # NOTES: --- # AUTHOR: Fahim Khan, Rahul Paknikar, Sumanto Kar +# MENTORS: Sumanto Kar, Varad Patil, Shanti Priya K, Aditya M +# INTERNS: Akshay Rukade, Haripriyan R # ORGANIZATION: eSim, FOSSEE group at IIT Bombay # CREATED: Tuesday 02 December 2014 17:01 # REVISION: Tuesday 31 December 2024 21:38