Bazel build caching

Is there any way to enable Bazel build caching when working with buildBazelPackage? JAX and tensorflow are disgustingly large bazel builds and the lack of a bazel build cache makes developing for those packages incredibly slow.

Is there any way to enable bazel build caching?

I know that there are some concerns keeping builds hermetic. But surely we can just provide hashes promising that the output matches?

3 Likes