Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 854c2ae

Browse files
committed
Remove dead NPROCS code now that we use getconf
1 parent 0e2773f commit 854c2ae

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

build.sh

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -62,21 +62,6 @@ check_prereqs()
6262

6363
build_coreclr()
6464
{
65-
#determine nproc in a platform independent way
66-
NPROCS=1
67-
OS=`uname`
68-
69-
if [ $OS = "Linux" ]; then
70-
NPROCS=`grep -c ^processor /proc/cpuinfo`
71-
elif [ $OS = "Darwin" ]; then
72-
NPROCS=`sysctl hw.ncpu | awk '{print $2}'`
73-
else
74-
echo Failed to detect build platform.
75-
exit 1
76-
fi
77-
78-
NPROCS=1
79-
8065
# All set to commence the build
8166

8267
echo Commencing build of native components for $__BuildArch/$__BuildType

0 commit comments

Comments
 (0)