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