Will bazel fetching as long as i configured my project?

Issue

While using TensorFlow, i first run

bazel build --config=opt //tensorflow:libtensorflow.so 

And then i copy the folder of this project to another computer, and run the same command again, I saw it will fetching again, and it will waste my time.
Is there a solution to only fetching one time, even I copied to another computer?

Solution

I believe that the bazel remote cache also shares fetched objects.

Answered By – rds

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published