summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjashook <jashoo@microsoft.com>2017-10-19 15:50:21 -0700
committerjashook <jashoo@microsoft.com>2017-10-19 15:51:06 -0700
commit3adaf27f19051c0013a621348fdf1936c32dddb3 (patch)
treec413fb151811a11ccf210bf2e2647d35f71d522f
parent4981c3af46806db830c3d69851794b96adb8912c (diff)
downloadcoreclr-3adaf27f19051c0013a621348fdf1936c32dddb3.tar.gz
coreclr-3adaf27f19051c0013a621348fdf1936c32dddb3.tar.bz2
coreclr-3adaf27f19051c0013a621348fdf1936c32dddb3.zip
Add build-test osx support
-rwxr-xr-xbuild-test.sh6
-rwxr-xr-xbuild.sh4
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()
diff --git a/build.sh b/build.sh
index 922063c099..a098d5e9ad 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