diff options
author | jashook <jashoo@microsoft.com> | 2017-10-19 15:50:21 -0700 |
---|---|---|
committer | jashook <jashoo@microsoft.com> | 2017-10-19 15:51:06 -0700 |
commit | 3adaf27f19051c0013a621348fdf1936c32dddb3 (patch) | |
tree | c413fb151811a11ccf210bf2e2647d35f71d522f | |
parent | 4981c3af46806db830c3d69851794b96adb8912c (diff) | |
download | coreclr-3adaf27f19051c0013a621348fdf1936c32dddb3.tar.gz coreclr-3adaf27f19051c0013a621348fdf1936c32dddb3.tar.bz2 coreclr-3adaf27f19051c0013a621348fdf1936c32dddb3.zip |
Add build-test osx support
-rwxr-xr-x | build-test.sh | 6 | ||||
-rwxr-xr-x | build.sh | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/build-test.sh b/build-test.sh index 2b83380dcb..48d9a1f604 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() @@ -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 |