Skip to content

Add stub definitions of inject debug resources targets to fix runtimeinfo build dependency issues.#51254

Merged
jkoritzinsky merged 1 commit into
dotnet:mainfrom
jkoritzinsky:stub-targets
Apr 15, 2021
Merged

Add stub definitions of inject debug resources targets to fix runtimeinfo build dependency issues.#51254
jkoritzinsky merged 1 commit into
dotnet:mainfrom
jkoritzinsky:stub-targets

Conversation

@jkoritzinsky

Copy link
Copy Markdown
Member

Should fix #51248

@vcsjones can you validate?

@jkoritzinsky jkoritzinsky added the area-Infrastructure-coreclr Only use for closed issues label Apr 14, 2021
@ghost

ghost commented Apr 14, 2021

Copy link
Copy Markdown

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

Issue Details

Should fix #51248

@vcsjones can you validate?

Author: jkoritzinsky
Assignees: -
Labels:

area-Infrastructure-coreclr

Milestone: -

@vcsjones

Copy link
Copy Markdown
Member

@jkoritzinsky that appears to have fixed the issue for me. Thank you!

add_dependencies(runtime inject_debug_resources_singlefilehost)
endif()
else()
add_custom_target(inject_debug_resources_coreclr DEPENDS coreclr)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The other thing that we could do is make runtimeinfo depend on inject_debug_resources_coreclr on windows, given that conceptually there's no external resources needed for debugging coreclr. Do you have a preference between the dependencies vs this phony target?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I'd rather do the phony target so we don't need to add a different dependency that has the same effect on non-Windows platforms.

@ghost

ghost commented Apr 14, 2021

Copy link
Copy Markdown

Hello @hoyosjs!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@jkoritzinsky

Copy link
Copy Markdown
Member Author

Failure looks like a machine disconnect. Merging.

@jkoritzinsky
jkoritzinsky merged commit 39be34f into dotnet:main Apr 15, 2021
@jkoritzinsky
jkoritzinsky deleted the stub-targets branch April 15, 2021 16:30
@ghost ghost locked as resolved and limited conversation to collaborators May 15, 2021
@karelz karelz added this to the 6.0.0 milestone May 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Infrastructure-coreclr Only use for closed issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Linux build: The dependency target "inject_debug_resources_coreclr" of target "runtimeinfo" does not exist.

4 participants