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

Skip AOT of Microsoft.CodeAnalysis.CSharp.dll for WASM, due to out-of-memory issues in CI #63958

Merged
merged 19 commits into from
Feb 15, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
755f075
Only build stuff needed for debugging issue
directhex Jan 18, 2022
5e34fb8
Typing wih a hand in a brace is hard
directhex Jan 19, 2022
03b4fe8
don't only smoke
directhex Jan 19, 2022
2800e21
Speculative workaround from Zoltan/Ankit
directhex Jan 21, 2022
2c77204
Merge remote-tracking branch 'origin/main' into further-ci-crimes
directhex Jan 21, 2022
819547a
Merge remote-tracking branch 'origin/main' into further-ci-crimes
directhex Jan 21, 2022
579b53d
Make speculative PR not speculative any more
directhex Jan 21, 2022
1f76782
Merge remote-tracking branch 'origin/main' into further-ci-crimes
directhex Jan 24, 2022
e2d9164
Merge remote-tracking branch 'origin/main' into further-ci-crimes
directhex Feb 7, 2022
19fe64a
Make AOT skip list specified per project, not hardcoded
directhex Feb 8, 2022
abf5b8a
Re-remove excluded tests, this change was skipped due to merge error
directhex Feb 8, 2022
54ce867
Advice from Ankit
directhex Feb 8, 2022
f65edfd
Fix typo in metadata name
radical Feb 8, 2022
96a2200
Merge remote-tracking branch 'origin/main' into further-ci-crimes
radical Feb 8, 2022
874aad0
[wasm] Add aot-skipped assemblies back to the list of assemblies
radical Feb 9, 2022
cbb852a
Merge remote-tracking branch 'origin/main' into further-ci-crimes
radical Feb 9, 2022
561a2c5
Get rid of weird escaping
directhex Feb 14, 2022
4170990
Use _AOT_InternalForceInterpretAssemblies instead of HighAotMemoryUsa…
directhex Feb 14, 2022
eab3d9e
More suggestions
directhex Feb 14, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion eng/testing/tests.wasm.targets
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
<BuildAOTTestsOn Condition="'$(BuildAOTTestsOn)' == ''">local</BuildAOTTestsOn>
</PropertyGroup>

<ItemGroup>
<_AOT_InternalForceInterpretAssemblies Include="@(HighAotMemoryUsageAssembly)" />
</ItemGroup>

<!--
This is running during compile time and therefore $(Scenario) is empty, unless the specific project sets it.
Any settings in the project file could be replaced on Helix.
Expand Down Expand Up @@ -170,7 +174,7 @@

-->

<_WasmItemsToPass Include="@(HighAotMemoryUsageAssembly)" OriginalItemName__="HighAotMemoryUsageAssembly" />
<_WasmItemsToPass Include="@(_AOT_InternalForceInterpretAssemblies)" OriginalItemName__="HighAotMemoryUsageAssembly" />
directhex marked this conversation as resolved.
Show resolved Hide resolved

</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/mono/wasm/build/WasmApp.Native.targets
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ EMSCRIPTEN_KEEPALIVE void mono_wasm_load_profiler_aot (const char *desc) { mono_

<ItemGroup>
<!-- Skip known-huge assemblies specified in csproj -->
<_AotInputAssemblies Condition="'%(Filename)' != '' and '@(_AotInputAssemblies->Metadata(`Filename`))' != '' and '@(HighAotMemoryUsageAssembly->Metadata(`Filename`))' != ''">
<_AotInputAssemblies Condition="'%(Filename)' != '' and '@(_AotInputAssemblies->Metadata(`Filename`))' != '' and '@(_AOT_InternalForceInterpretAssemblies->Metadata(`Filename`))' != ''">
<AOT_InternalForceToInterpret>true</AOT_InternalForceToInterpret>
</_AotInputAssemblies>
</ItemGroup>
Expand Down