Skip to content

Commit

Permalink
Fix arm64 macos build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yongtang committed Apr 24, 2024
1 parent 9538869 commit 77b853b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ bazel version

$PYTHON -m pip --version

if [[ $(uname) == "Darwin" && $(uname -m) == "arm64" ]]; then
$PYTHON -m pip install --upgrade --break-system-packages pip
else
$PYTHON -m pip install --upgrade pip
fi
$PYTHON -m pip install --upgrade setuptools
$PYTHON -m pip --version

Expand Down

0 comments on commit 77b853b

Please sign in to comment.