summaryrefslogtreecommitdiff
path: root/dev-lang/zig/files
AgeCommit message (Collapse)Author
2025-09-01dev-lang/zig: add 0.15.1Arnau Camprubí
Signed-off-by: Arnau Camprubí <arnauxabia@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43546 Signed-off-by: Sam James <sam@gentoo.org>
2025-05-31dev-lang/zig: add 0.14.1Eric Joldasov
Also removed old notice about standard library documentation and restructuted filter logic for test step arguments. Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net> Part-of: https://github.com/gentoo/gentoo/pull/42374 Signed-off-by: Sam James <sam@gentoo.org>
2025-02-16dev-lang/zig: drop 0.13.0-r1Eric Joldasov
Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net> Signed-off-by: Sam James <sam@gentoo.org>
2024-12-15dev-lang/zig: add 0.13.0-r2Eric Joldasov
* Update to use llvm-r1 eclass instead of llvm, zig and zig-utils eclasses instead of local get_zig_mcpu etc. functions. * Port "llvm USE-flag" from 9999 ebuild. * "stage3" compilation is unified by combining build.zig options, now both cmake (+llvm) and bootstrap.c (-llvm) build up to "zig2" target, after that we use zig.eclass with common options. * Before migrating to the zig.eclass, test steps in src_test have been ran sequentially in for-loop, which allowed logic inside each step to ran parallelly but not several steps at a time. Now we use upstream "test" step instead of separately calling all dependant steps, so that build system can now ran all of them paralelly. This means time spent in `src_test` is now significantly shorter. * "zig2" in both scenarios now has explicit target which is set by using zig-utils.eclass functions on a CBUILD/CHOST. This allows us to skip convertion logic in CMake and bootstrap.c, so that instead of patching them we can just update converter in zig-utils.eclass and unify target behaviour. * Disable autodocs generation for "std" module, since it can now be generated on-fly with `zig std` command. Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net> Signed-off-by: Sam James <sam@gentoo.org>
2024-08-22dev-lang/zig: drop 0.11.0-r1, 0.12.0Eric Joldasov
Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net> Closes: https://github.com/gentoo/gentoo/pull/38005 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2024-08-07dev-lang/zig: add 0.13.0Aliaksei Urbanski
Release: - https://ziglang.org/download/0.13.0/release-notes.html - https://github.com/ziglang/zig/releases/tag/0.13.0 Closes: https://bugs.gentoo.org/933854 Co-authored-by: Jean-Baptiste "Jiboo" Lepesme <lepesme.jb@gmail.com> Signed-off-by: Aliaksei Urbanski <aliaksei.urbanski@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
2023-11-22dev-lang/zig{,-bin}: fix getconf patch for instances with whitespaces in ↵Eric Joldasov
between outputs Fixes: 42ac667416fe133255c3baca620e9af61315cb3b Fixes: 69c2497bbaf42a517fe3449f749609b4449b7952 Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/33871 Signed-off-by: Sam James <sam@gentoo.org>
2023-10-27dev-lang/zig: drop 0.10.1-r3Eric Joldasov
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Signed-off-by: Sam James <sam@gentoo.org>
2023-10-27dev-lang/zig: patch 0.11.0 to use getconf when detecting glibc versionEric Joldasov
Bug: https://bugs.gentoo.org/914731 Bug: https://bugs.gentoo.org/914101 Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Signed-off-by: Sam James <sam@gentoo.org>
2023-07-09dev-lang/zig: Backport fix for musl 1.2.4Violet Purcell
Signed-off-by: Violet Purcell <vimproved@inventati.org> Signed-off-by: Sam James <sam@gentoo.org>
2023-03-17dev-lang/zig: drop 0.10.0-r1, 0.10.1Eric Joldasov
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Signed-off-by: Florian Schmaus <flow@gentoo.org>
2023-01-14dev-lang/zig: fix patch from previous commitEric Joldasov
I'm sorry for possible incovenience caused by this (I hope that it was, since it didn't look SO bad). Explained in and rebased upstream PR too. Fixes: 28fcae31f91eb30b62c8d55b39207238d377f0c2 Closes: https://bugs.gentoo.org/890457 Closes: https://bugs.gentoo.org/890459 Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Signed-off-by: Sam James <sam@gentoo.org>
2023-01-11dev-lang/zig: use correct binary for testing 0.10.0Eric Joldasov
According to upstream [1], 'stage3' binary should be used for testing instead of 'stage2'. Thanks to Frederik Schwan and Sam James for pointing this out! Also split tests so than we can know more accurately what test step failed. [1] https://www.github.com/ziglang/zig/issues/14240#issuecomment-1374634325 Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/29059 Signed-off-by: Sam James <sam@gentoo.org>
2023-01-08dev-lang/zig: add patch from upstream for 0.10.0Eric Joldasov
Closes: https://bugs.gentoo.org/886569 Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/28997 Signed-off-by: Sam James <sam@gentoo.org>
2022-12-01dev-lang/zig: drop 0.9.1-r3Eric Joldasov
Closes: https://bugs.gentoo.org/876181 Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/28492 Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-10-18dev-lang/zig: fix building with Clang 16, fix searching LLDEric Joldasov
Upstream PR https://github.com/ziglang/zig/pull/13121 Closes: https://bugs.gentoo.org/877231 Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/27718 Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-09-19dev-lang/zig: drop unnecessary patch for 9999Eric Joldasov
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Signed-off-by: Sam James <sam@gentoo.org>
2022-09-11dev-lang/zig: add patches for 0.9.1Eric Joldasov
Bug: https://bugs.gentoo.org/780612 Bug: https://bugs.gentoo.org/829959 Bug: https://bugs.gentoo.org/866374 Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Signed-off-by: Sam James <sam@gentoo.org>
2022-09-05dev-lang/zig: always install self-hosted compiler, workaround upstream cmake ↵Eric Joldasov
bugs Closes: https://bugs.gentoo.org/867592 Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/27112 Signed-off-by: Sam James <sam@gentoo.org>
2022-08-22dev-lang/zig: block dev-lang/zig-bin, add risv stage0 patch for 0.9.1Eric Joldasov
Bug: https://bugs.gentoo.org/851732 Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
2022-07-15dev-lang/zig: enable LLVM 14 on -9999BratishkaErik
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/26320 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2022-05-27dev-lang/zig: add threads USE flagBratishkaErik
Signed-off-by: BratishkaErik <bratishkaerik@getgoogleoff.me> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2022-04-30dev-lang/zig: add stage2 support (on -9999)BratishkaErik
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: BratishkaErik <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/25085 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2020-07-31dev-lang/zig: Remove old (LLVM 8)Michał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2019-08-07dev-lang/zig: switch to EAPI=6, use patch filesNick Erdmann
Signed-off-by: Nick Erdmann <n@nirf.de> Signed-off-by: Joonas Niilola <juippis@gentoo.org>