Skip to content

Commit fb284a8

Browse files
authored
Restrict parallelism in LLVM FullAOT compile, to prevent OOM (dotnet#63800)
* Restrict parallelism in FullAOT compile, to prevent OOM * Reduce parallelism further, due to more OOM
1 parent 7483b24 commit fb284a8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Diff for: eng/pipelines/common/templates/runtimes/run-test-job.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ jobs:
319319
- script: $(Build.SourcesDirectory)/src/tests/build$(scriptExt) $(logRootNameArg)MonoAot $(monoAotBuildshCommand) $(buildConfig) $(archType) $(runtimeVariantArg)
320320
displayName: "LLVM AOT compile CoreCLR tests"
321321
- ${{ if eq(parameters.archType, 'arm64') }}:
322-
- script: $(Build.SourcesDirectory)/src/tests/build$(scriptExt) $(logRootNameArg)MonoAot $(monoAotBuildshCommand) $(buildConfig) $(archType) cross $(runtimeVariantArg)
322+
- script: $(Build.SourcesDirectory)/src/tests/build$(scriptExt) $(logRootNameArg)MonoAot $(monoAotBuildshCommand) $(buildConfig) $(archType) cross $(runtimeVariantArg) -maxcpucount:2
323323
displayName: "LLVM AOT cross-compile CoreCLR tests"
324324
env:
325325
__MonoToolPrefix: aarch64-linux-gnu-

Diff for: eng/pipelines/runtime.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1110,8 +1110,7 @@ jobs:
11101110
runtimeFlavor: mono
11111111
platforms:
11121112
- Linux_x64
1113-
# Disabled pending outcome of https://github.com/dotnet/runtime/issues/60234 investigation
1114-
#- Linux_arm64
1113+
- Linux_arm64
11151114
helixQueueGroup: pr
11161115
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
11171116
jobParameters:

0 commit comments

Comments
 (0)