• [gentoo-dev] new virtual for zig

    From Eric Joldasov@21:1/5 to All on Wed Aug 17 00:50:01 2022
    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

    Thanks in advance,
    Eric

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?=@21:1/5 to Eric Joldasov on Wed Aug 17 07:50:01 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eric Joldasov@21:1/5 to mgorny@gentoo.org on Wed Aug 17 12:50:01 2022
    Sounds good, thank you!

    On August 17, 2022 5:43:53 AM UTC, "Michał Górny" <mgorny@gentoo.org> wrote: >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?


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)