Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Ubuntu/install-nghdl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function installDependency
sudo apt remove -y llvm llvm-dev

echo "Installing LLVM........................................"
sudo apt install -y llvm llvm-dev
sudo apt install -y llvm-18 llvm-18-dev

echo "Installing Clang.........................................."
sudo apt install -y clang
Expand All @@ -64,7 +64,7 @@ function installDependency

# Specific dependency for canberra-gtk modules
echo "Installing Gtk Canberra modules..........................."
sudo apt install -y libcanberra-gtk-module libcanberra-gtk3-module
sudo apt install -y libcanberra-gtk3-module

# Specific dependency for nvidia graphic cards
echo "Installing graphics dependency for Ngspice source build"
Expand Down Expand Up @@ -101,7 +101,7 @@ function installGHDL
echo "Configuring $ghdl build as per requirements"
chmod +x configure
# Other configure flags can be found at - https://github.com/ghdl/ghdl/blob/master/configure
./configure --with-llvm-config=/usr/bin/llvm-config
./configure --with-llvm-config=/usr/bin/llvm-config-18
echo "Building the install file for $ghdl LLVM"
make -j$(nproc)
sudo make install
Expand Down