Automatic Caching for C++ Builds: Merging Git and the Compiler – Damien Buhl – C++ on Sea 2023

Automatic Caching for C++ Builds: Merging Git and the Compiler – Damien Buhl – C++ on Sea 2023

We live in a world where we have an infinity of computing machines and hence of build machines available. But because transferring build artifacts is slow or difficult we waste a lot of time rebuilding what was already built in another machine before, generating terrible costs for Continuous Integration.

Because of the C++ versatility and the platform-specificity of the build artifacts combined to ABI breaking compiler flags it is often better and simpler to build all dependencies and application code directly from source.

Building everything from source is slow though and exposes the full build complexity. Reusing someone’s build tree would be handy if it wasn’t full of absolute user specific file paths and if only we could commit the build tree to Git.

In this talk we show why and how we bound Git with C++ builds.

Sponsored by think-cell:

Damien Buhl

Damien (aka daminetreg) co-founder and CEO is an enthusiast C++ developer. Opensource entrepreneur, CppCon Speaker, community founder, Qt for Android contributor, Boost.Fusion maintainer since 2014.

C++ on Sea is an annual C++ and coding conference, in Folkestone, in the UK.
– Annual C++ on Sea, C++ conference:
– 2023 Program:
– Twitter:

YouTube Videos Filmed, Edited & Optimised by Digital Medium:

#cpp​ #cpponsea​ #programming​

Video Duration: 00:19:14

Subscribe to Channel:

This video by cpponsea was liked: 18 times

If you like this video by cpponsea, please support their CHANNEL by clicking on the SOURCE link below and Subscribe.



Featuring Your Videos:

By featuring your videos on our blog, your videos will receive hundreds of views daily from our website visitors, you get a backlink to your channel for followers to subscribe to your channel. This is a win/win for SEO for both of us. If you would like your videos or channel highlighted and premiered on our blog for FREE, please contact us.

However, if you no longer want us to premier your channel, and want us to remove your video and not feature your channel anymore, please contact us.

Video Post Disclaimer:

The information contained in the multimedia content (“Video Content”) or post content in general, represents the views and opinions of the original creators of such Video Content or post, and does not necessarily represent the views or opinions of AlHaririGroup. The mere appearance of Video Content or the post on the Site does not constitute an endorsement by AlHaririGroup or its affiliates of such Video or Post Content. 

The Video Content or Post has been made available for informational and educational purposes only. AlHaririGroup does not make any representation or warranties with respect to the accuracy, applicability, fitness, or completeness of the Video or Post Content. AlHaririGroup does not warrant the performance, effectiveness or applicability of any sites listed or linked to in any Video Content or Post.

Affiliate Disclosure:

This post and description may also contain some affiliate links, which means that the post creator may receive a small commission at no extra cost to you if you click on some of the product links and decide to make a purchase. This channel is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to

Copyright Issue:

If you find any of your copyrighted material in this post or video, please contact us, so we can resolve the issue.

© All rights reserved by respective owners.


Video Keyword Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *