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

Unable to build upstream roslyn repository using a source-built SDK #3106

Open
omajid opened this issue Nov 8, 2022 · 1 comment
Open

Unable to build upstream roslyn repository using a source-built SDK #3106

omajid opened this issue Nov 8, 2022 · 1 comment
Labels
area-build Improvements in source-build's own build process

Comments

@omajid
Copy link
Member

omajid commented Nov 8, 2022

We are trying to build and test the roslyn repo (standalone) on a ppc64le machine to verify that it's fully working and all known bugs have been fixed. On that architecture, the only SDK that's generally available for users is a source-build SDK. Unfortunately, roslyn has a number of projects that need the Microsoft.NET.Sdk.WindowsDesktop sdk. So a source-build SDK can't actually build or test roslyn.

From what I can tell, the errors are all in projects that are not used in source-build. The projects are (eventually) marked as ExcludeFromSourceBuild=true. When source-build is building roslyn, it uses arcade overrides to feed it an empty SDK to get those projects to restore (but not build). But that approach of overriding arcade isn't really available when we want to build/test roslyn standalone.

Is there some way to use a source-build SDK to build+test roslyn standalone?

@dotnet-issue-labeler dotnet-issue-labeler bot added area-build Improvements in source-build's own build process untriaged labels Nov 8, 2022
@omajid omajid changed the title Unable to build the original roslyn repository using a source-built SDK Unable to build upstream roslyn repository using a source-built SDK Nov 8, 2022
@MichaelSimons
Copy link
Member

[Triage] There are some known ExludeFromSourceBuild issues tracked with #1736 and #1825. @omajid indicates this is not urgent as he has workarounds, remove projects from the solution.

Aside from ExludeFromSourceBuild, there is a question of whether or not SBRP could be utilized here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-build Improvements in source-build's own build process
Projects
Status: Backlog
Development

No branches or pull requests

2 participants