From 345cf51b619d2b89b399a7e39b538baf5d1f2307 Mon Sep 17 00:00:00 2001 From: "build@apk-groulx" Date: Tue, 22 Feb 2022 18:38:01 +0000 Subject: [PATCH 1/1] musl-build --- Directory.Build.props | 2 +- repos/aspnetcore.proj | 1 + repos/installer.proj | 2 +- repos/runtime.common.props | 4 ++-- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index d1b268bf..e2c5d5d3 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -202,7 +202,7 @@ freebsd-$(Platform) osx-$(Platform) - linux-$(Platform) + linux-musl-$(Platform) win-$(Platform) diff --git a/repos/aspnetcore.proj b/repos/aspnetcore.proj index 23cac6d1..3d6f648c 100644 --- a/repos/aspnetcore.proj +++ b/repos/aspnetcore.proj @@ -22,6 +22,7 @@ $(BuildCommandArgs) /p:UseAppHost=false $(BuildCommandArgs) /p:PublishCompressedFilesPathPrefix=$(SourceBuiltAspNetCoreRuntime) $(BuildCommandArgs) /p:CheckEolTargetFramework=false + $(BuildCommandArgs) --os-name linux-musl diff --git a/repos/installer.proj b/repos/installer.proj index fd8a95be..1e55548a 100644 --- a/repos/installer.proj +++ b/repos/installer.proj @@ -27,7 +27,7 @@ $(BuildCommandArgs) /p:DOTNET_INSTALL_DIR=$(DotNetCliToolDir) - $(BuildCommandArgs) /p:AspNetCoreSharedFxInstallerRid=linux-$(Platform) + $(BuildCommandArgs) /p:AspNetCoreSharedFxInstallerRid=linux-musl-$(Platform) $(BuildCommandArgs) /p:CoreSetupRid=freebsd-x64 /p:PortableBuild=true $(BuildCommandArgs) /p:CoreSetupRid=osx-x64 diff --git a/repos/runtime.common.props b/repos/runtime.common.props index 97ceb231..87126cbd 100644 --- a/repos/runtime.common.props +++ b/repos/runtime.common.props @@ -15,7 +15,7 @@ osx-x64 freebsd-x64 win-x64 - linux-$(Platform) + linux-musl-$(Platform) false false @@ -43,7 +43,7 @@ $(CoreClrBuildArguments) /p:NoPgoOptimize=true $(CoreClrBuildArguments) /p:KeepNativeSymbols=true - $(CoreClrBuildArguments) /p:RuntimeOS=$(OverrideTargetRid.Substring(0, $(OverrideTargetRid.IndexOf("-")))) + $(CoreClrBuildArguments) /p:RuntimeOS=$(OverrideTargetRid.Substring(0, $(OverrideTargetRid.IndexOf("-"))))-musl $(CoreClrBuildArguments) /p:RuntimeOS=$(OverrideTargetRid) -- 2.34.1