From 8873dd291bb4142ea5735833d8c7c48c92d517ba Mon Sep 17 00:00:00 2001 From: mcbarton Date: Tue, 16 Sep 2025 10:31:19 +0100 Subject: [PATCH 1/2] Remove restriction on number of processes for Emscripten static library build on MacOS Github runners --- .github/workflows/emscripten.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/emscripten.yml b/.github/workflows/emscripten.yml index 03eb5c076..4ba98c75e 100644 --- a/.github/workflows/emscripten.yml +++ b/.github/workflows/emscripten.yml @@ -706,7 +706,7 @@ jobs: fi os="${{ matrix.os }}" if [[ "${os}" != macos* ]] ; then - EMCC_CORES=1 emmake make -j 1 check-cppinterop + emmake make -j ${{ env.ncpus }} check-cppinterop else EMCC_CORES=2 emmake make -j 2 check-cppinterop fi From 199a4e36e1b2b4be5a2c751df2289130400ce18e Mon Sep 17 00:00:00 2001 From: mcbarton Date: Tue, 7 Oct 2025 17:21:38 +0100 Subject: [PATCH 2/2] Update emscripten.yml --- .github/workflows/emscripten.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/emscripten.yml b/.github/workflows/emscripten.yml index 4ba98c75e..d19c39727 100644 --- a/.github/workflows/emscripten.yml +++ b/.github/workflows/emscripten.yml @@ -706,9 +706,9 @@ jobs: fi os="${{ matrix.os }}" if [[ "${os}" != macos* ]] ; then - emmake make -j ${{ env.ncpus }} check-cppinterop + EMCC_CORES=1 emmake make -j 1 check-cppinterop else - EMCC_CORES=2 emmake make -j 2 check-cppinterop + emmake make -j ${{ env.ncpus }} check-cppinterop fi cd ./unittests/CppInterOp/ # Explaination of options for emrun