On Tue, Jun 29, 2021, at 4:25 PM, Ben Cotton wrote:
https://fedoraproject.org/wiki/Changes/MemoryConstraintsMacros
== Summary ==
Introduce macros, similar to openSUSE's
[
https://build.opensuse.org/package/show/openSUSE:Factory/memory-constraints
memory-constraints]), for optionally limiting build parallelism for
build-time memory-bound packages
If our RPM builds were Kubernetes pods (or executed via podman, which understands the same
things), it'd make sense to use
https://kubernetes.io/docs/concepts/configuration/manage-resources-contai...
Plus there's a whole ecosystem around that, like the vertical pod autoscaler:
https://docs.openshift.com/container-platform/4.7/nodes/pods/nodes-pods-v...