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

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarthik Rajasekaran <karajas@microsoft.com>2016-11-22 01:07:12 +0300
committerKarthik Rajasekaran <karajas@microsoft.com>2016-12-12 22:05:45 +0300
commita63992c08591625787ec1d018f6f2bf81335af43 (patch)
treef912f08e270c66117145809f768aaa79a510fcc7 /build.sh
parent263c6184391bc12065cb11760f75ba6b9bb09cdb (diff)
Update BuildToolsVersion to 1021-01
Exit build.cmd with exit code Add useServerGC parsing to build.sh Moving installed packages out of bin dir This was done to allow Packer.exe to work. Changing install path to non-conditioned propertygroup Build native packages after managed build of binaries This is because the build packages step invokes the Run tool to determine the FilterToOSGroup on each platform respectively.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index a953753ece..5e2d8a124b 100755
--- a/build.sh
+++ b/build.sh
@@ -23,11 +23,37 @@ fi
__scriptpath=$(cd "$(dirname "$0")"; pwd -P)
+__ServerGC=0
+
+while :; do
+ if [ $# -le 0 ]; then
+ break
+ fi
+
+ lowerI="$(echo $1 | awk '{print tolower($0)}')"
+ case $lowerI in
+ useservergc)
+ __ServerGC=1
+ ;;
+ *)
+ __UnprocessedBuildArgs="$__UnprocessedBuildArgs $1"
+ esac
+
+ shift
+done
+
+export CORECLR_SERVER_GC="$__ServerGC"
+
"$__scriptpath/build-native.sh" $*
if [ $? -ne 0 ];then
exit 1
fi
+"$__scriptpath/build-packages.sh" -DisableManagedPackage $*
+if [ $? -ne 0 ];then
+ exit 1
+fi
+
"$__scriptpath/build-managed.sh" $*
if [ $? -ne 0 ];then
exit 1