I read somewhere that Google internally has a FUSE system that read's/write's data to their cloud, and that as files are written, it creates a hash (or content digest) for those files. And that Bazel can quickly read those digests rather than read entire files during build.
How does it work for Linux users using Bazel outside of Google that have our own standalone networks without clouds or anything? Would we have to put our source in a special bazel file system or something? I assume Bazel doesn't read and hash every file every time to figure out what to rebuild. Seems like that would be slower than merely checking timestamps like Make. So how does that work, and is there some special kernel setting we have to turn on to have Bazel do fast incremental builds?
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/61c9d419-3ced-4625-bd52-db301d2d2406%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Is this something that needs to be set the first time? (So that the bazel server would be watching the FS during development?) If I don't set that ever, do a lot of builds, and then decide to set --watchfs, then would that do anything the first time? Does it only speed things up on subsequent builds?
Thanks for the response!
Is this something that needs to be set the first time? (So that the bazel server would be watching the FS during development?) If I don't set that ever, do a lot of builds, and then decide to set --watchfs, then would that do anything the first time? Does it only speed things up on subsequent builds?
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/533bb9dc-5f8b-449d-b448-15f7f6e2c3db%40googlegroups.com.
We put it in //tools:bazel.rc to enable it by default for our users.Austin
On Thu, Feb 15, 2018 at 12:15 PM <duane....@gmail.com> wrote:
Thanks for the response!
Is this something that needs to be set the first time? (So that the bazel server would be watching the FS during development?) If I don't set that ever, do a lot of builds, and then decide to set --watchfs, then would that do anything the first time? Does it only speed things up on subsequent builds?
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/533bb9dc-5f8b-449d-b448-15f7f6e2c3db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/CABsbf%3DEd7UGdkhBx8qT8GdQA0-tECYK_gnSLa2EcsxYgSZjc5w%40mail.gmail.com.To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discuss+unsubscribe@googlegroups.com.