Skip to content

Commit

Permalink
Set NumProc on tizen (#53098)
Browse files Browse the repository at this point in the history
  • Loading branch information
gbalykov authored May 24, 2021
1 parent 51d6f17 commit c8c4ead
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eng/native/build-commons.sh
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,8 @@ elif [[ "$platform" == "Darwin" ]]; then
else
if command -v nproc > /dev/null 2>&1; then
__NumProc=$(nproc --all)
elif (NAME=""; . /etc/os-release; test "$NAME" = "Tizen"); then
__NumProc=$(getconf _NPROCESSORS_ONLN)
else
__NumProc=1
fi
Expand Down

0 comments on commit c8c4ead

Please sign in to comment.