Commit graph

43 commits

Author SHA1 Message Date
Matt Thalman
3de6912d73
Enable parallel builds across repos of VMR (#18824) 2024-03-08 21:59:46 +00:00
Matt Mitchell
68cc1aeb08
Remove ArcadeBuildVertical parameter (#18889) 2024-03-06 09:33:08 +01:00
Jo Shields
7f749377be
Fix #18777 (#18778) 2024-02-26 19:18:06 +00:00
Matt Mitchell
d070660282
Enable installer and SDK repos in VMR build (#18632)
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2024-02-26 10:51:44 +00:00
Viktor Hofer
c557d5b91f
Remove separate package-source-build project (#18750) 2024-02-23 15:04:42 +01:00
Matt Thalman
ed324e09c7
Isolate package flow between repos (#18557)
As a prerequisite to enabling parallel builds of the repos in the VMR, it's necessary to isolate the package flow between repos. This ensures that repo dependencies are defined correctly. Prior to these changes, the packages outputted by repos went to the same directory (Shipping or NonShipping) and those two directories were used as the package feed inputs to dependent repos. This would be dangerous in the context of running builds in parallel across repos because any ill-defined dependencies could lead to race conditions. For example, consider the msbuild repo's dependency on System.Text.Json from the runtime repo. If runtime was not defined as a dependency of msbuild, then there's no guarantee that System.Text.Json will exist when it restores it. Based on timing, it may exist in one build and then not exist in another build.

To solve this problem, the packages output from a repos build are placed in a repo-specific package location as a sub-directory of the package location (Shipping or NonShipping). Previously, all repos would output their packages to `artifacts/packages/Release/[NonShipping|Shipping]`. With these changes, they output to `artifacts/packages/Release/[NonShipping|Shipping]/<repo-name>`. This isolates all packages on a per-repo basis. The next step is to provide access to these packages based on dependencies. Going back to msbuild's dependency on runtime, this is accomplished by modifying msbuild's nuget.config file to include feeds specific to runtime:

```xml
<add key="source-built-runtime" value="/vmr/artifacts/packages/Release/Shipping/runtime/" />
<add key="source-built-transport-runtime" value="/vmr/artifacts/packages/Release/NonShipping/runtime/" />
```
2024-02-22 10:25:55 -06:00
Viktor Hofer
94def2ee6c
Put artifacts in well-known locations (#18591) 2024-02-13 09:19:33 -06:00
Matt Mitchell
e4d3343347
Update DotNetBuildSkipTests -> DotNetBuildTests (#18583) 2024-02-09 09:26:28 -08:00
Viktor Hofer
4cd842ec04
Remove dead code (#18579) 2024-02-09 08:19:15 +01:00
Matt Mitchell
722bcd86aa
Enable overriding of the arcade cmake SDK in VMR (#18539) 2024-02-07 01:03:36 +00:00
Nikola Milosavljevic
ff1d5e5032
Stop making src modifications to every repo's NuGet.config (#18478) 2024-02-02 16:49:07 -08:00
Jo Shields
cca2b7bede
Stop using OverrideTargetRid, use TargetOS/TargetArchitecture instead (#18476) 2024-02-02 07:13:03 +01:00
Matt Mitchell
3152bfc024
Propagate DotNetBuildSourceOnly to repo build invocations (#18479) 2024-01-31 19:26:38 +00:00
Matt Mitchell
051de02367
Remove DotNetBuildVertical passed to repos from orchestrator (#18420) 2024-01-26 12:55:28 -08:00
Viktor Hofer
44c6d9a544
Don't build tests from the VMR by default (#18406)
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
2024-01-26 12:02:38 +00:00
Viktor Hofer
a880230afd
Remove DotNetBuildFromSource inside the orchestrator (#18402) 2024-01-26 11:27:18 +01:00
Matt Mitchell
cac6c93287
Add DotNetBuildOrchestrator flag (#18306) 2024-01-20 10:21:00 +01:00
Nikola Milosavljevic
d0e5cb3299
Condition inner-clone properties (#18307) 2024-01-20 10:10:25 +01:00
Matt Mitchell
1ebb676463
Pass DotNetBuildRepo at the orchestrator level to repos. (#18279) 2024-01-17 22:53:28 +00:00
Viktor Hofer
b6e0746caf
Follow-up on enabling Windows VMR build (#18239) 2024-01-16 15:29:50 +01:00
Viktor Hofer
929fbfe368 Rewrite shared properties and targets (a lot of clean-up and standardization)
... in Directory.Build.props and Directory.Build.targets in the repo root
and under repo-projects
2024-01-11 20:12:51 +01:00
Viktor Hofer
383a293a30
Delete DotNetRestorePackagesPath prop (#18146) 2024-01-09 14:39:46 +01:00
Viktor Hofer
d407fc6dc0
Remove unused properties (#18117) 2024-01-08 15:22:26 +01:00
Viktor Hofer
a190d2aaea
Remove dead properties (#18129) 2024-01-08 15:07:16 +01:00
Jackson Schuster
ac464072c7 Pass CrossBuild to inner builds 2023-12-13 21:02:11 -08:00
Jo Shields
37aaa597bc
These changes should allow complete cross-builds just via OverrideTargetRid (#17832) 2023-11-20 13:20:51 -05:00
Matt Thalman
3479076aac
Bootstrap to newer .NET 9 SDK for source build (#17831) 2023-11-17 17:23:39 +00:00
Matt Thalman
08f5abf9fe
Use .NET 9 SDK for previously source-built SDK (#17822) 2023-11-17 07:26:10 -06:00
Jo Shields
410920005e
Ensure we propagate DotNetBuildVertical property to source-built projects (#17767) 2023-11-13 17:25:23 +00:00
Matt Thalman
705edb7816
Use NetCurrent for source build projects (#17722) 2023-11-07 21:40:55 +00:00
Michael Simons
3df53fc088
Change the PackageVersionPropsFlowType to DependenciesOnly (#17011) 2023-07-19 12:44:58 -05:00
Michael Simons
2a43d7040d
Remove SuppressTfmSupportBuildWarnings usage (#16790) 2023-06-22 22:15:04 +00:00
Přemek Vysoký
d4db076b20
Add VMR sync functionality into dotnet/dotnet's Codespaces (#15750) 2023-03-13 14:44:42 +01:00
Michael Simons
adbf0bfcbe
Remove obsolete source-build repoAPI (#15526) 2023-02-16 18:40:45 +00:00
Chris Rummel
99911716db
Remove source-build manipulation of stable version. (#15467) 2023-02-08 17:13:17 +00:00
Michael Simons
593bfe8532
Update source-build artifacts to be coherent (#15372)
Co-authored-by: Matt Thalman <mthalman@microsoft.com>
2023-02-07 17:07:22 +00:00
Matt Mitchell
2df59d748a
Fix annotated prebuilt report again (#15436)
Co-authored-by: Michael Simons <msimons@microsoft.com>
2023-02-07 08:03:21 -08:00
Michael Simons
4ff5179103
Get source-build working in main (#15315) 2023-01-20 10:42:16 -06:00
Matt Mitchell
987040517a
PVP flow support (#15267)
Co-authored-by: Michael Simons <msimons@microsoft.com>
2023-01-17 09:45:40 -08:00
Matt Mitchell
a06d3130f3
Remove unused legacy PB_ properties (#15265) 2023-01-12 10:50:59 -08:00
Michael Simons
c5ebd18478
Remove tarball verbiage from source-build infrastructure (#15217) 2023-01-10 08:50:31 -06:00
dotnet-maestro[bot]
c125386cae
[main] Update dependencies from dotnet/sdk (#15151)
[main] Update dependencies from dotnet/sdk
- Coherency Updates:
  - Microsoft.WindowsDesktop.App.Ref: from 8.0.0-alpha.1.22614.1 to 8.0.0-alpha.1.23053.1 (parent: Microsoft.NET.Sdk)
  - VS.Redist.Common.WindowsDesktop.SharedFramework.x64.8.0: from 8.0.0-alpha.1.22614.1 to 8.0.0-alpha.1.23053.1 (parent: Microsoft.NET.Sdk)
  - VS.Redist.Common.WindowsDesktop.TargetingPack.x64.8.0: from 8.0.0-alpha.1.22614.1 to 8.0.0-alpha.1.23053.1 (parent: Microsoft.NET.Sdk)
  - VS.Redist.Common.NetCore.SharedFramework.x64.8.0: from 8.0.0-alpha.1.22605.1 to 8.0.0-alpha.1.23053.7 (parent: Microsoft.NET.Sdk)
  - Microsoft.NETCore.App.Ref: from 8.0.0-alpha.1.22605.1 to 8.0.0-alpha.1.23053.7 (parent: Microsoft.NET.Sdk)
  - VS.Redist.Common.NetCore.TargetingPack.x64.8.0: from 8.0.0-alpha.1.22605.1 to 8.0.0-alpha.1.23053.7 (parent: Microsoft.NET.Sdk)
  - Microsoft.NETCore.App.Runtime.win-x64: from 8.0.0-alpha.1.22605.1 to 8.0.0-alpha.1.23053.7 (parent: Microsoft.NET.Sdk)
  - Microsoft.NETCore.App.Host.win-x64: from 8.0.0-alpha.1.22605.1 to 8.0.0-alpha.1.23053.7 (parent: Microsoft.NET.Sdk)
  - Microsoft.NETCore.DotNetHostResolver: from 8.0.0-alpha.1.22605.1 to 8.0.0-alpha.1.23053.7 (parent: Microsoft.NET.Sdk)
  - Microsoft.NETCore.Platforms: from 8.0.0-alpha.1.22605.1 to 8.0.0-alpha.1.23053.7 (parent: Microsoft.NET.Sdk)
  - Microsoft.AspNetCore.App.Ref: from 8.0.0-alpha.1.22615.1 to 8.0.0-alpha.1.23053.19 (parent: Microsoft.NET.Sdk)
  - Microsoft.AspNetCore.App.Ref.Internal: from 8.0.0-alpha.1.22615.1 to 8.0.0-alpha.1.23053.19 (parent: Microsoft.NET.Sdk)
  - Microsoft.AspNetCore.App.Runtime.win-x64: from 8.0.0-alpha.1.22615.1 to 8.0.0-alpha.1.23053.19 (parent: Microsoft.NET.Sdk)
  - VS.Redist.Common.AspNetCore.SharedFramework.x64.8.0: from 8.0.0-alpha.1.22615.1 to 8.0.0-alpha.1.23053.19 (parent: Microsoft.NET.Sdk)
  - dotnet-dev-certs: from 8.0.0-alpha.1.22615.1 to 8.0.0-alpha.1.23053.19 (parent: Microsoft.NET.Sdk)
  - dotnet-user-jwts: from 8.0.0-alpha.1.22615.1 to 8.0.0-alpha.1.23053.19 (parent: Microsoft.NET.Sdk)
  - dotnet-user-secrets: from 8.0.0-alpha.1.22615.1 to 8.0.0-alpha.1.23053.19 (parent: Microsoft.NET.Sdk)
  - Microsoft.WindowsDesktop.App.Runtime.win-x64: from 8.0.0-alpha.1.22614.1 to 8.0.0-alpha.1.23053.1 (parent: Microsoft.NET.Sdk)
  - Microsoft.Dotnet.WinForms.ProjectTemplates: from 8.0.0-alpha.1.22602.3 to 8.0.0-alpha.1.22628.4 (parent: Microsoft.WindowsDesktop.App.Runtime.win-x64)
  - Microsoft.WindowsDesktop.App.Runtime.win-x64: from 8.0.0-alpha.1.22614.1 to 8.0.0-alpha.1.23053.1 (parent: Microsoft.NET.Sdk)
  - Microsoft.DotNet.Wpf.ProjectTemplates: from 8.0.0-alpha.1.22603.1 to 8.0.0-alpha.1.22631.1 (parent: Microsoft.WindowsDesktop.App.Runtime.win-x64)
  - Microsoft.FSharp.Compiler: from 12.5.0-beta.22612.4 to 12.5.0-beta.23053.5 (parent: Microsoft.NET.Sdk)
  - Microsoft.SourceBuild.Intermediate.fsharp: from 7.0.1-beta.22612.4 to 7.0.1-beta.23053.5 (parent: Microsoft.NET.Sdk)
  - Microsoft.NET.Test.Sdk: from 17.5.0-preview-20221214-01 to 17.6.0-preview-20230103-01 (parent: Microsoft.NET.Sdk)
  - Microsoft.NET.ILLink.Tasks: from 8.0.100-1.22612.2 to 8.0.100-1.23053.1 (parent: Microsoft.NET.Sdk)
  - Microsoft.Net.Compilers.Toolset: from 4.5.0-2.22613.14 to 4.5.0-3.23053.22 (parent: Microsoft.NET.Sdk)
  - Microsoft.Build: from 17.5.0-preview-22615-01 to 17.5.0-preview-23054-02 (parent: Microsoft.NET.Sdk)
  - NuGet.Build.Tasks: from 6.5.0-preview.3.130 to 6.5.0-preview.3.136 (parent: Microsoft.NET.Sdk)

 - Update ProjectBuildTests.cs

 - Don't crossgen ILLink which is no longer bundled

 - Merge branch 'main' of https://github.com/dotnet/installer into darc-main-66d586e3-f52b-4957-867f-75cf448ba8b8

 - Merge remote-tracking branch 'upstream/darc-main-e0248016-a57a-4ad2-aa0c-03ad8d093d6b' into darc-main-66d586e3-f52b-4957-867f-75cf448ba8b8

 - Add SuppressTfmSupportBuildWarnings=true in source-build

 - Merge branch 'darc-main-66d586e3-f52b-4957-867f-75cf448ba8b8' of https://github.com/dotnet/installer into darc-main-66d586e3-f52b-4957-867f-75cf448ba8b8

 - Update GenerateLayout logic to use DotNetBuildFromSourceFlavor vs DotNetBuildOffline

 - Add CA nowarn workaround

 - --amend
2023-01-04 23:26:05 +00:00
Přemek Vysoký
5aac0db522
Move src/SourceBuild/tarball/* up one folder (#15166) 2022-12-21 21:47:54 +01:00
Renamed from src/SourceBuild/tarball/content/repo-projects/Directory.Build.props (Browse further)