Skip to content

Commit

Permalink
Fix arm64 macos build issue (#1987)
Browse files Browse the repository at this point in the history
  • Loading branch information
yongtang authored Apr 24, 2024
1 parent feef9b3 commit 071cc9d
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 071cc9d

Please sign in to comment.