summaryrefslogtreecommitdiff
path: root/home/xyz/.profile
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 16:19:53 -0700
commit454f07e0102d727877330d4c1368d7be247c2948 (patch)
treefb6baf2d9c411e60b51ab51771ed807c52018e60 /home/xyz/.profile
parent85f485fcb53e1d409106c34ad5daf0c41494d800 (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/.profile')
-rw-r--r--home/xyz/.profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/xyz/.profile b/home/xyz/.profile
index 3a807aae..bfaeab53 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