aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/zig/APKBUILD12
-rw-r--r--testing/zig/llvm-include.patch12
2 files changed, 13 insertions, 11 deletions
diff --git a/testing/zig/APKBUILD b/testing/zig/APKBUILD
index 162e112ecf..990e032f1d 100644
--- a/testing/zig/APKBUILD
+++ b/testing/zig/APKBUILD
@@ -2,7 +2,7 @@
# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=zig
-pkgver=0.7.1
+pkgver=0.8.1
pkgrel=0
pkgdesc="general-purpose programming language designed for robustness, optimality, and maintainability"
url="https://ziglang.org/"
@@ -10,8 +10,8 @@ arch="x86_64 aarch64"
license="MIT"
provides="zig-dev=$pkgver-r$pkgrel"
subpackages="$pkgname-doc"
-makedepends="cmake clang-dev clang-libs llvm11-libs llvm-dev lld-dev libstdc++
- zlib-static libxml2-dev llvm11-static clang-static lld-static"
+makedepends="cmake clang-dev clang-libs llvm12-libs llvm-dev lld-dev libstdc++
+ zlib-static libxml2-dev llvm12-static clang-static lld-static"
source="$pkgname-$pkgver.tar.gz::https://github.com/ziglang/zig/archive/$pkgver.tar.gz
llvm-include.patch"
@@ -51,5 +51,7 @@ package() {
"$pkgdir"/usr/share/doc/$pkgname/langref.html
}
-sha512sums="ad0b36f7b40481aca03940adfd42d34a724922993fc29a23a80412dc087ca6ce4876a400dc9bb7da455564521a88ea205c218988759ff6c56251a08232bfa41a zig-0.7.1.tar.gz
-8bee0c8f3765af327866a14175e0bd6903c3164145002435b6110970bf6ccc88713ea9146ec202325d9d65148367122dd00fda0c9d78971a13c644e0f0714640 llvm-include.patch"
+sha512sums="
+36bea566eee3dc5c00f2713cbc6616258dbadd3ee994749339f124f8b70c691cfe7fdce6a00194f879679ea417dadb3bcc244f8b79153957a426fea2d52caaf5 zig-0.8.1.tar.gz
+2690960899f8404715e72e94b7ae7a0805f71e53d2f8b1de237708bc837e5e9817c48b4f053c6b84e6ef7a222268c22c107c22d31458106af50ba8c4c417f602 llvm-include.patch
+"
diff --git a/testing/zig/llvm-include.patch b/testing/zig/llvm-include.patch
index 27caaa756b..99052058e8 100644
--- a/testing/zig/llvm-include.patch
+++ b/testing/zig/llvm-include.patch
@@ -3,10 +3,10 @@ Our llvm include path is not in the include list tried by default.
--- zig-0.7.1.orig/cmake/Findllvm.cmake
+++ zig-0.7.1/cmake/Findllvm.cmake
@@ -12,6 +12,7 @@
- /usr/lib/llvm/11/include
- /usr/lib/llvm-11/include
- /usr/lib/llvm-11.0/include
-+ /usr/lib/llvm11/include
- /usr/local/llvm11/include
- /usr/local/llvm110/include
+ /usr/lib/llvm/12/include
+ /usr/lib/llvm-12/include
+ /usr/lib/llvm-12.0/include
++ /usr/lib/llvm12/include
+ /usr/local/llvm12/include
+ /usr/local/llvm120/include
/mingw64/include