add some bin tools

This commit is contained in:
Barak Michener 2020-11-03 20:47:16 +00:00
parent aeb4a5a27a
commit 4a7032aff4
2 changed files with 36 additions and 0 deletions

4
bin/bazel-in-bear Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
LIB=lib/x86_64-linux-gnu
export LD_PRELOAD=$(eval "echo ${LD_PRELOAD}")
bazel --batch "$@" --action_env=LD_PRELOAD=${LD_PRELOAD} --action_env=BEAR_OUTPUT=${BEAR_OUTPUT} --spawn_strategy=local