Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgor Bogatov <egorbo@gmail.com>2019-06-14 13:15:02 +0300
committerMarek Safar <marek.safar@gmail.com>2019-06-14 14:16:46 +0300
commit4212270b231bcc158f75fd19a4503eac979032ec (patch)
tree9e429ccac07d98bff1105f2cd222a9b8ac13c0a6 /netcore/build.sh
parenta382edc9e1106dd0ab2af87bd6a981f3b08916ec (diff)
Fix csproj
Diffstat (limited to 'netcore/build.sh')
-rwxr-xr-xnetcore/build.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/netcore/build.sh b/netcore/build.sh
index 29071f81d63..712c305d2b2 100755
--- a/netcore/build.sh
+++ b/netcore/build.sh
@@ -83,6 +83,7 @@ while [[ $# > 0 ]]; do
shift
done
+CPU_COUNT=$(getconf _NPROCESSORS_ONLN || echo 4)
# run .././autogen.sh only once or if "--rebuild" argument is provided
if [[ "$force_rebuild" == "true" || ! -f .configured ]]; then
@@ -92,8 +93,6 @@ if [[ "$force_rebuild" == "true" || ! -f .configured ]]; then
touch .configured
fi
-CPU_COUNT=$(getconf _NPROCESSORS_ONLN || echo 4)
-
# build mono runtime
if [ "$skipnative" = "false" ]; then
make runtime -j$CPU_COUNT