From befc95b0eba6c82a8277f8e38ad9ee13dc2a8a6f Mon Sep 17 00:00:00 2001 From: makpif Date: Tue, 11 Jan 2022 19:14:58 +0300 Subject: [PATCH] fix strange threads counting --- docs/scripts/profile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/scripts/profile.sh b/docs/scripts/profile.sh index f27c9cae..adccc309 100644 --- a/docs/scripts/profile.sh +++ b/docs/scripts/profile.sh @@ -77,7 +77,7 @@ export CFLAGS="-O3 -s" export CXXFLAGS="-O3 -s" # makeflags for paralell make -export MAKEFLAGS=-j$(lscpu | grep "CPU(s):" | grep -v NUMA | tr -d "CPU(s): ") +export MAKEFLAGS=-j$(nproc) # End /etc/profile EOF