Skip to content

Commit

Permalink
[esp-v2]: Fix broken builds by changing spawn strategy
Browse files Browse the repository at this point in the history
[Example failure](https://oss-fuzz-build-logs.storage.googleapis.com/log-8eabbac0-bb8f-4f90-a840-f23efe427e0e.txt)

This only occurs on the fuzzers for some reason, not on Travis CI. Error is similar to bazelbuild/bazel#5640.

Change spawn strategy to `sandboxed` to work around this. Not sure why it was `local` to begin with (other than a slight performance improvement).

Tested locally to ensure this spawn strategy will work.

```
python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 esp-v2
```

Signed-off-by: Teju Nareddy <[email protected]>
  • Loading branch information
nareddyt committed Mar 9, 2020
1 parent c9e5086 commit 619cd31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/esp-v2/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ do
done

# Build driverless libraries.
bazel build --verbose_failures --dynamic_mode=off --spawn_strategy=standalone \
bazel build --verbose_failures --dynamic_mode=off --spawn_strategy=sandboxed \
--genrule_strategy=standalone --strip=never \
--copt=-fno-sanitize=vptr --linkopt=-fno-sanitize=vptr \
--define tcmalloc=disabled --define signal_trace=disabled \
Expand Down

0 comments on commit 619cd31

Please sign in to comment.