summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* dev-lang/zig: update to LLVM 19 for 9999Eric Joldasov2024-09-211-1/+1
| | | | | | Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net> Closes: https://github.com/gentoo/gentoo/pull/38704 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* dev-lang/zig: drop 0.11.0-r1, 0.12.0Eric Joldasov2024-08-224-485/+0
| | | | | | 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>
* dev-lang/zig: add 0.13.0Aliaksei Urbanski2024-08-074-0/+260
| | | | | | | | | | | 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>
* dev-lang/zig: fix building with `doc` USE-flag enabled on 9999Eric Joldasov2024-08-051-2/+2
| | | | | | Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net> Closes: https://github.com/gentoo/gentoo/pull/37703 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* dev-lang/zig: update LLVM to 18, fix build without LLVM on 9999Eric Joldasov2024-05-201-2/+2
| | | | | | Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net> Closes: https://github.com/gentoo/gentoo/pull/35997 Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/zig: add verify-sig supportEric Joldasov2024-05-204-4/+33
| | | | | Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net> Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/zig: add 0.12.00x5a42024-05-192-0/+174
| | | | | | Signed-off-by: 0x5a4 <arthur@wienstroer.net> Closes: https://github.com/gentoo/gentoo/pull/36517 Signed-off-by: Sam James <sam@gentoo.org>
* */*: update email on my packagesEric Joldasov2024-03-291-1/+1
| | | | | | | | Requested in https://bugs.gentoo.org/867043 . Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net> Closes: https://github.com/gentoo/gentoo/pull/35923 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
* dev-lang/zig: add "test-c-import" step in 9999Eric Joldasov2024-02-281-1/+1
| | | | | | | | | Extracted from "test-behaviour" in https://www.github.com/ziglang/zig/pull/19016 . Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/35457 Signed-off-by: Florian Schmaus <flow@gentoo.org>
* dev-lang/zig: Migrate to llvm-r1 in 9999Eric Joldasov2024-02-111-13/+16
| | | | | | Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/35273 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* dev-lang/zig: remove ".max_rss" fields initializers from build.zig in 9999Eric Joldasov2023-12-131-0/+5
| | | | | | | | | They are too high and cause errors like below: * https://www.github.com/ziglang/zig/issues/18263 Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/34252 Signed-off-by: Florian Schmaus <flow@gentoo.org>
* dev-lang/zig: add `llvm` USE-flag for 9999Eric Joldasov2023-11-222-10/+57
| | | | | | | | | | | See upstream PR https://www.github.com/ziglang/zig/pull/17994 and https://www.github.com/ziglang/zig/commit/f8b38a174f0c4a843688fe8adac09dc4f66cd585 . LLVM-less build cannot build `sys-fs/ncdu` yet (no @cImport support), but we are close. Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/33868 Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/zig{,-bin}: fix getconf patch for instances with whitespaces in ↵Eric Joldasov2023-11-221-17/+21
| | | | | | | | | | | 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>
* dev-lang/zig: explicitly set locations for build cacheEric Joldasov2023-10-272-0/+8
| | | | | | | | | Useful for debugging and a little bit more deterministic than before. Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/33272 Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/zig: add simple `zig env` invocation to check if compiler built ↵Eric Joldasov2023-10-272-0/+4
| | | | | | | | | | | | | | | | | itself properly Will make bugs similar to following easier to spot in future because they will fall earlier and with better error message [than "`zig build std-docs` not found"]. In case "doc" USE-flag and tests are disabled, miscompilation could have been unnoticed by user at all until Zig usage, since the only calls to Zig binary in ebuild would have been skipped. Now, it will always check during "src_compile" phase and can reveal potentially hidden bug. Bug: https://bugs.gentoo.org/914101 Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/zig: drop 0.10.1-r3Eric Joldasov2023-10-274-447/+0
| | | | | Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/zig: patch 0.11.0 to use getconf when detecting glibc versionEric Joldasov2023-10-272-0/+113
| | | | | | | | 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>
* dev-lang/zig: update to LLVM 17 for 9999Eric Joldasov2023-09-261-1/+1
| | | | | | | | See also https://www.github.com/ziglang/zig/pull/17202 . Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/32935 Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/zig: add 0.11.0Eric Joldasov2023-08-252-0/+168
| | | | | Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
* dev-lang/zig: make doc generation for 9999 more reliableEric Joldasov2023-07-271-3/+3
| | | | | | | | | Use build system steps for automatically following latest changes in doc-generation. This means less frequent breakage, which is good. Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/32052 Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/zig: fix building on 9999 with "doc" USE-flag enabledEric Joldasov2023-07-261-2/+1
| | | | | | | ZIG_NO_LANGREF variable was disabled in https://github.com/ziglang/zig/commit/32a175740c8750a7db550011795a4c22c0d0bc93. Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/32035 Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/zig: Backport fix for musl 1.2.4Violet Purcell2023-07-092-0/+221
| | | | | Signed-off-by: Violet Purcell <vimproved@inventati.org> Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/zig: update testing process for 9999Eric Joldasov2023-05-131-5/+14
| | | | | | Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/30616 Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/zig: update LICENSEEric Joldasov2023-05-132-2/+24
| | | | | Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/zig: update to LLVM 16 for 9999Eric Joldasov2023-04-071-1/+1
| | | | | | Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/30508 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* dev-lang/zig: drop 0.10.0-r1, 0.10.1Eric Joldasov2023-03-174-264/+0
| | | | | Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Signed-off-by: Florian Schmaus <flow@gentoo.org>
* dev-lang/zig: adjust QA_FLAGS_IGNORED for new placementsEric Joldasov2023-03-102-2/+2
| | | | | | Closes: https://bugs.gentoo.org/900543 Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Signed-off-by: Florian Schmaus <flow@gentoo.org>
* dev-lang/zig: sync liveFlorian Schmaus2023-03-091-1/+2
| | | | Signed-off-by: Florian Schmaus <flow@gentoo.org>
* dev-lang/zig(-bin): eselect-zig is an IDEPENDFlorian Schmaus2023-03-091-1/+2
| | | | Signed-off-by: Florian Schmaus <flow@gentoo.org>
* dev-lang/zig: ensure 'zig' symlink is valid if possibleFlorian Schmaus2023-03-092-0/+14
| | | | Signed-off-by: Florian Schmaus <flow@gentoo.org>
* dev-lang/zig: downgrade ewarn to elogFlorian Schmaus2023-03-091-3/+3
| | | | | | | | ewarn and higher should, if possible, only be used conditionally and check-reqs_pkg_setup already issues a warning if the memory requirements are not met. Signed-off-by: Florian Schmaus <flow@gentoo.org>
* dev-lang/zig: slotting, initial support for setting ZIG_{MCPU,TARGET}Eric Joldasov2023-03-092-6/+241
| | | | | | | | | | | | | | * Install Zig to "/usr/$(get_libdir)/zig/${PV}", handle /usr/bin/zig via eselect-zig * Add functions for getting ZIG_TARGET and ZIG_MCPU (user-provided or defaults) and use them for building/testing * Add "doc" USE flag for installing language reference and stdlib documentation Closes: https://bugs.gentoo.org/885861 Bug: https://bugs.gentoo.org/890234 Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Signed-off-by: Florian Schmaus <flow@gentoo.org>
* dev-lang/zig: drop 0.10.0-r2Eric Joldasov2023-01-201-134/+0
| | | | | | | It shouldn't be here. Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/29182 Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/zig: add 0.10.1Eric Joldasov2023-01-203-0/+234
| | | | | Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/zig: use "edob" for testing 0.10.0Eric Joldasov2023-01-141-17/+12
| | | | | | | | | | | | As suggested by Sam James. I'm not touching live version yet as PR is not merged yet and upstream plans to add some tests [that requires network access] for their newly-created package manager (literally today) and related stuff (TLS client/server etc.). I'll try to cooperate with them and add option that will skip these tests. Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/29090 Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/zig: fix patch from previous commitEric Joldasov2023-01-142-5/+19
| | | | | | | | | | | | 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>
* dev-lang/zig: use correct binary for testing 0.10.0Eric Joldasov2023-01-112-1/+45
| | | | | | | | | | | | | 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>
* dev-lang/zig: add patch from upstream for 0.10.0Eric Joldasov2023-01-082-1/+68
| | | | | | | 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>
* dev-lang/zig: relax memory requirements for 9999Eric Joldasov2022-12-142-10/+14
| | | | | | | | | | https://www.github.com/ziglang/zig/commit/e7d28344fa3ee81d6ad7ca5ce1f83d50d8502118 was merged recently, so memory usage (when building) drops from ~10GB to ~4GB Bug: https://bugs.gentoo.org/823086 Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/28581 Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/zig: drop 0.9.1-r3Eric Joldasov2022-12-016-183/+0
| | | | | | | 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>
* dev-lang/zig: drop "threads" and "test" USE flags for 9999Eric Joldasov2022-11-081-3/+0
| | | | | | | See commit f28480799d348da161f8d121df2fb99c73250ab3. Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/28177 Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/zig: style tweaksSam James2022-11-072-13/+13
| | | | | | Have all functions be together. Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/zig: add 0.10.0Eric Joldasov2022-11-073-5/+86
| | | | | | | | | | | Drop "threads" USE flag, since this is default and well-tested configuration by upstream. Drop "test" USE flag, since it doesn't require special dependencies (or preparations) necessary to run tests. Bug: https://bugs.gentoo.org/876181 Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/zig: requires zstd support in LLVMEric Joldasov2022-10-301-2/+5
| | | | | | | | | | | | | | Starting with https://github.com/ziglang/zig/commit/d42a719e8f7ba31a9e18d6be9d58691b0b38c69a Zig requires zstd compression support. Zig requires zstd and zlib compression support in LLVM, if using LLVM backend (non-LLVM backends don't require these). They are not required "on their own", so please don't add them to dependencies. You can check https://github.com/ziglang/zig-bootstrap in future, to see options that are passed to LLVM CMake building (excluding "static" ofc). Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/27964 Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/zig: use standard CMake procedure for building/installingEric Joldasov2022-10-211-8/+1
| | | | | | | Upstream PR https://github.com/ziglang/zig/pull/13036 Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/27849 Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/zig: fix building with Clang 16, fix searching LLDEric Joldasov2022-10-182-0/+25
| | | | | | | | | 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>
* dev-lang/zig: fix MissingSlotDep on LLDSam James2022-10-152-8/+6
| | | | | | LLD is slotted now. Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/zig: update to LLVM 15 for 9999Eric Joldasov2022-09-191-1/+1
| | | | | | | Closes: https://bugs.gentoo.org/871462 Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/27221 Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/zig: drop unnecessary patch for 9999Eric Joldasov2022-09-192-15/+0
| | | | | Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/zig: add patches for 0.9.1Eric Joldasov2022-09-113-0/+30
| | | | | | | | 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>