On bazel with sandboxing disabled (or when not available, e.g. Windows), multiple parallel binaries will fail to build due to a shared file being written by the compiler: tmp.tar.
This filename comes from
|
cmd = ['tar', 'cf', 'tmp.tar'] + files |
I believe this can be easily solved by changing tmp.tar to a filename that includes the current build rule's name, to make it unique. But I haven't managed to test this.
On bazel with sandboxing disabled (or when not available, e.g. Windows), multiple parallel binaries will fail to build due to a shared file being written by the compiler: tmp.tar.
This filename comes from
emsdk/bazel/emscripten_toolchain/link_wrapper.py
Line 162 in ce74ca2
I believe this can be easily solved by changing tmp.tar to a filename that includes the current build rule's name, to make it unique. But I haven't managed to test this.