Open seanshpark opened 2 years ago
export BAZEL_DOWNLOAD=https://github.com/bazelbuild/bazel/releases/download
export BAZEL_VERSION=4.2.2
curl -fLO "${BAZEL_DOWNLOAD}/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-darwin-arm64.sh"
chmod +x "bazel-${BAZEL_VERSION}-installer-darwin-arm64.sh"
./bazel-${BAZEL_VERSION}-installer-darwin-arm64.sh \
--bin=$HOME/ssd/bin --base=$HOME/ssd/.bazel
Set temporary files folder
export TEST_TMPDIR=/Volumes/HDD/var_temp
install and use bazel on Mac