[arch-commits] Commit in zig/trunk (PKGBUILD)
Date: Monday, December 14, 2020 @ 03:24:10 Author: daurnimator Revision: 774779 upgpkg: zig 0.7.1-1 Modified: zig/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-12-14 03:20:59 UTC (rev 774778) +++ PKGBUILD2020-12-14 03:24:10 UTC (rev 774779) @@ -2,7 +2,7 @@ # Contributor: Marc Tiehuis pkgname=zig -pkgver=0.7.0 +pkgver=0.7.1 pkgrel=1 pkgdesc='a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software' arch=('x86_64') @@ -12,7 +12,7 @@ makedepends=('cmake' 'llvm') source=("https://ziglang.org/download/$pkgver/zig-$pkgver.tar.xz; "resolve_DNS.patch") -sha256sums=('0efd2cf6c3b05723db80e9cf193bc55150bba84ca41f855a90f53fc756445f83' +sha256sums=('2db3b944ab368d955b48743d9f7c963b8f96de1a441ba5a35e197237cc6dae44' 'c2b7e709dcc229f0e58e2529db900bcfb9a1cfb73da765c5c76ab1e6d0a333cc') prepare() {
[arch-commits] Commit in zig/trunk (PKGBUILD)
Date: Monday, November 9, 2020 @ 09:45:23 Author: daurnimator Revision: 746776 upgpkg: zig 0.7.0-1 Modified: zig/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-11-09 09:45:11 UTC (rev 746775) +++ PKGBUILD2020-11-09 09:45:23 UTC (rev 746776) @@ -2,7 +2,7 @@ # Contributor: Marc Tiehuis pkgname=zig -pkgver=0.6.0+03ae77b8b +pkgver=0.7.0 pkgrel=1 pkgdesc='a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software' arch=('x86_64') @@ -10,9 +10,9 @@ license=('MIT') depends=('clang' 'llvm-libs' 'lld') makedepends=('cmake' 'llvm') -source=("https://ziglang.org/builds/zig-$pkgver.tar.xz; +source=("https://ziglang.org/download/$pkgver/zig-$pkgver.tar.xz; "resolve_DNS.patch") -sha256sums=('a97eead39292edac077dfe6643a8786f37820da95f597ec7804f3d34783a0d9a' +sha256sums=('0efd2cf6c3b05723db80e9cf193bc55150bba84ca41f855a90f53fc756445f83' 'c2b7e709dcc229f0e58e2529db900bcfb9a1cfb73da765c5c76ab1e6d0a333cc') prepare() {
[arch-commits] Commit in zig/trunk (PKGBUILD resolve_DNS.patch)
Date: Sunday, November 8, 2020 @ 13:34:46 Author: daurnimator Revision: 746562 upgpkg: zig 0.6.0+03ae77b8b-1 upgrade to snapshot of master for LLVM11 compat Added: zig/trunk/resolve_DNS.patch Modified: zig/trunk/PKGBUILD ---+ PKGBUILD | 16 resolve_DNS.patch | 23 +++ 2 files changed, 35 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-11-08 13:25:57 UTC (rev 746561) +++ PKGBUILD2020-11-08 13:34:46 UTC (rev 746562) @@ -2,8 +2,8 @@ # Contributor: Marc Tiehuis pkgname=zig -pkgver=0.6.0 -pkgrel=2 +pkgver=0.6.0+03ae77b8b +pkgrel=1 pkgdesc='a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software' arch=('x86_64') url='https://ziglang.org/' @@ -10,9 +10,17 @@ license=('MIT') depends=('clang' 'llvm-libs' 'lld') makedepends=('cmake' 'llvm') -source=("https://ziglang.org/download/$pkgver/zig-$pkgver.tar.xz;) -sha256sums=('5d167dc19354282dd35dd17b38e99e1763713b9be8a4ba9e9e69284e059e7204') +source=("https://ziglang.org/builds/zig-$pkgver.tar.xz; +"resolve_DNS.patch") +sha256sums=('a97eead39292edac077dfe6643a8786f37820da95f597ec7804f3d34783a0d9a' +'c2b7e709dcc229f0e58e2529db900bcfb9a1cfb73da765c5c76ab1e6d0a333cc') +prepare() { +cd "$pkgname-$pkgver" +# https://github.com/ziglang/zig/issues/6898 +patch -p1 < ../resolve_DNS.patch +} + build() { cd "$pkgname-$pkgver" Added: resolve_DNS.patch === --- resolve_DNS.patch (rev 0) +++ resolve_DNS.patch 2020-11-08 13:34:46 UTC (rev 746562) @@ -0,0 +1,23 @@ +diff --git a/lib/std/net/test.zig b/lib/std/net/test.zig +index 9f40bb5a3..15dd8c920 100644 +--- a/lib/std/net/test.zig b/lib/std/net/test.zig +@@ -106,18 +106,6 @@ test "resolve DNS" { + } + } + +-// Resolve localhost, this should not fail. +-{ +-const localhost_v4 = try net.Address.parseIp("127.0.0.1", 80); +-const localhost_v6 = try net.Address.parseIp("::2", 80); +- +-const result = try net.getAddressList(testing.allocator, "localhost", 80); +-defer result.deinit(); +-for (result.addrs) |addr| { +-if (addr.eql(localhost_v4) or addr.eql(localhost_v6)) break; +-} else @panic("unexpected address for localhost"); +-} +- + { + // The tests are required to work even when there is no Internet connection, + // so some of these errors we must accept and skip the test.
[arch-commits] Commit in zig/trunk (PKGBUILD)
Date: Friday, July 31, 2020 @ 12:02:17 Author: daurnimator Revision: 666153 upgpkg: zig 0.6.0-2: rebuild for LLVM 10.0.1 Modified: zig/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-07-31 11:23:08 UTC (rev 666152) +++ PKGBUILD2020-07-31 12:02:17 UTC (rev 666153) @@ -3,7 +3,7 @@ pkgname=zig pkgver=0.6.0 -pkgrel=1 +pkgrel=2 pkgdesc='a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software' arch=('x86_64') url='https://ziglang.org/'
[arch-commits] Commit in zig/trunk (PKGBUILD)
Date: Tuesday, April 14, 2020 @ 14:53:22 Author: daurnimator Revision: 614068 upgpkg: zig 0.6.0-1 Modified: zig/trunk/PKGBUILD --+ PKGBUILD | 24 +--- 1 file changed, 5 insertions(+), 19 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-04-14 12:02:07 UTC (rev 614067) +++ PKGBUILD2020-04-14 14:53:22 UTC (rev 614068) @@ -2,9 +2,9 @@ # Contributor: Marc Tiehuis pkgname=zig -pkgver=0.5.0 +pkgver=0.6.0 pkgrel=1 -pkgdesc='a general-purpose programming language designed for robustness, optimality, and maintainability' +pkgdesc='a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software' arch=('x86_64') url='https://ziglang.org/' license=('MIT') @@ -11,7 +11,7 @@ depends=('clang' 'llvm-libs' 'lld') makedepends=('cmake' 'llvm') source=("https://ziglang.org/download/$pkgver/zig-$pkgver.tar.xz;) -sha256sums=('55ae16960f152bcb9cf98b4f8570902d0e559a141abf927f0d3555b7cc838a31') +sha256sums=('5d167dc19354282dd35dd17b38e99e1763713b9be8a4ba9e9e69284e059e7204') build() { cd "$pkgname-$pkgver" @@ -20,15 +20,10 @@ cd build # The zig CMakeLists uses build type Debug if not set # override it back to None so makepkg env vars are respected -# Zig vendors LLD as a workaround for an upstream bug when targetting OSX -# - https://github.com/ziglang/zig/issues/662 -# - https://bugs.llvm.org/show_bug.cgi?id=32254 -# - http://lists.llvm.org/pipermail/llvm-dev/2017-August/116904.html cmake \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ --DZIG_FORCE_EXTERNAL_LLD=ON \ --DZIG_SKIP_INSTALL_LIB_FILES=ON \ +-DZIG_PREFER_CLANG_CPP_DYLIB=ON \ .. make } @@ -44,14 +39,5 @@ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -cd build -# Need to re-configure so lib files are installed. -# See https://github.com/ziglang/zig/issues/2221#issuecomment-535335570 -cmake \ --DCMAKE_BUILD_TYPE=None \ --DCMAKE_INSTALL_PREFIX=/usr \ --DZIG_FORCE_EXTERNAL_LLD=ON \ --DZIG_SKIP_INSTALL_LIB_FILES=OFF \ -.. -make DESTDIR="$pkgdir" install +make -C build DESTDIR="$pkgdir" install }