View Single Post
  #3   Spotlight this post!  
Unread 01-05-2016, 04:19 PM
kiettyyyy's Avatar
kiettyyyy kiettyyyy is offline
Registered User
FRC #1538 (The Holy Cows)
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2005
Location: San Diego, CA
Posts: 181
kiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond repute
Send a message via AIM to kiettyyyy
Re: Speeding up C++ compile times

Quote:
Originally Posted by MrRoboSteve View Post
One downside of the new control system was the C++ toolchain change, which has much slower compile times than the previous tooling. It's at the point where we are considering switching to Java.

Are there tweaks that teams are using to improve compile times?
Are you compiling using the -j flag?

-j enables multithreaded builds.

Edit: oops. Depends on what IDE you're using. The -j flag works from command line. If building within eclipse, right the project, click properties, C/C++ build, behavior, enable parallel build.
__________________
-Kiet Chau

2004-2008 - Software Developer/Driver on Team #968
2008-2011 - Software Developer/Coach/Mentor/"Engineer" on Team #968
2011-Present - Mentor & Engineer on Team #1538
www.team1538.com

Last edited by kiettyyyy : 01-05-2016 at 04:22 PM. Reason: Forgot to show how to enable MT builds..
Reply With Quote