From: jashook Date: Thu, 19 Oct 2017 22:50:21 +0000 (-0700) Subject: Add build-test osx support X-Git-Tag: accepted/tizen/base/20180629.140029~818^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3adaf27f19051c0013a621348fdf1936c32dddb3;p=platform%2Fupstream%2Fcoreclr.git Add build-test osx support --- diff --git a/build-test.sh b/build-test.sh index 2b83380..48d9a1f 100755 --- a/build-test.sh +++ b/build-test.sh @@ -29,6 +29,10 @@ initTargetDistroRid() export __DistroRid="$__HostDistroRid" fi + if [ "$__BuildOS" == "OSX" ]; then + __PortableBuild=1 + fi + # Portable builds target the base RID if [ "$__PortableBuild" == 1 ]; then if [ "$__BuildOS" == "Linux" ]; then @@ -41,6 +45,8 @@ initTargetDistroRid() if [ "$ID.$VERSION_ID" == "ubuntu.16.04" ]; then export __DistroRid="ubuntu.14.04-$__BuildArch" fi + + echo "__DistroRid: " $__DistroRid } isMSBuildOnNETCoreSupported() diff --git a/build.sh b/build.sh index 922063c..a098d5e 100755 --- a/build.sh +++ b/build.sh @@ -105,6 +105,10 @@ initTargetDistroRid() export __DistroRid="$__HostDistroRid" fi + if [ "$__BuildOS" == "OSX" ]; then + __PortableBuild=1 + fi + # Portable builds target the base RID if [ $__PortableBuild == 1 ]; then if [ "$__BuildOS" == "Linux" ]; then