aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-01-12 08:54:06 -0300
committerEuAndreh <eu@euandre.org>2024-01-12 08:54:10 -0300
commit4bb894e747cccb6142040b10bc598fe30c07b92a (patch)
tree024a5565b9e311203623628028f82833a37030a6
parentetc/sh/rc: Refine $CFLAGS (diff)
downloaddotfiles-4bb894e747cccb6142040b10bc598fe30c07b92a.tar.gz
dotfiles-4bb894e747cccb6142040b10bc598fe30c07b92a.tar.xz
etc/sh/rc: Use 9 threads on $MAKEFLAGS
After all, we're IO bound in velhinho.
-rw-r--r--etc/sh/rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/sh/rc b/etc/sh/rc
index 2ac08cb..6398360 100644
--- a/etc/sh/rc
+++ b/etc/sh/rc
@@ -113,7 +113,7 @@ export TG_API_ID TG_API_HASH
NPROC="$(nproc)"
export NPROC
GUILE_EFFECTIVE_VERSION="$(guile -c '(display (effective-version))')"
-export MAKEFLAGS="-j $NPROC"
+export MAKEFLAGS="-j $(($(nproc) * 2 + 1))"
export GOPATH="$SRC/go"
export VG_FLAGS='
--show-error-list=yes