restrict chromium and qtwebengine (which basically compiles chromium) to
-j2 to restrict memory usage
This commit is contained in:
parent
d93ebe6a55
commit
f21eaaa91c
@ -1,2 +0,0 @@
|
||||
nr_cpu=$(lscpu -p | egrep -v '^#' | wc -l)
|
||||
export MAKEOPTS="-j$(( ${nr_cpu}/2 )) -l$(( ${nr_cpu}/4 ))"
|
1
profiles/targets/desktop/bashrc/makeopts-j2.rc
Normal file
1
profiles/targets/desktop/bashrc/makeopts-j2.rc
Normal file
@ -0,0 +1 @@
|
||||
export MAKEOPTS="-j2 -l2"
|
@ -1 +1 @@
|
||||
www-client/chromium half_parallell.rc
|
||||
www-client/chromium makeopts-j2.rc
|
||||
|
@ -1 +1 @@
|
||||
dev-qt/qtwebengine half_parallell.rc
|
||||
dev-qt/qtwebengine makeopts-j2.rc
|
||||
|
Loading…
Reference in New Issue
Block a user