Gentoo Archives: gentoo-dev

From: Eric Joldasov <bratishkaerik@××××××××××××.me>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] new virtual for zig
Date: Wed, 17 Aug 2022 10:45:29
Message-Id: 8D967AFF-D4D5-4D67-A6A9-82D77F690E6F@getgoogleoff.me
In Reply to: Re: [gentoo-dev] new virtual for zig by "Michał Górny"
1 Sounds good, thank you!
2
3 On August 17, 2022 5:43:53 AM UTC, "Michał Górny" <mgorny@g.o> wrote:
4 >On Tue, 2022-08-16 at 22:48 +0000, Eric Joldasov wrote:
5 >> Hello everyone,
6 >>
7 >> 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.
8 >>
9 >> [1] https://github.com/gentoo/gentoo/pull/26325
10 >> [2] https://github.com/ziglang/zig/wiki/Troubleshooting-Build-Issues#high-memory-requirements
11 >> [3] https://bugs.gentoo.org/823086
12 >>
13 >
14 >In general that's a valid use of virtual and I don't exactly mind having
15 >it added but if it's just one package, perhaps it'd be better to start
16 >with a simple || dep and see how things develop?
17 >