bazel-buildfarm VS sccache

Compare bazel-buildfarm vs sccache and see what are their differences.

bazel-buildfarm

Bazel remote caching and execution service (by bazelbuild)

sccache

Sccache is a ccache-like tool. It is used as a compiler wrapper and avoids compilation when possible. Sccache has the capability to utilize caching in remote storage environments, including various cloud storage options, or alternatively, in local storage. (by mozilla)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
bazel-buildfarm sccache
4 71
624 5,347
4.5% 3.0%
9.5 9.4
5 days ago 2 days ago
Java Rust
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

bazel-buildfarm

Posts with mentions or reviews of bazel-buildfarm. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-01.
  • Distcc: A fast, free distributed C/C++ compiler
    11 projects | news.ycombinator.com | 1 Jun 2023
    It can be. By default it is local.

    But it has protobufs interfaces (IIRC), so a distributed build farm would generate the grpc endpoints for their implementation and then you tell bazel on the command line (or via .bazelrc) the address of the build farm it can use.

    There's a couple of projects that implement the distributed/grpc part, the main one is https://github.com/bazelbuild/bazel-buildfarm

  • Rust Is Portable
    10 projects | news.ycombinator.com | 27 Jul 2022
    Not sure what to say concerning buildfarm's remote execution.

    Reading an issue I've opened 1y ago [1], seems the backend requires the client to have a specific gcc version.

    That's a strong limitation imho.

    [1] https://github.com/bazelbuild/bazel-buildfarm/issues/545

  • Running container_push inside a container
    3 projects | /r/bazel | 23 Jul 2022
    You can also set up a remote build service that uses the same environment you run the containers in using something like https://github.com/bazelbuild/bazel-buildfarm
  • Distributed build clusters
    4 projects | /r/androiddev | 10 May 2022
    Currently migrating to Bazel + bazel remote execution via Bazel buildfarm. Bazel has native support for build clusters.

sccache

Posts with mentions or reviews of sccache. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-28.

What are some alternatives?

When comparing bazel-buildfarm and sccache you can also consider the following projects:

llama

ccache - ccache – a fast compiler cache

gnu-parallel - A clone of GNU Parallel (git://git.savannah.gnu.org/parallel.git)

cargo-chef - A cargo-subcommand to speed up Rust Docker builds using Docker layer caching.

mainframer - Tool for remote builds. Sync project to remote machine, execute command, sync back.

rust-cache - A GitHub Action that implements smart caching for rust/cargo projects

pyroscope-rs - Pyroscope Profiler for Rust. Profile your Rust applications.

cache - Cache dependencies and build outputs in GitHub Actions

rules_closure - Closure rules for Bazel

icecream - Distributed compiler with a central scheduler to share build load

pyzmq - PyZMQ: Python bindings for zeromq

mold - Mold: A Modern Linker 🦠