Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebuild as many projects as possible #51427

Merged
merged 10 commits into from
Feb 26, 2021
Merged

Conversation

RikkiGibson
Copy link
Contributor

@RikkiGibson RikkiGibson commented Feb 23, 2021

This modifies the rebuild leg to rebuild as many bits as possible.

This also introduces some changes to:

  1. not fail the rebuild leg when assemblies that don't have compilation options/metadata references at all are found.
  2. not crash the program when such assemblies are found.
  3. embed ildasm with the utility as the Helix machines don't always have it available in the hard coded location we assume it will be found in. This makes it so we can actually get a debug artifact when the rebuild fails in CI.

Results of rebuilding everything in Roslyn repo are detailed here: https://gist.github.com/RikkiGibson/77cad2adb2e35552aa2008834d6f69a5

Please take a look @tmat @jaredpar @cston

@RikkiGibson RikkiGibson marked this pull request as ready for review February 24, 2021 21:08
@RikkiGibson RikkiGibson requested a review from a team as a code owner February 24, 2021 21:08
@RikkiGibson RikkiGibson requested review from a team as code owners February 24, 2021 22:03
@RikkiGibson RikkiGibson mentioned this pull request Feb 24, 2021
@@ -32,7 +32,8 @@
<MicrosoftCodeAnalysisTestingVersion>1.0.1-beta1.20623.3</MicrosoftCodeAnalysisTestingVersion>
<CodeStyleAnalyzerVersion>3.8.0</CodeStyleAnalyzerVersion>
<VisualStudioEditorPackagesVersion>16.8.181</VisualStudioEditorPackagesVersion>
<ILToolsPackageVersion>5.0.0-alpha1.19409.1</ILToolsPackageVersion>
<ILAsmPackageVersion>5.0.0-alpha1.19409.1</ILAsmPackageVersion>
<ILDAsmPackageVersion>5.0.0-preview.1.20112.8</ILDAsmPackageVersion>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we using different versions here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I tried using the same, original version for both, NuGet complained me that it couldn’t find such a version of ildasm and chose the version that you see instead.


namespace BuildValidator
{
public static class IldasmUtilities
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

public [](start = 4, length = 6)

internal?

" --assembliesPath `"$ArtifactsDir/obj/PrepareTests`"" +
" --assembliesPath `"$ArtifactsDir/obj/RunTests`"" +
" --assembliesPath `"$ArtifactsDir/obj/vbc/$configuration/netcoreapp3.1`"" +
" --assembliesPath `"$ArtifactsDir/obj/VBCSCompiler/$configuration/netcoreapp3.1`"" +
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@RikkiGibson RikkiGibson merged commit 9438f74 into dotnet:master Feb 26, 2021
@ghost ghost added this to the Next milestone Feb 26, 2021
@RikkiGibson RikkiGibson deleted the rebuild-more branch February 26, 2021 01:05
@allisonchou allisonchou modified the milestones: Next, 16.10.P2 Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants