* [PR PATCH] zig: update to 0.6.0.
@ 2020-05-11 12:50 ifreund
2020-05-11 12:51 ` ifreund
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: ifreund @ 2020-05-11 12:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 523 bytes --]
There is a new pull request by ifreund against master on the void-packages repository
https://github.com/ifreund/void-packages update-zig
https://github.com/void-linux/void-packages/pull/21836
zig: update to 0.6.0.
- Cleaned up the (host)makedepends, not sure why all this stuff was there.
- The `ZIG_STATIC` build options defaults to off, so dont set it.
- The cleanup preformed in post_extract() seems to no longer be needed.
A patch file from https://github.com/void-linux/void-packages/pull/21836.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update-zig-21836.patch --]
[-- Type: text/x-diff, Size: 1558 bytes --]
From a42cec9589ca449918df63c7cac9a87025e402b3 Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Mon, 11 May 2020 14:46:32 +0200
Subject: [PATCH] zig: update to 0.6.0.
- Cleaned up the (host)makedepends, not sure why all this stuff was there.
- The `ZIG_STATIC` build options defaults to off, so dont set it.
- The cleanup preformed in post_extract() seems to no longer be needed.
---
srcpkgs/zig/template | 15 ++++-----------
1 file changed, 4 insertions(+), 11 deletions(-)
diff --git a/srcpkgs/zig/template b/srcpkgs/zig/template
index 6cf28b61790..829642b3532 100644
--- a/srcpkgs/zig/template
+++ b/srcpkgs/zig/template
@@ -1,26 +1,19 @@
# Template file for 'zig'
pkgname=zig
-version=0.5.0
+version=0.6.0
revision=1
archs="x86_64*"
build_style=cmake
-configure_args="-DZIG_STATIC=FALSE"
-hostmakedepends="clang llvm9"
-makedepends="libxml2-devel ncurses-devel zlib-devel"
+makedepends="llvm10 lld-devel"
short_desc="Programming language designed for robustness, optimality, and clarity"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="MIT"
homepage="https://ziglang.org/"
distfiles="https://ziglang.org/download/${version}/zig-${version}.tar.xz"
-checksum=55ae16960f152bcb9cf98b4f8570902d0e559a141abf927f0d3555b7cc838a31
+checksum=5d167dc19354282dd35dd17b38e99e1763713b9be8a4ba9e9e69284e059e7204
nopie=yes
nocross=yes
-post_extract() {
- # don't install build artefacts
- vsed -i -e '/${ZIG_CPP_LIB_DIR}/d' CMakeLists.txt
-}
-
post_install() {
- vlicense LICENSE
+ vlicense LICENSE
}
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: zig: update to 0.6.0.
2020-05-11 12:50 [PR PATCH] zig: update to 0.6.0 ifreund
@ 2020-05-11 12:51 ` ifreund
2020-05-11 12:55 ` Duncaen
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ifreund @ 2020-05-11 12:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 235 bytes --]
New comment by ifreund on void-packages repository
https://github.com/void-linux/void-packages/pull/21836#issuecomment-626682135
Comment:
@Duncaen you're listed as the maintainer of this package. Would you mind giving this a review?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: zig: update to 0.6.0.
2020-05-11 12:50 [PR PATCH] zig: update to 0.6.0 ifreund
2020-05-11 12:51 ` ifreund
@ 2020-05-11 12:55 ` Duncaen
2020-05-11 14:43 ` Duncaen
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Duncaen @ 2020-05-11 12:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 167 bytes --]
New comment by Duncaen on void-packages repository
https://github.com/void-linux/void-packages/pull/21836#issuecomment-626684295
Comment:
The "cleanup" seems wrong.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: zig: update to 0.6.0.
2020-05-11 12:50 [PR PATCH] zig: update to 0.6.0 ifreund
2020-05-11 12:51 ` ifreund
2020-05-11 12:55 ` Duncaen
@ 2020-05-11 14:43 ` Duncaen
2020-05-11 14:44 ` [PR PATCH] [Merged]: " Duncaen
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Duncaen @ 2020-05-11 14:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 167 bytes --]
New comment by Duncaen on void-packages repository
https://github.com/void-linux/void-packages/pull/21836#issuecomment-626684295
Comment:
The "cleanup" seems wrong.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR PATCH] [Merged]: zig: update to 0.6.0.
2020-05-11 12:50 [PR PATCH] zig: update to 0.6.0 ifreund
` (2 preceding siblings ...)
2020-05-11 14:43 ` Duncaen
@ 2020-05-11 14:44 ` Duncaen
2020-05-11 14:46 ` Vaelatern
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Duncaen @ 2020-05-11 14:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 369 bytes --]
There's a merged pull request on the void-packages repository
zig: update to 0.6.0.
https://github.com/void-linux/void-packages/pull/21836
Description:
- Cleaned up the (host)makedepends, not sure why all this stuff was there.
- The `ZIG_STATIC` build options defaults to off, so dont set it.
- The cleanup preformed in post_extract() seems to no longer be needed.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: zig: update to 0.6.0.
2020-05-11 12:50 [PR PATCH] zig: update to 0.6.0 ifreund
` (3 preceding siblings ...)
2020-05-11 14:44 ` [PR PATCH] [Merged]: " Duncaen
@ 2020-05-11 14:46 ` Vaelatern
2020-05-11 14:52 ` Duncaen
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Vaelatern @ 2020-05-11 14:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 298 bytes --]
New comment by Vaelatern on void-packages repository
https://github.com/void-linux/void-packages/pull/21836#issuecomment-626749333
Comment:
@ifreund can you please verify that you know the difference between makedepends and hostmakedepends? I don't understand your move of llvm10 to makedepends.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: zig: update to 0.6.0.
2020-05-11 12:50 [PR PATCH] zig: update to 0.6.0 ifreund
` (4 preceding siblings ...)
2020-05-11 14:46 ` Vaelatern
@ 2020-05-11 14:52 ` Duncaen
2020-05-11 14:57 ` Vaelatern
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Duncaen @ 2020-05-11 14:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 298 bytes --]
New comment by Duncaen on void-packages repository
https://github.com/void-linux/void-packages/pull/21836#issuecomment-626754087
Comment:
its correct, it links the llvm libraries, it doesn't matter if you use gcc or clang as host compiler and "llvm10" is the "-devel" package, there is no split.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: zig: update to 0.6.0.
2020-05-11 12:50 [PR PATCH] zig: update to 0.6.0 ifreund
` (5 preceding siblings ...)
2020-05-11 14:52 ` Duncaen
@ 2020-05-11 14:57 ` Vaelatern
2020-05-11 15:00 ` q66
2020-05-11 15:07 ` ifreund
8 siblings, 0 replies; 10+ messages in thread
From: Vaelatern @ 2020-05-11 14:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 177 bytes --]
New comment by Vaelatern on void-packages repository
https://github.com/void-linux/void-packages/pull/21836#issuecomment-626756867
Comment:
And I've learned something! Thanks
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: zig: update to 0.6.0.
2020-05-11 12:50 [PR PATCH] zig: update to 0.6.0 ifreund
` (6 preceding siblings ...)
2020-05-11 14:57 ` Vaelatern
@ 2020-05-11 15:00 ` q66
2020-05-11 15:07 ` ifreund
8 siblings, 0 replies; 10+ messages in thread
From: q66 @ 2020-05-11 15:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 330 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/pull/21836#issuecomment-626758681
Comment:
the removal of clang from dependencies is wrong though.
right now that doesn't show because for some reason llvm10 depends on clang, i'm investigating that
but re-add clang to makedepends
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: zig: update to 0.6.0.
2020-05-11 12:50 [PR PATCH] zig: update to 0.6.0 ifreund
` (7 preceding siblings ...)
2020-05-11 15:00 ` q66
@ 2020-05-11 15:07 ` ifreund
8 siblings, 0 replies; 10+ messages in thread
From: ifreund @ 2020-05-11 15:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 165 bytes --]
New comment by ifreund on void-packages repository
https://github.com/void-linux/void-packages/pull/21836#issuecomment-626763235
Comment:
good catch, PR up #21838
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2020-05-11 15:07 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-11 12:50 [PR PATCH] zig: update to 0.6.0 ifreund
2020-05-11 12:51 ` ifreund
2020-05-11 12:55 ` Duncaen
2020-05-11 14:43 ` Duncaen
2020-05-11 14:44 ` [PR PATCH] [Merged]: " Duncaen
2020-05-11 14:46 ` Vaelatern
2020-05-11 14:52 ` Duncaen
2020-05-11 14:57 ` Vaelatern
2020-05-11 15:00 ` q66
2020-05-11 15:07 ` ifreund
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).