Skip to content

Commit

Permalink
updpatch: zig 0.11.0-1
Browse files Browse the repository at this point in the history
Skip macho link tests because they don't build on riscv64.

`nocheck` is still required and test failures have been reported to
ziglang/zig#18018
  • Loading branch information
felixonmars committed Nov 22, 2023
1 parent 466e4b6 commit 301f868
Showing 1 changed file with 23 additions and 9 deletions.
32 changes: 23 additions & 9 deletions zig/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,12 +1,26 @@
Index: PKGBUILD
===================================================================
--- PKGBUILD (revision 1142351)
+++ PKGBUILD (working copy)
@@ -10,7 +10,6 @@
license=('MIT')
depends=('clang' 'llvm-libs' 'lld')
diff --git PKGBUILD PKGBUILD
index 2602c6c..4d1e164 100644
--- PKGBUILD
+++ PKGBUILD
@@ -11,16 +11,18 @@ license=('MIT')
options=('!lto')
depends=('clang' 'lld' 'llvm-libs')
makedepends=('cmake' 'llvm')
-checkdepends=('lib32-glibc')
source=("https://ziglang.org/download/$pkgver/zig-$pkgver.tar.xz"
"resolve_DNS.patch")
sha256sums=('cd1be83b12f8269cc5965e59877b49fdd8fa638efb6995ac61eb4cea36a2e381'
- "skip-localhost-test.patch")
+ "skip-localhost-test.patch"
+ "disable-macho-link-tests.patch")
sha256sums=('ead029cfe474d9bf0413332d0e9d3bdfb5990cadce238f44f35ba32d92169295'
- 'eeb5f0f72035c52bf558ffc77a171a3ddf93eac7d663ef0c82826007763717a8')
+ 'eeb5f0f72035c52bf558ffc77a171a3ddf93eac7d663ef0c82826007763717a8'
+ 'e70f2a61c2543414d7f7a0fbcec4fc88fcca0b2f80368c4a6e6ad9ea76ed917d')

prepare() {
cd "$pkgname-$pkgver"

patch -p1 -i ../skip-localhost-test.patch
+ patch -p1 -i ../disable-macho-link-tests.patch
}

build() {

0 comments on commit 301f868

Please sign in to comment.