Skip to content

Commit

Permalink
Use DotNetBuildSourceOnly unified build control instead of DotNetBuil…
Browse files Browse the repository at this point in the history
…dFromSource
  • Loading branch information
akoeplinger committed Oct 17, 2024
1 parent edf43c9 commit cb75d3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

<PropertyGroup>
<!-- we're not building all of llvm for now in source build, just jittools -->
<BuildJitToolsOnly Condition="'$(BuildJitToolsOnly)' == '' and '$(DotNetBuildFromSource)' == 'true'">true</BuildJitToolsOnly>
<BuildJitToolsOnly Condition="'$(BuildJitToolsOnly)' == '' and '$(DotNetBuildSourceOnly)' == 'true'">true</BuildJitToolsOnly>
</PropertyGroup>
</Project>
4 changes: 2 additions & 2 deletions nuget/builds.targets
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

<!-- Used to determine if we should build some packages only once across multiple official build legs.
For offline builds we still set OfficialBuildId but we need to build all the packages for a single
leg only, so we also take DotNetBuildFromSource into account. -->
<BuildingAnOfficialBuildLeg Condition="'$(OfficialBuildId)' != '' AND '$(DotNetBuildFromSource)' != 'true'">true</BuildingAnOfficialBuildLeg>
leg only, so we also take DotNetBuildSourceOnly into account. -->
<BuildingAnOfficialBuildLeg Condition="'$(OfficialBuildId)' != '' AND '$(DotNetBuildSourceOnly)' != 'true'">true</BuildingAnOfficialBuildLeg>

<!-- During an official build, only build identity packages on windows x64 legs -->
<BuildIdentityPackage Condition="'$(BuildingAnOfficialBuildLeg)' == 'true' AND ('$(OS)' != 'Windows_NT' OR '$(BuildArch)' != 'x64')">false</BuildIdentityPackage>
Expand Down

0 comments on commit cb75d3a

Please sign in to comment.