Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] zig: update to 0.12.0
@ 2024-04-20 16:14 OliveThePuffin
  2024-04-20 16:16 ` [PR PATCH] [Updated] " OliveThePuffin
                   ` (41 more replies)
  0 siblings, 42 replies; 43+ messages in thread
From: OliveThePuffin @ 2024-04-20 16:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1090 bytes --]

There is a new pull request by OliveThePuffin against master on the void-packages repository

https://github.com/OliveThePuffin/void-packages master
https://github.com/void-linux/void-packages/pull/49935

zig: update to 0.12.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: YES

#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC) x86_64-glibc

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for these architectures (if supported. mark crossbuilds): x86_64
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/49935.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-49935.patch --]
[-- Type: text/x-diff, Size: 2202 bytes --]

From 504d21387311ac63cab59ccce4b6eca7c5d2c4ca Mon Sep 17 00:00:00 2001
From: rocketeer <samuel.clay99@proton.me>
Date: Sat, 20 Apr 2024 09:49:13 -0600
Subject: [PATCH 1/2] Update zig to 0.12.0

---
 srcpkgs/zig/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/zig/template b/srcpkgs/zig/template
index 52cda7e8e0cee7..92080414220459 100644
--- a/srcpkgs/zig/template
+++ b/srcpkgs/zig/template
@@ -1,20 +1,20 @@
 # Template file for 'zig'
 pkgname=zig
-version=0.10.1
-revision=3
+version=0.12.0
+revision=1
 archs="x86_64* aarch64*"
 build_style=cmake
 configure_args="-DZIG_TARGET_MCPU=baseline"
 make_cmd=make
 # we add xml2, zstd, zlib and ncurses
 # because our lld is static-only and requires those to work
-makedepends="clang15 llvm15 lld15-devel libxml2-devel libzstd-devel ncurses-devel zlib-devel"
+makedepends="clang17-devel llvm17-devel lld17-devel libxml2-devel libzstd-devel ncurses-devel zlib-devel"
 short_desc="Programming language designed for robustness, optimality, and clarity"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://ziglang.org"
 distfiles="https://ziglang.org/download/${version}/zig-${version}.tar.xz"
-checksum=69459bc804333df077d441ef052ffa143d53012b655a51f04cfef1414c04168c
+checksum=a6744ef84b6716f976dad923075b2f54dc4f785f200ae6c8ea07997bd9d9bd9a
 nopie=yes
 nocross=yes
 

From a13cd446327dad9693f07810a70381964144276f Mon Sep 17 00:00:00 2001
From: rocketeer <samuel.clay99@proton.me>
Date: Sat, 20 Apr 2024 10:04:06 -0600
Subject: [PATCH 2/2] Add cmake flags

See https://github.com/ziglang/zig/issues/12069
---
 srcpkgs/zig/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/zig/template b/srcpkgs/zig/template
index 92080414220459..4c0778bf7e1567 100644
--- a/srcpkgs/zig/template
+++ b/srcpkgs/zig/template
@@ -4,7 +4,7 @@ version=0.12.0
 revision=1
 archs="x86_64* aarch64*"
 build_style=cmake
-configure_args="-DZIG_TARGET_MCPU=baseline"
+configure_args="-DZIG_TARGET_MCPU=baseline -DCMAKE_BUILD_TYPE=Release -DZIG_STATIC_ZLIB=on"
 make_cmd=make
 # we add xml2, zstd, zlib and ncurses
 # because our lld is static-only and requires those to work

^ permalink raw reply	[flat|nested] 43+ messages in thread

end of thread, other threads:[~2024-05-25 18:23 UTC | newest]

Thread overview: 43+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-20 16:14 [PR PATCH] zig: update to 0.12.0 OliveThePuffin
2024-04-20 16:16 ` [PR PATCH] [Updated] " OliveThePuffin
2024-04-20 16:25 ` OliveThePuffin
2024-04-20 16:27 ` OliveThePuffin
2024-04-20 16:34 ` [PR REVIEW] " OliveThePuffin
2024-04-20 18:23 ` dkwo
2024-04-20 23:54 ` OliveThePuffin
2024-04-21  8:21 ` icp1994
2024-04-21 15:59 ` OliveThePuffin
2024-04-21 19:13 ` tranzystorekk
2024-04-22  2:39 ` OliveThePuffin
2024-05-03 12:41 ` realcharmer
2024-05-03 16:48 ` OliveThePuffin
2024-05-03 16:50 ` OliveThePuffin
2024-05-03 19:10 ` [PR PATCH] [Updated] " OliveThePuffin
2024-05-05 17:35 ` Luciogi
2024-05-07 15:05 ` [PR PATCH] [Closed]: " OliveThePuffin
2024-05-07 15:05 ` [PR PATCH] [Updated] " OliveThePuffin
2024-05-07 15:11 ` OliveThePuffin
2024-05-07 15:48 ` OliveThePuffin
2024-05-07 16:00 ` tranzystorekk
2024-05-20 18:30 ` dkwo
2024-05-20 18:32 ` dkwo
2024-05-20 18:42 ` dkwo
2024-05-20 18:44 ` tranzystorekk
2024-05-20 18:46 ` dkwo
2024-05-20 20:14 ` tranzystorekk
2024-05-20 22:04 ` realcharmer
2024-05-22  2:23 ` jason1987d
2024-05-23  0:36 ` [PR PATCH] [Updated] " OliveThePuffin
2024-05-23  0:43 ` OliveThePuffin
2024-05-23  0:52 ` [PR PATCH] [Updated] " OliveThePuffin
2024-05-23  0:53 ` OliveThePuffin
2024-05-23  1:20 ` OliveThePuffin
2024-05-23  7:34 ` tranzystorekk
2024-05-23  7:36 ` tranzystorekk
2024-05-23  7:48 ` tranzystorekk
2024-05-23  8:48 ` tranzystorekk
2024-05-23 11:13 ` OutOfContainment
2024-05-23 13:26 ` dkwo
2024-05-25 14:56 ` icp1994
2024-05-25 16:10 ` tranzystorekk
2024-05-25 18:23 ` tranzystorekk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).