From b9453ba3f203fecc905e53d41fd51ea842233cb7 Mon Sep 17 00:00:00 2001 From: esim Date: Sat, 6 Sep 2025 18:23:01 +0530 Subject: [PATCH] Add support for Ubuntu 25.04 in installer script --- Ubuntu/install-nghdl.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Ubuntu/install-nghdl.sh b/Ubuntu/install-nghdl.sh index fb618a6..b859df2 100755 --- a/Ubuntu/install-nghdl.sh +++ b/Ubuntu/install-nghdl.sh @@ -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 @@ -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" @@ -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