A clever make -j

View: New views
1 Messages — Rating Filter:   Alert me  

A clever make -j

by Michael Menegakis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

make -j "smart" can work like this:

- "See the number of new instances of gcc in 2 seconds"
- "Set that number as -j number dynamically every 4 seconds"

Better algorithms may be devised but this may be sufficient for a nice boost.


The reason for this is that regardless of cpu number, some programs
are simply made of very small files or others with very large files,
or computational needs may differ, making such algorithms potentially
beneficial.


_______________________________________________
Bug-make mailing list
Bug-make@...
http://lists.gnu.org/mailman/listinfo/bug-make