From 0f938e582db1083200d67602a9ad3f0c8722d884 Mon Sep 17 00:00:00 2001 From: Markus Hofbauer Date: Tue, 30 Jan 2024 17:32:04 +0100 Subject: [PATCH] Propose new solution for know issue --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index ec906c50..aaaa07be 100644 --- a/README.md +++ b/README.md @@ -111,6 +111,7 @@ The problem is caused by nvcc use PID to determine temporary file name, and with To avoid it: +- Update to Bazel 7 where `--incompatible_sandbox_hermetic_tmp` is enabled by default. - Use `--spawn_strategy local` should eliminate the case because it will let nvcc sees the true PIDs. - Use `--experimental_use_hermetic_linux_sandbox` should eliminate the case because it will avoid the sharing of `/tmp`. - Add `-objtemp` option to the command should reduce the case from happening.