restrict chromium and qtwebengine (which basically compiles chromium) to

-j2 to restrict memory usage
This commit is contained in:
Fredrik Eriksson 2021-02-26 19:39:38 +01:00
parent d93ebe6a55
commit f21eaaa91c
Signed by: feffe
GPG Key ID: F4329687B0FA7F8D
4 changed files with 3 additions and 4 deletions

View File

@ -1,2 +0,0 @@
nr_cpu=$(lscpu -p | egrep -v '^#' | wc -l)
export MAKEOPTS="-j$(( ${nr_cpu}/2 )) -l$(( ${nr_cpu}/4 ))"

View File

@ -0,0 +1 @@
export MAKEOPTS="-j2 -l2"

View File

@ -1 +1 @@
www-client/chromium half_parallell.rc
www-client/chromium makeopts-j2.rc

View File

@ -1 +1 @@
dev-qt/qtwebengine half_parallell.rc
dev-qt/qtwebengine makeopts-j2.rc