My project is running on bazel environment with sandbox . I want to setup C scanner for my project using build-wrapper. When i read in documentation i need to disable sandbox. Is there a way to disable sandbox.
build-wrapper-linux-x86-64 --out-dir output bazel --batch build --spawn_strategy=local âŚ
.
When i run the above bazel build command I donât have anything in build-wrapper-dump.json.
Did something get build with that command? If bazel doesnât trigger anything because there is nothing new to do, it is expected to have an empty dump. You would need to do
bazel --batch clean
before.
If this still doesnât help, please, send me the build-wrapper.log. If it contains sensitive information, let me know and I will send you a private message.
when i run bazel --batch clean I am getting some output . When i open build-wrapper-dump.json file its having bazel cache. This is not the expected output
Then you run build-wrapper-linux-x86-64 --out-dir output bazel --batch build --spawn_strategy=local
Then where I am lost is at you getting âsome outputâ (where, which output?) and build-wrapper-dump.json having âbazel cacheâ which is not the expected output.
Can you please run 1 and 2, and then send me both build-wrapper.log and build-wrapper-dump.json? That will be easier to debug.