Improve build speed by refactoring Makefile #453
Labels
area/build-tools
Development tooling. I.e. pretty much everything in the `build` directory.
help wanted
We would love help on these issues. Please come help us!
Milestone
There are currently two issues with Makefile which prevent it from being parallelizable:
For example if I do:
It will likely fail or be incorrect (because build and push will be running in parallel, it will either fail to push or push a previous version). A fix for this is to add a dependency on build to push. There are all kinds of issues like that in the Makefile.
Ideally I should be able to say
export MAKEFLAGS="-j 4"
in my~/.bashrc
and my builds would be magically faster, but still correct regardless of targets that I specify.build-agones-sdk-binary
) are sequential, and pretty slow (in particular when building on macOS, which has horrible filesystem mount performance). They might benefit from being broken into smaller pieces which can run in paralllel.The text was updated successfully, but these errors were encountered: