Skip to content

Commit

Permalink
Enable blake3 for Bazel builds (#565)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronmondal committed Jan 16, 2024
1 parent 51715bd commit 5744813
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 17 deletions.
2 changes: 2 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

startup --digest_function=blake3

# Use the earliest supported C++ version for protoc.
build --cxxopt=-std=c++14 --host_cxxopt=-std=c++14

Expand Down
28 changes: 11 additions & 17 deletions deployment-examples/docker-compose/local-storage-cas.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,20 @@
{
"stores": {
"CAS_MAIN_STORE": {
"verify": {
"compression": {
"compression_algorithm": {
"lz4": {}
},
"backend": {
"compression": {
"compression_algorithm": {
"lz4": {}
},
"backend": {
"filesystem": {
"content_path": "~/.cache/nativelink/content_path-cas",
"temp_path": "~/.cache/nativelink/tmp_path-cas",
"eviction_policy": {
// 10gb.
"max_bytes": 10000000000,
}
}
"filesystem": {
"content_path": "~/.cache/nativelink/content_path-cas",
"temp_path": "~/.cache/nativelink/tmp_path-cas",
"eviction_policy": {
// 10gb.
"max_bytes": 10000000000,
}
}
},
"verify_size": true,
"hash_verification_function": "sha256"
}
}
},
"AC_MAIN_STORE": {
Expand Down

0 comments on commit 5744813

Please sign in to comment.