-
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] Initial emscripten 3.1.30 support #81215
Changes from 1 commit
ed80ed3
96d59b8
6512388
0d522ba
f5a205e
7d2e8eb
44ede5e
ab5c12e
2e74270
e275857
54dfd24
c302891
9f145a3
d6f6a4e
5067a1d
0bb6b01
04a83eb
eb544bd
8b4a6e2
6e8bd62
48464d3
df724b5
2d67a1f
e6ecd14
918a47a
cde2398
b7999eb
1107185
4f5b216
0b3ce3c
053f2d3
a5a8498
a977682
d8b1e10
1e02d7c
e8f080b
031511d
889d036
f67ea5e
37f4314
c179e40
d2ee742
84dbae9
b94be3d
b551626
4c45801
c5f073f
b2a99a8
fda96f7
55fddbf
0da18d5
eb7be72
3fcf10f
6420bf6
58b5c1d
2a446e1
ef6443c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -325,10 +325,12 @@ | |||||
<WriteLinesToFile Lines="@(_EmccCFlags)" File="$(_EmccCompileRsp)" Overwrite="true" WriteOnlyWhenDifferent="true" /> | ||||||
<ItemGroup> | ||||||
<FileWrites Include="$(_EmccCompileRsp)" /> | ||||||
<EmscriptenMinimalBuildEnvVars Include="@(EmscriptenEnvVars)" /> | ||||||
<EmscriptenMinimalBuildEnvVars Include="FROZEN_CACHE=" /> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The Microsoft.NET.Runtime.Emscripten.Cache SDK overrides the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See dotnet/emsdk#211 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we do that on purpose IIRC runtime/src/mono/wasm/build/WasmApp.Native.targets Lines 332 to 333 in 9f145a3
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the freezing/build was required before we were shipping the cache package we should probably review the logic there There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. to provide more context: the reason for the change itself is that the default value of There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This whole does need to be reviewed again. If the workload is installed in non-user-writable location then how does the build behave? How does the |
||||||
</ItemGroup> | ||||||
|
||||||
<!-- warm up the cache --> | ||||||
<Exec Command="$(_EmBuilder) build MINIMAL" EnvironmentVariables="@(EmscriptenEnvVars)" StandardOutputImportance="Low" StandardErrorImportance="Low" /> | ||||||
<Exec Command="$(_EmBuilder) build MINIMAL" EnvironmentVariables="@(EmscriptenMinimalBuildEnvVars)" StandardOutputImportance="Low" StandardErrorImportance="Low" /> | ||||||
|
||||||
<Message Text="Compiling native assets with emcc with $(EmccCompileOptimizationFlag). This may take a while ..." Importance="High" /> | ||||||
<ItemGroup> | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be clearer to rename this to a private name like
_EmscriptenEnvVarsForBuildMinimal
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can do it in the follow up PR, to avoid more icu/emsdk package switch backs.