facebook / facebook/buck2

Caching multiple copies of outputs for each source file

Open
#927 7 comments 0 reactions 0 assignees View on GitHub
enhancement UX
Dominant language
Rust
Stars
4.4k
Forks
394
PR merge metrics
No merged PRs in 30d

Description

I'm using Buck2 for large C++ builds. For various reasons, I can't use RBE. It appears that if I build a source file on commit A, then again on commit B (where the contents of the source file or its headers have changed), then build it again on commit A, there's no cached artifact for it. It appears that the output from commit B has clobbered the output from commit A from the first build. It would be great if Buck2 could keep multiple copies of outputs for each source file (or maybe I'm just missing a flag that Buck2 already has).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.