Package: ghdl
Version: 0.35+git20181129+dfsg-3
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu disco ubuntu-patch

Dear Maintainer,

Please allow building against LLVM 8 in the configure file. We've done
this in Ubuntu, and it builds successfully. We needed to make this
change because LLVM 8 is now default in our development release, and it
likely will change soon for Debian as well with the final release out
shortly.

In Ubuntu, the attached patch was applied to achieve the following:

  * Allow building against LLVM 8, which was recently made default in Ubuntu.

Thanks for considering the patch.

Logan Rosen

-- System Information:
Debian Release: buster/sid
  APT prefers cosmic-updates
  APT policy: (500, 'cosmic-updates'), (500, 'cosmic-security'), (500, 
'cosmic'), (400, 'cosmic-proposed'), (100, 'cosmic-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-15-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru ghdl-0.35+git20181129+dfsg/debian/patches/allow-llvm-8 
ghdl-0.35+git20181129+dfsg/debian/patches/allow-llvm-8
--- ghdl-0.35+git20181129+dfsg/debian/patches/allow-llvm-8      1969-12-31 
19:00:00.000000000 -0500
+++ ghdl-0.35+git20181129+dfsg/debian/patches/allow-llvm-8      2019-02-22 
22:17:32.000000000 -0500
@@ -0,0 +1,10 @@
+--- a/configure
++++ b/configure
+@@ -238,6 +238,7 @@
+            check_version 5.0 $llvm_version ||
+            check_version 6.0 $llvm_version ||
+            check_version 7.0 $llvm_version ||
++           check_version 8.0 $llvm_version ||
+            false; then
+               echo "Debugging is not enabled with llvm $llvm_version"
+               llvm_be=llvm4-nodebug
diff -Nru ghdl-0.35+git20181129+dfsg/debian/patches/series 
ghdl-0.35+git20181129+dfsg/debian/patches/series
--- ghdl-0.35+git20181129+dfsg/debian/patches/series    2018-12-11 
16:37:29.000000000 -0500
+++ ghdl-0.35+git20181129+dfsg/debian/patches/series    2019-02-22 
22:16:56.000000000 -0500
@@ -3,3 +3,4 @@
 modify-install-paths
 adjust-compile-flags
 extend-ghdl-manpage
+allow-llvm-8

Reply via email to