-
Notifications
You must be signed in to change notification settings - Fork 437
source-build: build llvm-project. #16757
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
Closed
Closed
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
1443ae4
source-build: build llvm-project.
tmds 1ebf66a
Add llvm-project to source-mappings.json.
tmds 246798d
Remove ObjWriter dependency from eng/Version.Details.xml.
tmds 31cfd5f
Update src/VirtualMonoRepo/source-mappings.json
tmds e46c3d3
Revert "Remove ObjWriter dependency from eng/Version.Details.xml."
premun fd69619
Add pstl
premun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| <Project> | ||
| <Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" /> | ||
|
|
||
| <PropertyGroup> | ||
| <BuildCommandArgs/> | ||
| <BuildCommand>$(ProjectDirectory)build$(ShellExtension) $(StandardSourceBuildArgs) $(BuildCommandArgs)</BuildCommand> | ||
| </PropertyGroup> | ||
|
|
||
| <ItemGroup> | ||
| <RepositoryReference Include="arcade" /> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup> | ||
| <UseSourceBuiltSdkOverride Include="@(ArcadeSdkOverride)" /> | ||
| </ItemGroup> | ||
|
|
||
| <Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" /> | ||
| </Project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally this would be defined within the runtime's version.details.xml. Additionally the use of SourceBuildTarball should be updated to just SourceBuild. I am trying to remove the SourceBuildTarball attribute.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I copied it from the old PR. I will update it.
I have no idea what this does. Can you give a short description how this is used, or point me to some doc?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You want me to make a PR against https://github.com/dotnet/runtime?
and add
to its
eng/Version.Details.xml?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like these are already defined:
https://github.com/dotnet/runtime/blob/178425101dd6f697682031a9a953450d82719eb6/eng/Version.Details.xml#L15-L46
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does two things.
It indicates that the dependency should be included in the VMR. It specified the digest to include. The version details graph is walked and the first entry wins if there are multiple for a repo.
It tells the source build infra to pull in the intermediate package for the repo when building the repo level source build. The intermediate contents pre-populate the local nuget cache for prebuilt detection.
One will need the
SourceBuildelement added to it.Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand what you mean.
got it, the
SourceBuildelement.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies, I used angle brackets in my original response and it wasn't rendered. I updated my comment.