Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Leverage Dual CPU's with GNU Make' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Leverage Dual CPU's with GNU Make
Authored by: nathanst on May 03, '04 10:51:56AM

I use this every day -- works fantastically for me. If you have a DP machine you may want to change your .cshrc file by adding the line:

alias make make -j 2

The activity monitor or top will confirm that you are using both processors. (As well as the performance increase!)



[ Reply to This | # ]
Leverage Dual CPU's with GNU Make
Authored by: GaelicWizard on May 03, '04 12:14:31PM

Unfortunately, if you added that alias to your shell then it will break many instances of "make install". It did for me at least. Most makefile writers don't take the time to write the install target correctly, so -j2 will try to install files before the directories have been created. :-/ YMMV

---
Pell



[ Reply to This | # ]