Skip to content

Conversation

@jkoritzinsky
Copy link
Member

Fixes #104158

This will also allow us to take a dependency on native components from the cdacreader project when necessary without too much difficulty (ie. native unwinder)

…time native build

Fixes dotnet#104158

This will also allow us to take a dependency on native components from the cdacreader project when necessary without too much difficulty (ie. native unwinder)
@tommcdon tommcdon added the enhancement Product code improvement that does NOT require public API changes/additions label Nov 7, 2024
Copy link
Member

@AaronRobinsonMSFT AaronRobinsonMSFT left a comment

Choose a reason for hiding this comment

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

I like the idea. I defer to @elinor-fung for confirmation this is the right place.

@MichalStrehovsky
Copy link
Member

Did you consider making it it's own subset or folding into a new unified subset with existing linuxdac subset? Adding new ILC-compiled things noticeably slows down the build. (I already have cdac commented out locally to speed up my builds and wanted to do some PR about it at some point; this PR looks like a good general direction.)

@am11
Copy link
Member

am11 commented Nov 7, 2024

We should be able to further simplify the duplicate props am11@7bba405.

@jkoritzinsky
Copy link
Member Author

Did you consider making it it's own subset or folding into a new unified subset with existing linuxdac subset? Adding new ILC-compiled things noticeably slows down the build. (I already have cdac commented out locally to speed up my builds and wanted to do some PR about it at some point; this PR looks like a good general direction.)

I considered putting it into its own subset (as tools.cdacreader or something like that), but I didn't want to break the dev workflow of the people who work on it regularly. I don't like putting it into linuxdac as the people working on cDAC (and also really most everyone) doesn't need to build the cross-OS dacs for their regular workflows.

If the people who work on cDAC regularly (all tagged for reviewing this PR) are okay with it being in a tools subset, I'll happily move it there.

@elinor-fung
Copy link
Member

I'm fine with a separate subset that stays part of PR/CI builds but not part of clr.runtime/tools (agreed that I wouldn't want it with the cross-OS DACs). I think it is a reasonable logical split and a trivial change to the cDAC development workflow for significant benefit to other workflows.

Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>
@jkoritzinsky
Copy link
Member Author

@elinor-fung can you take another look at this PR when you have a chance?

@jkoritzinsky
Copy link
Member Author

/ba-g unrelated timeout

@jkoritzinsky jkoritzinsky merged commit 81cf4f5 into dotnet:main Nov 12, 2024
mikelle-rogers pushed a commit to mikelle-rogers/runtime that referenced this pull request Dec 10, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Dec 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Diagnostics-coreclr enhancement Product code improvement that does NOT require public API changes/additions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[cdacreader] Simplify build order and dependencies

6 participants