On 6/3/15 10:56 PM, Mike Gilbert wrote: > The chromium build issue is a point of some contention; see the bug below. > > https://bugs.gentoo.org/show_bug.cgi?id=471810 > > I agree that it makes sense to check virtual memory. I guess that > would be MemTotal + SwapTotal in /proc/meminfo. > > It would also probably make more sense to check available memory > (MemAvailable + SwapFree). Maybe that should be implemented in a new > function, like check-reqs_memory_available.
Agreed. I think one of the issues is that the eclass aims to support multiple kernels, not just Linux. It's not obvious how to implement such check portably for non-Linux systems. Maybe we could keep it just Linux-only. I'm totally open to suggestions from the community. Paweł
signature.asc
Description: OpenPGP digital signature