summaryrefslogtreecommitdiff
path: root/build-packages.sh
diff options
context:
space:
mode:
authorJarret Shook <jashoo@microsoft.com>2019-02-22 16:01:03 -0800
committerGitHub <noreply@github.com>2019-02-22 16:01:03 -0800
commit3e8cd50bbf3f510ade4a4e8ab889d1cb184ad6eb (patch)
treef919529cb8ccc0bf1f5badb3ad34aefd974d60eb /build-packages.sh
parent4932d0f6fa87b9a6e3293aacd35cecedde44d87a (diff)
downloadcoreclr-3e8cd50bbf3f510ade4a4e8ab889d1cb184ad6eb.tar.gz
coreclr-3e8cd50bbf3f510ade4a4e8ab889d1cb184ad6eb.tar.bz2
coreclr-3e8cd50bbf3f510ade4a4e8ab889d1cb184ad6eb.zip
Correctly build packages for linux-musl-arm64 (#22793)
* Correctly build packages for linux-musl-arm64 Also add build-package step to PR. * Correctly add back if * Fix build-packages
Diffstat (limited to 'build-packages.sh')
-rwxr-xr-xbuild-packages.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/build-packages.sh b/build-packages.sh
index 80cdc45f35..576a01daa1 100755
--- a/build-packages.sh
+++ b/build-packages.sh
@@ -113,6 +113,13 @@ done
initDistroRid
+if [ "${__DistroRid}" = "linux-musl-arm64" ]; then
+ # ArchGroup is generally determined from parsing {}-{}; however, linux-musl-arm64
+ # will break this logic. To work around this, pass ArchGroup explicitely.
+
+ export ArchGroup=arm64
+fi
+
$__ProjectRoot/dotnet.sh msbuild /nologo /verbosity:minimal /clp:Summary \
/p:__BuildOS=$__BuildOS /flp:v=detailed\;Append\;LogFile=build-packages.log \
/l:BinClashLogger,Tools/Microsoft.DotNet.Build.Tasks.dll\;LogFile=binclash.log \