diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-12-05 13:07:05 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-12-06 11:57:16 +0100 |
commit | ef2da9cbe1d55fd9667ad7fe42792ffd8ed0ec50 (patch) | |
tree | 1480f7e0b8a074ac307201aa50553aa20c757544 /share | |
parent | 4402929b8956561255754bc610734a84974e997f (diff) | |
download | justbuild-ef2da9cbe1d55fd9667ad7fe42792ffd8ed0ec50.tar.gz |
Add CLI option to set write strategy for target-level cache
Diffstat (limited to 'share')
-rw-r--r-- | share/man/just.1.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/share/man/just.1.md b/share/man/just.1.md index ac30f9c1..e1e939fd 100644 --- a/share/man/just.1.md +++ b/share/man/just.1.md @@ -452,6 +452,24 @@ Supported by: build|install|rebuild|traverse. Do not omit runfiles in build report. Supported by: build|install|rebuild|traverse. +**`--target-cache-write-strategy`** *`STRATEGY`* +Strategy for creating target-level cache entries. Supported values are + + - *`sync`* Synchronize the artifacts of the export targets and write + target-level cache entries. This is the default behaviour. + - *`split`* Synchronize the artifacts of the export targets, using + blob splitting if the remote-execution endpoint supports it, + and write target-level cache entries. As opposed to the default + strategy, additional entries (the chunks) are created in the CAS, + but subsequent syncs of similar blobs might need less traffic. + - *`disable`* Do not write any target-level cache entries. As + no artifacts have to be synced, this can be useful for one-off + builds of a project or when the connection to the remote-execution + endpoint is behind a very slow network. + +Supported by: build|install|rebuild. + + Output dir and path ------------------- |