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

Add local build infra for arcade-powered source-build (stage 1) #6837

Merged
merged 5 commits into from
Jan 22, 2021

Conversation

dagood
Copy link
Member

@dagood dagood commented Jan 22, 2021

https://github.com/dotnet/source-build/blob/master/Documentation/planning/arcade-powered-source-build/implementation-plan.md

Incorporates some simple patches and adds a .patch file for the changes to build arcade targeting net5.0. Incorporation into the repo will probably involve making a centralized property for "target SDK framework version" and changing it to net6.0. Including the patch file as it exists for 5.0 for now.

/cc @markwilkie

dagood and others added 5 commits January 22, 2021 10:21
Arcade has a special version prop for CodeAnalysis.CSharp in GenFacades to try to match the version loaded by msbuild. In the offline build, this is simply the source-built version.
Microsoft.CodeAnalysis.CSharp brings in System.Collections.Immutable and
System.Reflection.Metadata dependencies with prebuilt versions. We can
override them to the version that we built.

dotnet/arcade already defines SystemCollectionsImmutableVersion and
SystemReflectionMetadataVersion, and it seems safe to use their values.

See dotnet/source-build#1881
@dagood dagood requested review from dseefeld and crummel January 22, 2021 16:39
@dagood dagood self-assigned this Jan 22, 2021
@dagood dagood merged commit c313ff8 into dotnet:master Jan 22, 2021
@dagood dagood deleted the apsb branch January 22, 2021 19:19
akoeplinger pushed a commit to akoeplinger/arcade that referenced this pull request Apr 12, 2021
…et#6837)

* Initial source-build config

* Exclude unneeded project.

* Reassign MsbuildTaskMicrosoftCodeAnalysisCSharpVersion in offline build

Arcade has a special version prop for CodeAnalysis.CSharp in GenFacades to try to match the version loaded by msbuild. In the offline build, this is simply the source-built version.

* Disable ILRewrite step - this isn't built in source-build so it fails.

* Override Microsoft.CodeAnalysis.CSharp pkg deps

Microsoft.CodeAnalysis.CSharp brings in System.Collections.Immutable and
System.Reflection.Metadata dependencies with prebuilt versions. We can
override them to the version that we built.

dotnet/arcade already defines SystemCollectionsImmutableVersion and
SystemReflectionMetadataVersion, and it seems safe to use their values.

See dotnet/source-build#1881

Co-authored-by: Chris Rummel <crummel@microsoft.com>
Co-authored-by: dseefeld <dseefeld@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants