Created
November 20, 2019 21:47
-
-
Save HumanGamer/31c387a4f6ce87c9b213edd8eae02be2 to your computer and use it in GitHub Desktop.
Shell script to run make with all logical cores
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cores=$(nproc) | |
make -j$cores $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment