Skip to content

Commit

Permalink
[main] Update dependencies from dotnet/arcade (#53528)
Browse files Browse the repository at this point in the history
[main] Update dependencies from dotnet/arcade


 - Merge branch 'main' into darc-main-b53c7ee8-482a-44eb-8859-45b8b9099279

 - Fix Version.Details.xml

 - Fix incorrect shas from manual merge.

 - Pass DotNetBuildSourceOnly through to repo tasks build

 - Pass DotNetBuildSourceOnly through to repo tasks build

 - Merge remote-tracking branch 'upstream/main' into darc-main-b53c7ee8-482a-44eb-8859-45b8b9099279

 - Propagate some additional properties

 - Unpropagate some additional properties

 - Only add if not already added.

 - Only add if not already added.

 - Keep Duplicates=false.

 - Odd

 - New approach

 - More feeling

 - Attempt using 17,8

 - Revert "Attempt using 17,8"

This reverts commit 7ccf516.

 - Temporarily switch to VS preview queues

 - Merge remote-tracking branch 'upstream/main' into darc-main-b53c7ee8-482a-44eb-8859-45b8b9099279

 - Revert googletest
  • Loading branch information
dotnet-maestro[bot] authored Mar 1, 2024
1 parent 1641d49 commit 6cfd675
Show file tree
Hide file tree
Showing 22 changed files with 173 additions and 136 deletions.
4 changes: 2 additions & 2 deletions .azure/pipelines/jobs/default-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,11 @@ jobs:
${{ if eq(parameters.agentOs, 'Windows') }}:
${{ if eq(variables['System.TeamProject'], 'public') }}:
name: $(DncEngPublicBuildPool)
demands: ImageOverride -equals 1es-windows-2022-open
demands: ImageOverride -equals windows.vs2022preview.amd64.open
${{ if eq(variables['System.TeamProject'], 'internal') }}:
name: $(DncEngInternalBuildPool)
# Visual Studio Enterprise - contains some stuff, like SQL Server and IIS Express, that we use for testing
demands: ImageOverride -equals 1es-windows-2022
demands: ImageOverride -equals windows.vs2022preview.amd64
${{ if ne(parameters.container, '') }}:
container: ${{ parameters.container }}
${{ if ne(parameters.disableComponentGovernance, '') }}:
Expand Down
64 changes: 34 additions & 30 deletions eng/Dependencies.props
Original file line number Diff line number Diff line change
Expand Up @@ -100,38 +100,41 @@ and are generated based on the last package release.
<LatestPackageReference Include="System.ValueTuple" />

<!-- Runtime packages required for crossgen -->
<LatestPackageReference Include="Microsoft.NETCore.App.Runtime.win-x64" />
<LatestPackageReference Include="Microsoft.NETCore.App.Runtime.win-x86" />
<LatestPackageReference Include="Microsoft.NETCore.App.Runtime.win-arm" />
<LatestPackageReference Include="Microsoft.NETCore.App.Runtime.win-arm64" />
<LatestPackageReference Include="Microsoft.NETCore.App.Runtime.osx-x64" />
<LatestPackageReference Include="Microsoft.NETCore.App.Runtime.osx-arm64" />
<LatestPackageReference Include="Microsoft.NETCore.App.Runtime.linux-x64" />
<LatestPackageReference Include="Microsoft.NETCore.App.Runtime.linux-arm" />
<LatestPackageReference Include="Microsoft.NETCore.App.Runtime.linux-arm64" />
<LatestPackageReference Include="Microsoft.NETCore.App.Runtime.linux-musl-x64" />
<LatestPackageReference Include="Microsoft.NETCore.App.Runtime.linux-musl-arm" />
<LatestPackageReference Include="Microsoft.NETCore.App.Runtime.linux-musl-arm64" />
<LatestPackageReference Include="Microsoft.NETCore.App.Runtime.freebsd-x64" />
<LatestPackageReference Include="Microsoft.NETCore.App.Runtime.freebsd-arm64" />
<LatestPackageReference Include="Microsoft.NETCore.App.Runtime.$(TargetRuntimeIdentifier)" Condition=" '$(DotNetBuildSourceOnly)' == 'true' " />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Runtime.win-x64" />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Runtime.win-x86" />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Runtime.win-arm" />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Runtime.win-arm64" />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Runtime.osx-x64" />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Runtime.osx-arm64" />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Runtime.linux-x64" />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Runtime.linux-arm" />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Runtime.linux-arm64" />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Runtime.linux-musl-x64" />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Runtime.linux-musl-arm" />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Runtime.linux-musl-arm64" />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Runtime.freebsd-x64" />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Runtime.freebsd-arm64" />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Runtime.$(TargetRuntimeIdentifier)" Condition=" '$(DotNetBuildSourceOnly)' == 'true'" />

<!-- Crossgen2 compiler -->
<LatestPackageReference Include="Microsoft.NETCore.App.Crossgen2.osx-x64" />
<LatestPackageReference Include="Microsoft.NETCore.App.Crossgen2.osx-arm64" />
<LatestPackageReference Include="Microsoft.NETCore.App.Crossgen2.linux-arm" />
<LatestPackageReference Include="Microsoft.NETCore.App.Crossgen2.linux-arm64" />
<LatestPackageReference Include="Microsoft.NETCore.App.Crossgen2.linux-musl-arm" />
<LatestPackageReference Include="Microsoft.NETCore.App.Crossgen2.linux-musl-arm64" />
<LatestPackageReference Include="Microsoft.NETCore.App.Crossgen2.linux-musl-x64" />
<LatestPackageReference Include="Microsoft.NETCore.App.Crossgen2.linux-x64" />
<LatestPackageReference Include="Microsoft.NETCore.App.Crossgen2.win-x64" />
<LatestPackageReference Include="Microsoft.NETCore.App.Crossgen2.win-x86" />
<LatestPackageReference Include="Microsoft.NETCore.App.Crossgen2.win-arm" />
<LatestPackageReference Include="Microsoft.NETCore.App.Crossgen2.win-arm64" />
<LatestPackageReference Include="Microsoft.NETCore.App.Crossgen2.freebsd-x64" />
<LatestPackageReference Include="Microsoft.NETCore.App.Crossgen2.freebsd-arm64" />
<LatestPackageReference Include="Microsoft.NETCore.App.Crossgen2.$(TargetRuntimeIdentifier)" Condition=" '$(DotNetBuildSourceOnly)' == 'true' " />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Crossgen2.win-x64" />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Crossgen2.win-x86" />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Crossgen2.win-arm" />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Crossgen2.win-arm64" />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Crossgen2.osx-x64" />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Crossgen2.osx-arm64" />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Crossgen2.linux-x64" />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Crossgen2.linux-arm" />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Crossgen2.linux-arm64" />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Crossgen2.linux-musl-x64" />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Crossgen2.linux-musl-arm" />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Crossgen2.linux-musl-arm64" />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Crossgen2.freebsd-x64" />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Crossgen2.freebsd-arm64" />
<_LatestRuntimePackageReference Include="Microsoft.NETCore.App.Crossgen2.$(TargetRuntimeIdentifier)" Condition=" '$(DotNetBuildSourceOnly)' == 'true' " />

<!-- Remove duplicates potentially introduced by the 'unknown' target runtime identifier in source-only modes. -->
<LatestPackageReference Include="@(_LatestRuntimePackageReference->Distinct())" />
</ItemGroup>

<ItemGroup Label=".NET team dependencies (Non-source-build)" Condition="'$(DotNetBuildFromSource)' != 'true'">
Expand Down Expand Up @@ -232,6 +235,7 @@ and are generated based on the last package release.
</ItemGroup>

<ItemGroup Label="Dependencies with versions.">

<!-- Get name prefixes for version properties. -->
<LatestPackageReference Update="@(LatestPackageReference)">
<VersionName>$([System.String]::new('%(Identity)').Replace('.',''))</VersionName>
Expand Down
1 change: 1 addition & 0 deletions eng/SourceBuild.props
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
<InnerBuildEnv Condition="'$(FullAssemblySigningSupported)' != ''" Include="FullAssemblySigningSupported=$(FullAssemblySigningSupported)" />
<InnerBuildEnv Include="DotNetBuildFromSource=$(ArcadeBuildFromSource)" />
<InnerBuildEnv Include="DotNetBuildVertical=$(ArcadeBuildVertical)" />
<InnerBuildEnv Include="DotNetBuildSourceOnly=$(DotNetBuildSourceOnly)" />
</ItemGroup>

<!-- Call the build.sh script to build the repo tasks. Set IgnoreStandardErrorWarningFormat
Expand Down
24 changes: 12 additions & 12 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -383,31 +383,31 @@
<Uri>https://github.com/dotnet/winforms</Uri>
<Sha>dd5ae276be5f5e8c2203fd5f07bdc725a9891945</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="9.0.0-beta.24062.5">
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="9.0.0-beta.24129.2">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>d731f58a502086842739a358ab490bec08fdb8a7</Sha>
<Sha>85ae8b264f3312aac5ca08dcab039556e99fcb00</Sha>
</Dependency>
<!-- Intermediate is necessary for source build. -->
<Dependency Name="Microsoft.SourceBuild.Intermediate.arcade" Version="9.0.0-beta.24062.5">
<Dependency Name="Microsoft.SourceBuild.Intermediate.arcade" Version="9.0.0-beta.24129.2">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>d731f58a502086842739a358ab490bec08fdb8a7</Sha>
<Sha>85ae8b264f3312aac5ca08dcab039556e99fcb00</Sha>
<SourceBuild RepoName="arcade" ManagedOnly="true" />
</Dependency>
<Dependency Name="Microsoft.DotNet.Build.Tasks.Installers" Version="9.0.0-beta.24062.5">
<Dependency Name="Microsoft.DotNet.Build.Tasks.Installers" Version="9.0.0-beta.24129.2">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>d731f58a502086842739a358ab490bec08fdb8a7</Sha>
<Sha>85ae8b264f3312aac5ca08dcab039556e99fcb00</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.Build.Tasks.Templating" Version="9.0.0-beta.24062.5">
<Dependency Name="Microsoft.DotNet.Build.Tasks.Templating" Version="9.0.0-beta.24129.2">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>d731f58a502086842739a358ab490bec08fdb8a7</Sha>
<Sha>85ae8b264f3312aac5ca08dcab039556e99fcb00</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="9.0.0-beta.24062.5">
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="9.0.0-beta.24129.2">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>d731f58a502086842739a358ab490bec08fdb8a7</Sha>
<Sha>85ae8b264f3312aac5ca08dcab039556e99fcb00</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.RemoteExecutor" Version="9.0.0-beta.24062.5">
<Dependency Name="Microsoft.DotNet.RemoteExecutor" Version="9.0.0-beta.24129.2">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>d731f58a502086842739a358ab490bec08fdb8a7</Sha>
<Sha>85ae8b264f3312aac5ca08dcab039556e99fcb00</Sha>
</Dependency>
<Dependency Name="Microsoft.Extensions.Diagnostics.Testing" Version="9.0.0-preview.2.24123.2">
<Uri>https://github.com/dotnet/extensions</Uri>
Expand Down
8 changes: 4 additions & 4 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,10 @@
<NuGetVersioningVersion>6.2.4</NuGetVersioningVersion>
<NuGetFrameworksVersion>6.2.4</NuGetFrameworksVersion>
<!-- Packages from dotnet/arcade -->
<MicrosoftDotNetBuildTasksInstallersVersion>9.0.0-beta.24062.5</MicrosoftDotNetBuildTasksInstallersVersion>
<MicrosoftDotNetBuildTasksTemplatingVersion>9.0.0-beta.24062.5</MicrosoftDotNetBuildTasksTemplatingVersion>
<MicrosoftDotNetRemoteExecutorVersion>9.0.0-beta.24062.5</MicrosoftDotNetRemoteExecutorVersion>
<MicrosoftSourceBuildIntermediatearcadeVersion>9.0.0-beta.24062.5</MicrosoftSourceBuildIntermediatearcadeVersion>
<MicrosoftDotNetBuildTasksInstallersVersion>9.0.0-beta.24129.2</MicrosoftDotNetBuildTasksInstallersVersion>
<MicrosoftDotNetBuildTasksTemplatingVersion>9.0.0-beta.24129.2</MicrosoftDotNetBuildTasksTemplatingVersion>
<MicrosoftDotNetRemoteExecutorVersion>9.0.0-beta.24129.2</MicrosoftDotNetRemoteExecutorVersion>
<MicrosoftSourceBuildIntermediatearcadeVersion>9.0.0-beta.24129.2</MicrosoftSourceBuildIntermediatearcadeVersion>
<!-- Packages from dotnet/source-build-externals -->
<MicrosoftSourceBuildIntermediatesourcebuildexternalsVersion>9.0.0-alpha.1.24112.1</MicrosoftSourceBuildIntermediatesourcebuildexternalsVersion>
<!-- Packages from dotnet/source-build-reference-packages -->
Expand Down
3 changes: 3 additions & 0 deletions eng/common/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Param(
[switch] $publish,
[switch] $clean,
[switch] $verticalBuild,
[switch][Alias('pb')]$productBuild,
[switch][Alias('bl')]$binaryLog,
[switch][Alias('nobl')]$excludeCIBinarylog,
[switch] $ci,
Expand Down Expand Up @@ -60,6 +61,7 @@ function Print-Usage() {
Write-Host " -publish Publish artifacts (e.g. symbols)"
Write-Host " -clean Clean the solution"
Write-Host " -verticalBuild Run in 'vertical build' infra mode."
Write-Host " -productBuild Build the solution in the way it will be built in the full .NET product (VMR) build (short: -pb)"
Write-Host ""

Write-Host "Advanced settings:"
Expand Down Expand Up @@ -122,6 +124,7 @@ function Build {
/p:Deploy=$deploy `
/p:Test=$test `
/p:Pack=$pack `
/p:DotNetBuildRepo=$($productBuild -or $verticalBuild) `
/p:ArcadeBuildVertical=$verticalBuild `
/p:IntegrationTest=$integrationTest `
/p:PerformanceTest=$performanceTest `
Expand Down
14 changes: 14 additions & 0 deletions eng/common/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ usage()
echo " --sourceBuild Source-build the solution (short: -sb)"
echo " Will additionally trigger the following actions: --restore, --build, --pack"
echo " If --configuration is not set explicitly, will also set it to 'Release'"
echo " --productBuild Build the solution in the way it will be built in the full .NET product (VMR) build (short: -pb)"
echo " Will additionally trigger the following actions: --restore, --build, --pack"
echo " If --configuration is not set explicitly, will also set it to 'Release'"
echo " --rebuild Rebuild solution"
echo " --test Run all unit tests in the solution (short: -t)"
echo " --integrationTest Run all integration tests in the solution"
Expand Down Expand Up @@ -60,6 +63,7 @@ restore=false
build=false
source_build=false
vertical_build=false
product_build=false
rebuild=false
test=false
integration_test=false
Expand Down Expand Up @@ -127,12 +131,20 @@ while [[ $# > 0 ]]; do
-sourcebuild|-sb)
build=true
source_build=true
product_build=true
restore=true
pack=true
;;
-productBuild|-pb)
build=true
product_build=true
restore=true
pack=true
;;
-verticalbuild|-vb)
build=true
vertical_build=true
product_build=true
restore=true
pack=true
;;
Expand Down Expand Up @@ -226,7 +238,9 @@ function Build {
/p:RepoRoot="$repo_root" \
/p:Restore=$restore \
/p:Build=$build \
/p:DotNetBuildRepo=$product_build \
/p:ArcadeBuildFromSource=$source_build \
/p:DotNetBuildSourceOnly=$source_build \
/p:ArcadeBuildVertical=$vertical_build \
/p:Rebuild=$rebuild \
/p:Test=$test \
Expand Down
14 changes: 7 additions & 7 deletions eng/common/cross/build-rootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ usage()
echo "BuildArch can be: arm(default), arm64, armel, armv6, ppc64le, riscv64, s390x, x64, x86"
echo "CodeName - optional, Code name for Linux, can be: xenial(default), zesty, bionic, alpine"
echo " for alpine can be specified with version: alpineX.YY or alpineedge"
echo " for FreeBSD can be: freebsd12, freebsd13"
echo " for FreeBSD can be: freebsd13, freebsd14"
echo " for illumos can be: illumos"
echo " for Haiku can be: haiku."
echo "lldbx.y - optional, LLDB version, can be: lldb3.9(default), lldb4.0, lldb5.0, lldb6.0 no-lldb. Ignored for alpine and FreeBSD"
Expand Down Expand Up @@ -71,9 +71,9 @@ __AlpinePackages+=" krb5-dev"
__AlpinePackages+=" openssl-dev"
__AlpinePackages+=" zlib-dev"

__FreeBSDBase="12.4-RELEASE"
__FreeBSDBase="13.2-RELEASE"
__FreeBSDPkg="1.17.0"
__FreeBSDABI="12"
__FreeBSDABI="13"
__FreeBSDPackages="libunwind"
__FreeBSDPackages+=" icu"
__FreeBSDPackages+=" libinotify"
Expand Down Expand Up @@ -334,14 +334,14 @@ while :; do
__AlpineVersion="$__AlpineMajorVersion.$__AlpineMinoVersion"
fi
;;
freebsd12)
freebsd13)
__CodeName=freebsd
__SkipUnmount=1
;;
freebsd13)
freebsd14)
__CodeName=freebsd
__FreeBSDBase="13.2-RELEASE"
__FreeBSDABI="13"
__FreeBSDBase="14.0-RELEASE"
__FreeBSDABI="14"
__SkipUnmount=1
;;
illumos)
Expand Down
Loading

0 comments on commit 6cfd675

Please sign in to comment.