Skip to content

Commit ed3f804

Browse files
committed
script: use python to get number of jobs
Signed-off-by: Anas Nashif <[email protected]>
1 parent 01d329d commit ed3f804

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ fi
1111
REQUIRED_VERSION=1.23.0
1212
COMMIT="d5900debd397b8909d9cafeb9a1093fb7a5dc6e6"
1313
GITDIR=${PWD}
14-
JOBS=$(grep -c ^processor /proc/cpuinfo)
14+
JOBS=$(python -c 'import multiprocessing as mp; print(mp.cpu_count())')
1515

1616
unameOut="$(uname -s)"
1717
case "${unameOut}" in

0 commit comments

Comments
 (0)