Skip to content

Commit a193f06

Browse files
committed
Add Bazelisk installation instructions to environment.yml
Include steps for installing Bazelisk without sudo access on macOS, with guidance on version management via USE_BAZEL_VERSION.
1 parent 178e2f9 commit a193f06

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

environment.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
name: tf-serving-build
2+
3+
# Bazelisk is the recommended way to manage Bazel versions (automatically downloads and uses the right version).
4+
# To install Bazelisk:
5+
# 1. Create directory: mkdir -p ~/.local/bin
6+
# 2. Download: curl -L https://github.com/bazelbuild/bazelisk/releases/latest/download/bazelisk-darwin-arm64 -o ~/.local/bin/bazel
7+
# (use bazelisk-darwin-amd64 for Intel Macs)
8+
# 3. Make executable: chmod +x ~/.local/bin/bazel
9+
# 4. Add to PATH: export PATH="$HOME/.local/bin:$PATH" (add to ~/.zshrc or ~/.bash_profile)
10+
# 5. Optional: Set specific Bazel version with export USE_BAZEL_VERSION=x.y.z
11+
# 6. Verify: bazel --version
12+
213
channels:
314
- conda-forge
415
- defaults

0 commit comments

Comments
 (0)