Skip to content

[Bazel] [Potential solution] Cannot build multiple emscripten binaries in parallel with bazel #1386

@kalmard0

Description

@kalmard0

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.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions