rules_cuda
rules_cuda copied to clipboard
Issues with `--experimental_use_hermetic_linux_sandbox`
I am observing the known issue about cc1plus: fatal error: /tmp/tmpxft_00000002_00000019-2.cpp: No such file or directory reported here. To prevent this, I want to use --experimental_use_hermetic_linux_sandbox but I am running in further issues such as
failed: (Exit 1): generate-xml.sh failed: error executing command
Any recommendations how to solve this or what to set for --sandbox_add_mount_pair
It seems some other rules do not support hermetic linux sandbox, maybe use --strategy or --strategy_regexp to override the default behavior for that rule's action? Or better, fix that rule.
Is this one https://togithub.com/bazelbuild/bazel/issues/12579 related?
I found the issue you mentioned as well. As a side note, I also use --incompatible_strict_action_env