From a0063addd0be10238d6cc85d1a4b718da8d989bc Mon Sep 17 00:00:00 2001 From: Younan Zhang Date: Sat, 7 Oct 2023 19:03:36 +0800 Subject: [PATCH] Limit the maximum link jobs to 1 to avoid OOM in CI Github imposes a 7 GiB RAM restriction for free action plans, which might be insufficient for parallel linking jobs to execute on. --- .github/workflows/autobuild.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/autobuild.yaml b/.github/workflows/autobuild.yaml index 8717878..2991159 100644 --- a/.github/workflows/autobuild.yaml +++ b/.github/workflows/autobuild.yaml @@ -153,6 +153,7 @@ jobs: "-DLLVM_ENABLE_ZLIB=OFF" "-DLLVM_USE_CRT_RELEASE=MT" "-DLLVM_ENABLE_PDB=ON" + "-DLLVM_PARALLEL_LINK_JOBS=1" grpc_cmake: >- "-DgRPC_MSVC_STATIC_RUNTIME=ON" binary_extension: ".exe"