Skip to content

Commit

Permalink
[wasm] Pass --web-server-use-cop for threading samples (#76419)
Browse files Browse the repository at this point in the history
* [wasm] Pass --web-server-use-cop for threading samples

* CI: Add wasm samples to wasm specific paths list
  • Loading branch information
radical authored Sep 30, 2022
1 parent f6baea2 commit 5c8aade
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions eng/pipelines/common/evaluate-default-paths.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ parameters:
src/libraries/sendtohelix-wasm.targets
src/mono/nuget/Microsoft.NET.Runtime.WebAssembly.Sdk/*
src/mono/nuget/Microsoft.NET.Runtime.wasm.Sample.Mono/*
src/mono/sample/wasm/*
src/mono/wasi/*
src/mono/wasm/*
src/tasks/WasmAppBuilder/*
Expand Down
1 change: 1 addition & 0 deletions src/mono/sample/wasm/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<RunScriptInputName Condition="'$(TargetOS)' == 'Browser' and '$(OS)' == 'Windows_NT'">WasmRunnerTemplate.cmd</RunScriptInputName>

<RunScriptOutputPath>$([MSBuild]::NormalizePath('$(WasmAppDir)', '$(RunScriptOutputName)'))</RunScriptOutputPath>
<WasmXHarnessArgs Condition="'$(WasmEnableThreads)' == 'true' or '$(WasmEnablePerfTracing)' == 'true' or '$(MonoWasmBuildVariant)' == 'perftrace' or '$(MonoWasmBuildVariant)' == 'multithread'">$(WasmXHarnessArgs) --web-server-use-cop</WasmXHarnessArgs>
</PropertyGroup>

<Target Name="BuildSampleInTree"
Expand Down

0 comments on commit 5c8aade

Please sign in to comment.