sin-ackandEric Joldasov 33f22ac2fd zig-utils.eclass: add ZIG_NEEDS_LLVM variable
If set to a non-empty value, the package will BDEPEND on a Zig package
with LLVM enabled. This is currently required for packages that require
C/C++ source files to be compiled with Zig.

There's some special logic required to detect which Zig binary we should
actually use, because we may have dev-lang/zig[-llvm] installed with
dev-lang/zig-bin (in which case we would need to pick zig-bin over zig).

Tested in a clean stage3 chroot with dev-lang/zig[-llvm] and
dev-lang/zig-bin installed, in which case zig-utils.eclass will pick
zig-bin over zig.

Co-authored-by: Eric Joldasov <bratishkaerik@landless-city.net>
Signed-off-by: sin-ack <sin-ack@protonmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2025-01-08 08:32:59 +02:00
2025-01-05 03:52:16 +01:00
2024-12-22 10:57:35 +01:00
2025-01-07 11:10:23 +01:00
2025-01-07 19:51:52 +00:00
2025-01-03 18:36:26 +02:00
2024-12-30 20:40:57 +01:00
2025-01-02 11:44:00 +01:00
2025-01-05 22:22:32 +00:00
2024-12-29 00:00:18 +00:00
2025-01-04 15:07:33 -05:00
2025-01-06 07:23:30 +00:00
2025-01-05 00:25:29 +01:00
2025-01-08 01:19:07 +02:00
2025-01-07 21:19:07 +02:00
2024-12-25 15:52:14 +01:00
2025-01-07 23:15:38 -05:00
2024-12-31 11:26:52 +01:00
2025-01-07 19:52:48 +00:00
2025-01-04 23:08:01 +00:00
…
2025-01-01 01:00:00 +01:00
2025-01-01 01:00:00 +01:00
S
Description
No description provided
9.8 GiB
Languages
Shell 97.9%
Roff 1.4%
Emacs Lisp 0.2%
C 0.1%