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 symbols handling #4951

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

richlander
Copy link
Member

@richlander richlander commented Oct 18, 2023

The native AOT folks told me the new approach for stripping symbols.

I was able to validate that cache mounts save time. It's possible not all the mounts are needed. I didn't validate that. Perhaps we can take a more systematic approach with logs to decide which ones are providing value.

The -a bug is resolved, per dotnet/sdk#34026

@baronfel -- is there a good way for us to validate which cache mounts are providing benefit? We want to see which assets are downloaded fresh and then which are not on subsequent builds.

Copy link
Contributor

@lbussell lbussell left a comment

Choose a reason for hiding this comment

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

Tested on Windows and these all work fine. Sorry for the delay.

@lbussell lbussell requested a review from mthalman April 25, 2024 21:20
Comment on lines +8 to +10
RUN --mount=type=cache,target=/root/.nuget \
--mount=type=cache,target=/source/bin \
--mount=type=cache,target=/source/obj \
Copy link
Member

Choose a reason for hiding this comment

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

Why is this pattern only done for this sample?

Copy link
Contributor

Choose a reason for hiding this comment

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

Seems like this should be split into 2 PRs - one for stripping symbols and one for cache mounting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants