dotfiles/bin/bazel-in-bear

4 lines
202 B
Bash
Executable file

#!/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