Skip to content

Conversation

lambdageek
Copy link
Member

@lambdageek lambdageek commented Apr 19, 2024

Fixes builds that use src/coreclr/build-runtime.sh directly, or bringup scenarios without msbuild

Use DOTNET_HOST_PATH to run cdac-build-tool if it is set. Fixes VMR source builds: dotnet/installer#19534 (comment)

Related to #100650 (comment)

…lable

Fixes builds that use src/coreclr/build-runtime.sh directly, or
bringup scenarios without msbuild
it's only unset by .NET Framework which is not supported by runtime.proj
Copy link
Member

@am11 am11 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@lambdageek lambdageek added source-build Issues relating to dotnet/source-build area-Build-mono and removed area-Diagnostics-coreclr labels Apr 19, 2024
@AndyAyersMS
Copy link
Member

FYI the issue this is fixing is causing all codegen PR formatting legs to fail...

Copy link
Contributor

Tagging subscribers to this area: @tommcdon
See info in area-owners.md if you want to be subscribed.

@lambdageek
Copy link
Member Author

lambdageek commented Apr 19, 2024

all codegen PR formatting legs

Not sure which ones you mean. Can you show me an example so I know what to watch for in the future

nevermind, found it. https://dev.azure.com/dnceng-public/public/_build/results?buildId=649734&view=logs&jobId=32acbff2-0723-5398-e8b4-f0caab88bd5c&j=32acbff2-0723-5398-e8b4-f0caab88bd5c&t=e0baece9-e978-53fe-46b2-81943d8b9394

I guess this is another use-case for running build-runtime.sh without the managed build stuff. In this case also it looks like using a stub contract is reasonable

@am11
Copy link
Member

am11 commented Apr 19, 2024

CI is green on AzDO. Feel free to merge.

@lambdageek lambdageek merged commit d28c577 into dotnet:main Apr 19, 2024
matouskozak pushed a commit to matouskozak/runtime that referenced this pull request Apr 30, 2024
…lable (dotnet#101297)

* [cdac] link a stub contract descriptor if cdac-build-tool is not available

   Fixes builds that use src/coreclr/build-runtime.sh directly, or bringup scenarios without msbuild

* Use DOTNET_HOST_PATH to run cdac-build-tool

   Related to dotnet/installer#19534 (comment)

   it's only unset by .NET Framework which is not supported by runtime.proj

---------

Co-authored-by: Adeel Mujahid <[email protected]>
@github-actions github-actions bot locked and limited conversation to collaborators May 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Diagnostics-coreclr source-build Issues relating to dotnet/source-build
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants