Thank you WPILIB devs for compilation improvements! #4612
Answered
by
calcmogul
FarkasJoseph
asked this question in
General
|
Last season, our team noticed significantly long C++ build times, which were incredibly frustrating and delayed a lot of work (compile times could sometimes surpass 3-4 minutes on a slower laptop). However, on the new beta, we're seeing 4-5x faster build times (~30 seconds). That is insane! Thank you all! |
Answered by
calcmogul
Nov 11, 2022
Replies: 2 comments
|
The main thing we changed was precompiling common template instantiations in CI for classes like the pose estimators. Good to hear it had an effect. |
0 replies
Answer selected by
FarkasJoseph
|
Yes, we suspected the issue to be somewhere among all the odometry / path following libraries, and investigated precompiled headers, but we couldn't get them to work with gradle and haven't yet had time to investigate an alternative build solution. Thank you! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The main thing we changed was precompiling common template instantiations in CI for classes like the pose estimators. Good to hear it had an effect.