public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] new virtual for zig
@ 2022-08-16 22:48 Eric Joldasov
  2022-08-17  5:43 ` Michał Górny
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Joldasov @ 2022-08-16 22:48 UTC (permalink / raw
  To: gentoo-dev

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] new virtual for zig
  2022-08-16 22:48 [gentoo-dev] new virtual for zig Eric Joldasov
@ 2022-08-17  5:43 ` Michał Górny
  2022-08-17 10:45   ` Eric Joldasov
  0 siblings, 1 reply; 3+ messages in thread
From: Michał Górny @ 2022-08-17  5:43 UTC (permalink / raw
  To: gentoo-dev

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] new virtual for zig
  2022-08-17  5:43 ` Michał Górny
@ 2022-08-17 10:45   ` Eric Joldasov
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Joldasov @ 2022-08-17 10:45 UTC (permalink / raw
  To: gentoo-dev

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?
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-17 10:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-16 22:48 [gentoo-dev] new virtual for zig Eric Joldasov
2022-08-17  5:43 ` Michał Górny
2022-08-17 10:45   ` Eric Joldasov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox