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

Delete selected libs from cache to shrink size #43

Merged

Conversation

radekdoulik
Copy link
Member

@radekdoulik radekdoulik commented Jul 12, 2021

Delete these libs on windows, where we are over the nuget size limit.
Context: #34 (comment)

That should affect build times when using
debug sanitizers
which is not used by default builds.

Also remove mt libs. We don't support threads yet anyway.

Delete these libs on windows, where we are over the nuget size limit.
Context: dotnet#34 (comment)

That should affect build times when using
[debug sanitizers](https://emscripten.org/docs/debugging/Sanitizers.html),
which is not a common scenario I think.
@radekdoulik
Copy link
Member Author

We are still too big, 251MB

@radekdoulik
Copy link
Member Author

@lewing that gets us to 250MB. Is it enough or do we need remove more libs?

@radekdoulik
Copy link
Member Author

Now I noticed some of the emmalloc libs were in the minimal cache too. Maybe it will be better to remove the *-mt.a libs instead.

@radekdoulik
Copy link
Member Author

@lewing ok, that gets us to 242MB

Copy link
Member

@lewing lewing left a comment

Choose a reason for hiding this comment

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

I'm assuming this will cause no problems with the default build but have we actually tested it?

@lewing
Copy link
Member

lewing commented Jul 12, 2021

Ok now that we have a way to ship should we try putting the cache in a separate package and populating it with everything?

@radekdoulik radekdoulik changed the title Delete sanitizer libs from cache to shrink size Delete selected libs from cache to shrink size Jul 13, 2021
eng/emsdk.proj Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants