From 454f07e0102d727877330d4c1368d7be247c2948 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Thu, 15 Aug 2024 15:55:24 -0700 Subject: 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. --- home/xyz/.profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'home/xyz/.profile') 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 -- cgit v1.2.3-70-g09d2