0

My Python Bazel binaries fail because there is no space left in my /tmp folder.

Unfortunately, the /tmp on my machine is mounted on a disk with very limited capacity, and for other reasons, I can not mount it on a larger disk.

--output_base is useful for the build time, but at the run-time, the binary will be unzipped on /tmp. https://bazel.build/reference/command-line-reference#flag--output_base

Question Is there any flag similar to --output_base to tell where the binary should be unzipped when I run it in the shell?

iampat
  • 1,072
  • 1
  • 12
  • 23
  • 1
    This is might be useful [reference](https://stackoverflow.com/questions/54986853/how-to-avoid-no-space-left-on-bazel-build) in your case – SG_Bazel Dec 01 '22 at 13:07

0 Answers0