-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[release/6.0-preview7] [wasm] Add support for using custom native libraries #56013
[release/6.0-preview7] [wasm] Add support for using custom native libraries #56013
Conversation
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
(cherry picked from commit d574b03)
…otnet#55848) .. and fix logging that broke recently. `tasks/Common/Utils.cs`: TaskLoggingHelper Utils.Logger is a static field, which must be set by task else any methods in Utils, eg. RunProcess, silently fail to log any messages. Also, this would be a problem when building multiple projects in parallel, since the logger is a task-specific one. Instead, we pass logger as an arg to all the methods. (cherry picked from commit 3301e9d)
…net#55939) (cherry picked from commit 04072ff)
* [wasm] Add back --emit-llvm that got removed mistakenly, in an earlier commit .. found thanks to Jerome Laban. * [wasm] Set EmccCompile's messages to MessageImportance.Low by default. .. and to MessageImportance.Normal if `$(EmccVerbose)==true`. * [wasm] Quote filenames passed to emcc compile command line * Add more blazorwasm tests - for debug/release, aot/relinking * Bump sdk for workload testing to 6.0.100-rc.1.21370.2 * [wasm] Fix regression in compiling bitcode -> .o The `-emit-llvm` arg has been incorrectly added, and removed from the args used for compiling .bc->.o . This commit fixes it, and adds a crude test for it, so we don't regress again. * Fix build (cherry picked from commit 1d8ad03)
92e997c
to
275c5b0
Compare
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsBackports:
The main update being (1) to add support for custom native libraries. The others essentially address some regressions in building the native bits, which resulted in increased build time, and file size. /cc @lewing @steveisok
|
275c5b0
to
d27d83c
Compare
Approved offline |
Backports:
The main update being (1) to add support for custom native libraries. The others essentially address some regressions in building the native bits, which resulted in increased build time, and file size.
And the sdk version used to test against wasm workloads, is bumped to the latest preview7 build.
/cc @lewing @steveisok
Customer Impact
Allows customers use native libraries on Wasm, a highly requested feature we'd like feedback on and fixes build related regressions.
Regression?
Yes, includes fixes for size and build time regressions.
Risk
Low, restricted to Browser (and some mobile tasks).
Testing
Tests are included + manual testing.