From 69cc21573468f04dd790c358ef09fd99f7e5d426 Mon Sep 17 00:00:00 2001 From: Matous Kozak Date: Mon, 5 Feb 2024 19:41:04 +0100 Subject: [PATCH 1/2] limit cpus for wasm AOT lines --- .../extra-platforms/runtime-extra-platforms-wasm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml b/eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml index 4c3994a03be1b6..ba8e265f52ba77 100644 --- a/eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml +++ b/eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml @@ -27,7 +27,7 @@ jobs: - browser_wasm - browser_wasm_win nameSuffix: _AOT - extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS) + extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS) /maxcpucount:1 runAOT: true alwaysRun: true @@ -153,7 +153,7 @@ jobs: - browser_wasm - browser_wasm_win nameSuffix: _AOT - extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS) + extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS) /maxcpucount:1 runAOT: true isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }} isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }} From ae05914611592b5d69c1b8b524bc0045bb71d19b Mon Sep 17 00:00:00 2001 From: Matous Kozak Date: Tue, 6 Feb 2024 13:36:54 +0100 Subject: [PATCH 2/2] limit cpus for hybrid AOT as well --- .../extra-platforms/runtime-extra-platforms-wasm.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml b/eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml index ba8e265f52ba77..18ac6e308296e3 100644 --- a/eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml +++ b/eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml @@ -27,7 +27,7 @@ jobs: - browser_wasm - browser_wasm_win nameSuffix: _AOT - extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS) /maxcpucount:1 + extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS) /maxcpucount:1 # Fixme: https://github.com/dotnet/runtime/issues/97044 runAOT: true alwaysRun: true @@ -141,7 +141,7 @@ jobs: platforms: - browser_wasm nameSuffix: _EAT - extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS) /maxcpucount:1 + extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS) /maxcpucount:1 # Fixme: https://github.com/dotnet/runtime/issues/97044 runAOT: false isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }} isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }} @@ -153,7 +153,7 @@ jobs: - browser_wasm - browser_wasm_win nameSuffix: _AOT - extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS) /maxcpucount:1 + extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS) /maxcpucount:1 # Fixme: https://github.com/dotnet/runtime/issues/97044 runAOT: true isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }} isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }} @@ -226,7 +226,7 @@ jobs: - browser_wasm - browser_wasm_win nameSuffix: _HybridGlobalization_AOT - extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS) /p:HybridGlobalization=true + extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS) /p:HybridGlobalization=true /maxcpucount:1 # Fixme: https://github.com/dotnet/runtime/issues/97044 runAOT: true isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }} isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }}