-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1105 Speed up and reduce memory for builds #1106
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1106 +/- ##
===========================================
- Coverage 78.13% 76.43% -1.70%
===========================================
Files 671 698 +27
Lines 25960 26475 +515
===========================================
- Hits 20283 20237 -46
- Misses 5677 6238 +561
|
Looks like a test is failing consistently on gcc-9 with these changes. Have to investigate that. |
Not sure if the GCC test failure is related (doesn't immediately appear to be). Re-running. |
Hmm, it's consistent failure:
|
3e75f54
to
5c62334
Compare
Clones added
============
- tests/unit/termination/test_termination_action_callable.extended.cc 1
- tests/unit/termination/test_termination_action_common.cc 1
Clones removed
==============
+ tests/unit/pipe/test_callback_send.cc -1
+ tests/unit/pipe/test_callback_bcast.cc -1
+ tests/unit/pipe/test_callback_func_ctx.cc -1
+ tests/unit/pipe/test_callback_func.cc -1
See the complete overview on Codacy |
@pnstickne I've fixed it. Static linkage problem with the unity build with header includes. |
Fixes #1105
gold
linker by default when applicable--ELF format (less memory, and faster)With these changes, up to 50% faster in build performance across the board. The faster CI targets now take 15 minutes completely out of cache. We use half as much disk space as before with these changes!
Still waiting for all my images to build/push to see how it affects nvcc/intel performance.
The only downside of Unity builds is that more will need to be rebuilt if you modify a file. By default, Unity is not enabled unless running in CI (which we could change?)