utra-robosoccer / soccer-embedded

Collection of embedded programs for an autonomous humanoid soccer robot
http://utrahumanoid.ca
32 stars 8 forks source link

Enable parallel compilation (~5x compile time speedup) #190

Closed gokuldharan closed 5 years ago

gokuldharan commented 5 years ago

Some stats from my machine (compile times):

F4: 29.87s -> 6.96s F7: 47.90s -> 11.54s

gokuldharan commented 5 years ago

All those months of waiting forever for the project to compile could have been drastically improved by running make with make -jXX (where XX is the number of jobs that make will launch). I chose 12 jobs because it should be enough to give all of our laptops/computers enough jobs to keep all cores occupied and maximize parallelism.