Skip to content

Commit

Permalink
ghdl: rebuild for llvm13
Browse files Browse the repository at this point in the history
  • Loading branch information
motorto committed Apr 1, 2022
1 parent 65888e2 commit cdd7c17
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
21 changes: 21 additions & 0 deletions srcpkgs/ghdl/patches/llvm13.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
From e49cb7b91946bbe866e684c47ccb703a83f78dec Mon Sep 17 00:00:00 2001
From: Tristan Gingold <[email protected]>
Date: Fri, 15 Oct 2021 07:42:38 +0200
Subject: [PATCH] configure: blindly allow llvm 13

---
configure | 1 +
1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index d870ea21a3..7af4e9ab06 100755
--- a/configure
+++ b/configure
@@ -280,6 +280,7 @@ if test $backend = llvm; then
check_version 11.0 $llvm_version ||
check_version 11.1 $llvm_version ||
check_version 12.0 $llvm_version ||
+ check_version 13.0 $llvm_version ||
false; then
echo "Debugging is enabled with llvm $llvm_version"
else
4 changes: 2 additions & 2 deletions srcpkgs/ghdl/template
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
pkgname=ghdl
reverts="20181129_1"
version=1.0.0
revision=1
revision=2
build_style=configure
configure_args="--prefix=/usr --srcdir=.. --incdir=lib/ghdl/include"
makedepends="zlib-devel"
Expand Down Expand Up @@ -51,7 +51,7 @@ fi

if [ "$build_option_llvm" ]; then
subpackages+=" ghdl-llvm"
makedepends+=" llvm12"
makedepends+=" llvm"
fi

do_configure() {
Expand Down

0 comments on commit cdd7c17

Please sign in to comment.