diff options
author | Karthik Rajasekaran <karajas@microsoft.com> | 2016-11-22 01:07:12 +0300 |
---|---|---|
committer | Karthik Rajasekaran <karajas@microsoft.com> | 2016-12-12 22:05:45 +0300 |
commit | a63992c08591625787ec1d018f6f2bf81335af43 (patch) | |
tree | f912f08e270c66117145809f768aaa79a510fcc7 /build.sh | |
parent | 263c6184391bc12065cb11760f75ba6b9bb09cdb (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-x | build.sh | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -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 |