How can I make bazel use external storage when building?
How can I make bazel use external storage when building?
https://stackoverflow.com/questions/40775920/how-can-i-make-bazel-use-external-storage-when-building
Step:
$ export TEST_TMPDIR=/data/share/morganh/bazel_cache (note: bazel_cache cannot locate in the folder you want to bazel build)
$ cd /data/share/morganh/maglev
$ sudo bazel version
Official web:
https://docs.bazel.build/versions/master/output_directories.html
Search: bazel TEST_TMPDIR
Other links:
https://blog.csdn.net/huang_yx005/article/details/78872505
https://groups.google.com/forum/#!topic/bazel-discuss/OCSu95cM5Hw