summaryrefslogtreecommitdiff
path: root/home/xyz
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2024-08-15 15:55:24 -0700
committerXiao Pan <xyz@flylightning.xyz>2024-08-15 15:55:24 -0700
commit739866921ec0d5333f4b32d23e64f8a413c99184 (patch)
tree5787c8dd76f84494daa2b7f91531469fc9b1c9a4 /home/xyz
parentbc328a3d773809ae7f98931118120b200e3c6dac (diff)
ca `nproc --all` report wrong cpu thread count
ca actual cpu threads are 3, `nproc --all` wrongly report as 128. I tested on all my computers and it seems nproc output is fine. Weird thing is only ca report nproc and `nproc --all` differently. Anyway, I just use nproc instead.
Diffstat (limited to 'home/xyz')
-rw-r--r--home/xyz/.profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/xyz/.profile b/home/xyz/.profile
index 4add2fce..b4102018 100644
--- a/home/xyz/.profile
+++ b/home/xyz/.profile
@@ -51,7 +51,7 @@ export QT_QPA_PLATFORMTHEME=gtk2
export CLICOLOR=1
# for pacdiff, without using aur neovim-drop-in or neovim-symlinks
export DIFFPROG='nvim -d'
-export MAKEFLAGS="-j$(nproc --all)"
+export MAKEFLAGS="-j$(nproc)"
export DOTREMINDERS="$HOME/programs/reminders/.reminders"
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx