On Tue, 2022-08-16 at 22:48 +0000, Eric Joldasov wrote:
> Hello everyone,
> I'd like to introduce "zig" virtual package that will be satisfied by 
> "dev-lang/zig-bin" or "dev-lang/zig" package [1]. The main reason is that 
> compilation of "dev-lang/zig" requires a lot of RAM [2] (10 GB, which makes 
> it impossible to build on x86 arch) and depends on LLVM, which can be a big 
> problem for people who just want to upgrade "sys-fs/ncdu" (the only reverse 
> dependency) or use this programming language on systems with small amount of 
> RAM.
> [1] https://github.com/gentoo/gentoo/pull/26325
> [2] 
> https://github.com/ziglang/zig/wiki/Troubleshooting-Build-Issues#high-memory-requirements
> [3] https://bugs.gentoo.org/823086

In general that's a valid use of virtual and I don't exactly mind having
it added but if it's just one package, perhaps it'd be better to start
with a simple || dep and see how things develop?

Best regards,
Michał Górny

Reply via email to