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

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

Merged
merged 1 commit into from
Apr 15, 2021

Conversation

jkoritzinsky
Copy link
Member

Should fix #51248

@vcsjones can you validate?

@ghost
Copy link

ghost commented Apr 14, 2021

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
Member

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

@@ -243,6 +243,9 @@ if(CLR_CMAKE_TARGET_WIN32)
add_custom_target(inject_debug_resources_singlefilehost ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/inject_debug_resources_singlefilehost.timestamp)
add_dependencies(runtime inject_debug_resources_singlefilehost)
endif()
else()
add_custom_target(inject_debug_resources_coreclr DEPENDS coreclr)
Copy link
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
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
Copy link

ghost commented Apr 14, 2021

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
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.
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