Remove dead NPROCS code now that we use getconf
authorGeoff Norton <grompf@gmail.com>
Sat, 7 Feb 2015 02:48:29 +0000 (18:48 -0800)
committerGeoff Norton <grompf@gmail.com>
Sat, 7 Feb 2015 02:48:29 +0000 (18:48 -0800)
build.sh

index f9963fc..61b3cbc 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -62,21 +62,6 @@ check_prereqs()
 
 build_coreclr()
 {
-    #determine nproc in a platform independent way
-    NPROCS=1
-    OS=`uname`
-
-    if [ $OS = "Linux" ]; then
-      NPROCS=`grep -c ^processor /proc/cpuinfo`
-    elif [ $OS = "Darwin" ]; then
-      NPROCS=`sysctl hw.ncpu | awk '{print $2}'`
-    else
-      echo Failed to detect build platform.
-      exit 1
-    fi
-
-    NPROCS=1
-
     # All set to commence the build
     
     echo Commencing build of native components for $__BuildArch/$__BuildType