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

Update dotnet/runtime build invocation #45

Merged
merged 1 commit into from
Mar 19, 2020

Conversation

ViktorHofer
Copy link
Member

@ViktorHofer ViktorHofer commented Mar 19, 2020

dotnet/runtime will remove the build helper scripts (coreclr.cmd, libraries.cmd, etc.) soon. Proactively updating the invocation here to prevent a break in the source-indexer.

dotnet/runtime will remove the build helper scripts (coreclr.cmd, libraries.cmd, etc.) soon. Proactively updating the invocation here to prevent a break in the source-indexer.
@@ -28,7 +28,7 @@
/*
</SparseCheckout>
<PrepareCommand>
src\coreclr\build.cmd -skiptests -skipnative -linuxmscorlib &amp;&amp; libraries.cmd /p:BuildNative=false /p:BuildPackages=false -binarylog -os Linux
build.cmd -subsetcategory coreclr-libraries -subset corelib-all /p:BuildNative=false /p:BuildPackages=false -binarylog -os Linux
Copy link
Member

Choose a reason for hiding this comment

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

Will this build both corelib and the libraries? Is this going to build every version of corelib? It should only build the linux mscorlib, because we use existence of the output file to determine which version of a project to index.

Copy link
Member Author

@ViktorHofer ViktorHofer Mar 19, 2020

Choose a reason for hiding this comment

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

Because of the -os parameter at the end this builds Linux (only).

Will this build both corelib and the libraries?

This builds CoreLib from coreclr and libraries managed code.

Copy link
Member Author

Choose a reason for hiding this comment

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

Can we test the changes somehow? :)

Copy link
Member

Choose a reason for hiding this comment

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

You can just run msbuild build.proj locally. It will take a long time, but will produce the index locally that you can run.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm relatively certain this is good as is. Let's merge and I'll monitor the build.

@ViktorHofer ViktorHofer merged commit 818270c into master Mar 19, 2020
@ViktorHofer ViktorHofer deleted the ViktorHofer-runtime-invocation branch March 19, 2020 19:14
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.

2 participants