diff options
author | rahulp13 | 2020-02-10 12:04:23 +0530 |
---|---|---|
committer | rahulp13 | 2020-02-10 12:04:23 +0530 |
commit | 983f3a24b7c12f9c236546fb81277f05a3c3c95a (patch) | |
tree | 0ad357d48cf35113b738d728eb5ddb18429e2e84 | |
parent | a84748e23e825936d5a6c5aaabb202c97808e046 (diff) | |
download | nghdl-983f3a24b7c12f9c236546fb81277f05a3c3c95a.tar.gz nghdl-983f3a24b7c12f9c236546fb81277f05a3c3c95a.tar.bz2 nghdl-983f3a24b7c12f9c236546fb81277f05a3c3c95a.zip |
update installer
-rwxr-xr-x | Debian/Ubuntu 18.04/install-nghdl.sh | 9 | ||||
-rw-r--r-- | Debian/readme.md | 7 |
2 files changed, 13 insertions, 3 deletions
diff --git a/Debian/Ubuntu 18.04/install-nghdl.sh b/Debian/Ubuntu 18.04/install-nghdl.sh index 78da81f..ca529c7 100755 --- a/Debian/Ubuntu 18.04/install-nghdl.sh +++ b/Debian/Ubuntu 18.04/install-nghdl.sh @@ -43,10 +43,17 @@ function installDependency echo "Installing GNAT-5........................................." sudo apt install -y gnat-5 if [ $? -ne 0 ]; then - echo -e "\n\n\"GNAT\" dependency couldn't be installed.\nKindly resolve above errors and try again." + echo -e "\n\n\"GNAT-5\" dependency couldn't be installed.\nKindly resolve above errors and try again." exit 1 fi + echo "Installing LLVM-3.9......................................." + sudo apt install -y llvm-3.9 + if [ $? -ne 0 ]; then + echo -e "\n\n\"LLVM-3.9\" dependency couldn't be installed.\nKindly resolve above errors and try again." + exit 1 + fi + echo "Installing Zlib1g-dev....................................." sudo apt install -y zlib1g-dev if [ $? -ne 0 ]; then diff --git a/Debian/readme.md b/Debian/readme.md index 08f1411..97fe533 100644 --- a/Debian/readme.md +++ b/Debian/readme.md @@ -3,21 +3,24 @@ Debian Installer Documentation It contains all the documenation for installers on Debian (Ubuntu 14.04 and above). +Separate installers are required to resolve dependencies only of GHDL and are mentioned below. ## Differences in Ubuntu 14.04, Ubuntu 16.04 and Ubuntu 18.04 installers: 1. Dependency on gnat : - Ubuntu 14.04 : gnat (v4.6) - - Ubuntu 16.04+: gnat-5 (v5.4) + - Ubuntu 16.04 : gnat-5 (v5.4) + - Ubuntu 18.04 : gnat-5 (v5.5) 2. Dependency on llvm : - Available version on Ubuntu 14.04 : llvm (v3.4) - Available version on Ubuntu 16.04 : llvm (v3.5) - Available version on Ubuntu 18.04 : llvm (v6.0) - Requires llvm version between 3.5 and 3.9 for compilation of GHDL with llvm config + - Ubuntu 18.04 requires installation of LLVM on target machine as it is used during runtime of GHDL as shared library. 3. Dependency on gcc : - Ubuntu 14.04 and 16.04 : gcc (v5.4.0) is available without pie (i.e. position-independent executable) - Ubuntu 18.04 : gcc (v7.4.0) is available with pie enabled as default option. - - Refer [this](https://github.com/ghdl/ghdl/issues/213) Github issue for dependency on gcc GHDL on Ubuntu 18.04 and above. + - Refer [this](https://github.com/ghdl/ghdl/issues/213) Github issue for dependency on gcc for Ubuntu 18.04 and above. ## GHDL Compilation: |