Skip to content

Conversation

@mcbarton
Copy link
Collaborator

@mcbarton mcbarton commented Sep 16, 2025

Description

Please include a summary of changes, motivation and context for this PR.

Fixes # (issue)

Type of change

Please tick all options which are relevant.

  • Bug fix
  • New feature
  • Requires documentation updates

Testing

Please describe the test(s) that you added and ran to verify your changes.

Checklist

  • I have read the contribution guide recently

@codecov
Copy link

codecov bot commented Sep 16, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.83%. Comparing base (2ec0b9a) to head (199a4e3).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #713   +/-   ##
=======================================
  Coverage   79.83%   79.83%           
=======================================
  Files           9        9           
  Lines        3963     3963           
=======================================
  Hits         3164     3164           
  Misses        799      799           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mcbarton mcbarton force-pushed the Increase-number-of-processes-Emscripten-build branch 2 times, most recently from 7316569 to f18dead Compare October 7, 2025 14:48
@mcbarton mcbarton changed the title Remove restriction on number of processes for Emscripten static library build on Linux/MacOS Github runners Remove restriction on number of processes for Emscripten static library build on MacOS Github runners Oct 7, 2025
@mcbarton mcbarton force-pushed the Increase-number-of-processes-Emscripten-build branch from f279323 to 3db38e6 Compare October 15, 2025 14:21
@mcbarton mcbarton force-pushed the Increase-number-of-processes-Emscripten-build branch from 3db38e6 to 199a4e3 Compare October 16, 2025 09:04
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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we not doing the same for other OS?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because the Linux jobs still crash the ci if you remove the restriction for them. This PR allows us at least remove the restriction on the MacOS jobs while we are able to. Once this is in I plan to open another PR which removes the restriction on the Linux jobs, and I will just keep rebasing that PR every time a new PR goes in until it passes.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, is it a problem with emscripten?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No you can do these build with enough resources (e.g. locally on your laptop which will have more memory). There is no problem with Emscripten. The Github runners are too limited in resources to allow you to do these builds with multiple jobs (at least for now with Linux).

Copy link
Collaborator

@Vipul-Cariappa Vipul-Cariappa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mcbarton mcbarton merged commit cc2eb6a into compiler-research:main Oct 23, 2025
55 of 56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants