-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[wasm] Investigate emscripten cache usage #55014
Comments
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsCurrently it's caching for both configurations into the same folder.
Proposed solutionAdd
|
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
The cache situation needs to be fixed very soon. |
Tagging subscribers to this area: Issue DetailsCurrently it's caching for both configurations into the same folder.
Proposed solutionAdd
|
@radekdoulik have you decided that the approach should be changed? What was the blocker? |
With on of the latest emscripten bumps we changed the way we use the cache. We prime it before packaging the workload nuget with the cache and also when preparing docker images for CI. The cache is frozen during the user project builds as it can be located in a read-only location and it is generally good idea to not write to deployed nuget location. There is a remaining area, where we can improve and that is the secondary (fallback) cache. I think emscripten doesn't support that, it might be good addition to the upstream. |
cc @directhex |
@radekdoulik please update the status here |
please @radekdoulik |
Updated: now we have the cache in a separate nuget.
The cache nuget/pack will typically be installed in a non-user-writable location.
emcc
try to write to the cache?Currently it's caching for both Debug/Release configurations into the same folder.
Questions:
Proposed solution
Add
--cache <dir>
where dir is something likeupstream\emscripten\cache-<configuration>\
The text was updated successfully, but these errors were encountered: