-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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] Add incremental build support #57113
Merged
Merged
Commits on Aug 10, 2021
-
Update tasks to support incremental build
MonoAOTCompiler: - Compiles assemblies to .bc files. - Hashes for the .bc files are stored in a json cache file. - And uses .depfile generated by mono-aot-cross, to figure out the if any of the dependencies have changed - Writes out the actual .bc file only if the assembly, or it's dependencies changed EmccCompile.cs: Support a `%(Dependencies)` metadata on the source files, to compile the files only when needed.
Configuration menu - View commit details
-
Copy full SHA for c3a8919 - Browse repository at this point
Copy the full SHA c3a8919View commit details -
Configuration menu - View commit details
-
Copy full SHA for 344deec - Browse repository at this point
Copy the full SHA 344deecView commit details -
Configuration menu - View commit details
-
Copy full SHA for b4c9083 - Browse repository at this point
Copy the full SHA b4c9083View commit details -
Configuration menu - View commit details
-
Copy full SHA for a795ef8 - Browse repository at this point
Copy the full SHA a795ef8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3658e9e - Browse repository at this point
Copy the full SHA 3658e9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85046e6 - Browse repository at this point
Copy the full SHA 85046e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for af1c40a - Browse repository at this point
Copy the full SHA af1c40aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a4bc1eb - Browse repository at this point
Copy the full SHA a4bc1ebView commit details
Commits on Aug 11, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c8b75fb - Browse repository at this point
Copy the full SHA c8b75fbView commit details -
Make the method used with
MemberData
, staticotherwise xunit just shows a cryptic: ``` Wasm.Build.Tests.RebuildTests.NoOpRebuild [STARTING] Wasm.Build.Tests.RebuildTests.NoOpRebuild [FAIL] System.NotSupportedException : Specified method is not supported. ```
Configuration menu - View commit details
-
Copy full SHA for f9aac56 - Browse repository at this point
Copy the full SHA f9aac56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d031c0 - Browse repository at this point
Copy the full SHA 1d031c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3835327 - Browse repository at this point
Copy the full SHA 3835327View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41976d7 - Browse repository at this point
Copy the full SHA 41976d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b008130 - Browse repository at this point
Copy the full SHA b008130View commit details -
Configuration menu - View commit details
-
Copy full SHA for 088a165 - Browse repository at this point
Copy the full SHA 088a165View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2147a14 - Browse repository at this point
Copy the full SHA 2147a14View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef97caf - Browse repository at this point
Copy the full SHA ef97cafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ee3c95 - Browse repository at this point
Copy the full SHA 3ee3c95View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ab2c7f - Browse repository at this point
Copy the full SHA 2ab2c7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd62b00 - Browse repository at this point
Copy the full SHA fd62b00View commit details -
MonoAOTCompiler: handle the case where we have a cache entry, but the…
… file on disk doesn't exist
Configuration menu - View commit details
-
Copy full SHA for 4ee7572 - Browse repository at this point
Copy the full SHA 4ee7572View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4f587c - Browse repository at this point
Copy the full SHA f4f587cView commit details
Commits on Aug 12, 2021
-
MonoAOTCompiler: Use hashes of .bc files instead of assemblies
`--depfile` isn't supported on aot config used by android, and fails with: ``` * Assertion at /__w/1/s/src/mono/mono/mini/aot-compiler.c:14216, condition `acfg->aot_opts.llvm_only && acfg->aot_opts.asm_only && acfg->aot_opts.llvm_outfile' not met ``` Instead, use hashes of the .bc.tmp files generated, with the existing .bc files.
Configuration menu - View commit details
-
Copy full SHA for 6ecf7b2 - Browse repository at this point
Copy the full SHA 6ecf7b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 402c1e4 - Browse repository at this point
Copy the full SHA 402c1e4View commit details -
MonoAOTCompiler: Support more than one output file
The earlier implementation assumed that there would be only one output file. But in some cases (eg. android), there are more than one, like `.s`, `.dll-llvm.o`.
Configuration menu - View commit details
-
Copy full SHA for 609d9b3 - Browse repository at this point
Copy the full SHA 609d9b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc7742c - Browse repository at this point
Copy the full SHA cc7742cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bcd3bf - Browse repository at this point
Copy the full SHA 3bcd3bfView commit details
Commits on Aug 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d11f69f - Browse repository at this point
Copy the full SHA d11f69fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b933cf - Browse repository at this point
Copy the full SHA 6b933cfView commit details
Commits on Aug 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 82ed3f1 - Browse repository at this point
Copy the full SHA 82ed3f1View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.