summaryrefslogtreecommitdiff
path: root/src/.nuget
diff options
context:
space:
mode:
authorWes Haggard <Wes.Haggard@microsoft.com>2018-04-17 13:06:33 -0700
committerWes Haggard <Wes.Haggard@microsoft.com>2018-04-17 13:35:26 -0700
commitca45f3afdd44744453aeb599375d42ffa220ff71 (patch)
tree9725718cc30512a4e4999e32be76100c3bddbfdf /src/.nuget
parentc1275487d4f95a08c66fed01edac7ecdf1b391b6 (diff)
downloadcoreclr-ca45f3afdd44744453aeb599375d42ffa220ff71.tar.gz
coreclr-ca45f3afdd44744453aeb599375d42ffa220ff71.tar.bz2
coreclr-ca45f3afdd44744453aeb599375d42ffa220ff71.zip
Add linux-musl build leg
Diffstat (limited to 'src/.nuget')
-rw-r--r--src/.nuget/dir.props17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/.nuget/dir.props b/src/.nuget/dir.props
index 224c6bf1be..253adeb3f4 100644
--- a/src/.nuget/dir.props
+++ b/src/.nuget/dir.props
@@ -5,7 +5,7 @@
<PropertyGroup>
<!-- defined in buildtools packaging.targets, but we need this before targets are imported -->
<PackagePlatform>AnyCPU</PackagePlatform>
-
+
<!-- build the transport package which includes product and symbols in addition to standard packages -->
<CreatePackedPackage Condition="'$(CreatePackedPackage)' == ''">true</CreatePackedPackage>
@@ -26,8 +26,8 @@
<SupportedPackageOSGroups Condition="'$(SupportedPackageOSGroups)' == ''">Windows_NT;OSX;Android;Linux</SupportedPackageOSGroups>
<SupportedPackageOSGroups>;$(SupportedPackageOSGroups);</SupportedPackageOSGroups>
- <!-- Identify OS family based upon the RuntimeOS, which could be distro specific (e.g. osx.10.12) or
- portable (e.g. osx).
+ <!-- Identify OS family based upon the RuntimeOS, which could be distro specific (e.g. osx.10.12) or
+ portable (e.g. osx).
-->
<_runtimeOSVersionIndex>$(RuntimeOS.IndexOfAny(".-0123456789"))</_runtimeOSVersionIndex>
<_runtimeOSFamily Condition="'$(_runtimeOSVersionIndex)' != '-1'">$(RuntimeOS.SubString(0, $(_runtimeOSVersionIndex)))</_runtimeOSFamily>
@@ -46,7 +46,7 @@
<_isSupportedOSGroup Condition="!$(SupportedPackageOSGroups.Contains(';$(_derivedPackageTargetOSGroup);'))">false</_isSupportedOSGroup>
</PropertyGroup>
- <!-- _packageTargetOSGroup is used to control the runtime package imports, don't import runtime package targets for
+ <!-- _packageTargetOSGroup is used to control the runtime package imports, don't import runtime package targets for
an unsupported OS Group -->
<PropertyGroup Condition="'$(PackageTargetRuntime)' != '' and '$(_isSupportedOSGroup)' == 'true'">
<!-- Android will use Linux package definitions -->
@@ -65,6 +65,12 @@
<Choose>
<When Condition="'$(PackageRID)' != ''" />
+ <When Condition="'$(OutputRID)' != ''">
+ <PropertyGroup>
+ <!-- If OutputRID is explicitly set use that as the PackageRID -->
+ <PackageRID>$(OutputRID)</PackageRID>
+ </PropertyGroup>
+ </When>
<When Condition="'$(_runtimeOSFamily)' == 'win'">
<PropertyGroup>
<!-- Note: Windows builds are always portable (-PortableBuild=false is ignored) -->
@@ -127,6 +133,7 @@
<ItemGroup Condition="$(SupportedPackageOSGroups.Contains(';Linux;'))">
<OfficialBuildRID Include="linux-x64" />
+ <OfficialBuildRID Include="linux-musl-x64" />
<OfficialBuildRID Include="rhel.6-x64" />
<OfficialBuildRID Include="alpine.3.6-x64" />
<OfficialBuildRID Include="linux-arm">
@@ -155,7 +162,7 @@
</OfficialBuildRID>
</ItemGroup>
<ItemGroup>
- <!-- Ensure we have a RID-specific package for the current build, even if it isn't in our official set, but
+ <!-- Ensure we have a RID-specific package for the current build, even if it isn't in our official set, but
don't build the RID-specific package if we're in an unsupported os family -->
<BuildRID Include="@(OfficialBuildRID)" Exclude="$(PackageRID)"/>
<BuildRID Include="$(PackageRID)"