summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrahulp132020-08-06 02:02:39 +0530
committerrahulp132020-08-06 02:02:39 +0530
commit4e4d9e8285cbf9cedde362acf82ab79fdc5497d1 (patch)
treea165a50afe2ddfdd9fc09e8c8e51aacff09b4fcf
parent514efd4c9031bb57df374eb1359282268f9ca478 (diff)
downloadnghdl-4e4d9e8285cbf9cedde362acf82ab79fdc5497d1.tar.gz
nghdl-4e4d9e8285cbf9cedde362acf82ab79fdc5497d1.tar.bz2
nghdl-4e4d9e8285cbf9cedde362acf82ab79fdc5497d1.zip
added executable permission for configure of ghdl and ngspice
-rwxr-xr-xUbuntu/install-nghdl.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/Ubuntu/install-nghdl.sh b/Ubuntu/install-nghdl.sh
index 47fdb10..fcb3eab 100755
--- a/Ubuntu/install-nghdl.sh
+++ b/Ubuntu/install-nghdl.sh
@@ -45,7 +45,7 @@ timestamp=`echo $sysdate|awk '{print $3"_"$2"_"$6"_"$4 }'`
function installDependency
{
- echo "Installing dependencies for $ghdl LLVM...................."
+ echo "Installing dependencies for $ghdl LLVM................"
echo "Installing Make..........................................."
sudo apt install -y make
@@ -75,12 +75,13 @@ function installDependency
sudo apt install -y libxaw7-dev
- echo "Installing $ghdl LLVM....................................."
+ echo "Installing $ghdl LLVM................................."
tar -xJf $ghdl.tar.xz
echo "$ghdl successfully extracted"
echo "Changing directory to $ghdl installation"
cd $ghdl/
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
sudo ./configure --with-llvm-config=/usr/bin/llvm-config-8
echo "Building the install file for $ghdl LLVM"
@@ -122,6 +123,7 @@ function installNgspice
echo "Configuring Ngspice........."
sleep 2
+ chmod +x ../configure
../configure --enable-xspice --disable-debug --prefix=$HOME/$ngspice/install_dir/ --exec-prefix=$HOME/$ngspice/install_dir/
# Adding patch to Ngspice base code