summaryrefslogtreecommitdiff
path: root/build-packages.sh
diff options
context:
space:
mode:
authorJarret Shook <jashoo@microsoft.com>2019-02-25 15:50:59 -0800
committerGitHub <noreply@github.com>2019-02-25 15:50:59 -0800
commit84f0ae886cc659fabd8d8b499861383bb801fa08 (patch)
tree370c1a16c290b3c2baf0873c40a4e95304ce22e7 /build-packages.sh
parent268a6b777febf10e97badede96dcddd54b54c4e1 (diff)
downloadcoreclr-84f0ae886cc659fabd8d8b499861383bb801fa08.tar.gz
coreclr-84f0ae886cc659fabd8d8b499861383bb801fa08.tar.bz2
coreclr-84f0ae886cc659fabd8d8b499861383bb801fa08.zip
For linux-musl-arm64 use OutputRid (#22840)
This variable was added for linux-musl-x64 in our old official builds, because our current logic in src/.nuget/dirs.props incorrectly parses the __DistroRid passed.
Diffstat (limited to 'build-packages.sh')
-rwxr-xr-xbuild-packages.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/build-packages.sh b/build-packages.sh
index 576a01daa1..8dfab68baf 100755
--- a/build-packages.sh
+++ b/build-packages.sh
@@ -118,6 +118,11 @@ if [ "${__DistroRid}" = "linux-musl-arm64" ]; then
# will break this logic. To work around this, pass ArchGroup explicitely.
export ArchGroup=arm64
+
+ # Currently the decision tree in src/.nuget/dirs.props will incorrectly
+ # reparse the already calculated __DistroRid. For linux-musl-arm64 use
+ # the hack/hook to specifically bypass this logic.
+ export OutputRID=${__DistroRid}
fi
$__ProjectRoot/dotnet.sh msbuild /nologo /verbosity:minimal /clp:Summary \