Skip to content

Commit

Permalink
Fix MacOS wheel builds.
Browse files Browse the repository at this point in the history
Homebrew was recently updated
(actions/runner-images#2415),
introducing a bug related to 2to3:
actions/runner-images#2428. I applid
the workaround recommended in the issue.
  • Loading branch information
rchen152 committed Jan 14, 2021
1 parent 18d28ba commit 672b0e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build_scripts/wheels/macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ brew update
python -V
brew install -v bison || brew upgrade bison
brew install -v cmake || brew upgrade cmake
# temporary workaround for https://github.com/actions/virtual-environments/issues/2428
rm -rf /usr/local/bin/2to3
brew install -v ninja || brew upgrade ninja
python -m pip install -U pip setuptools wheel
CMAKE_PREFIX_PATH="$(brew --prefix bison)"
Expand Down

0 comments on commit 672b0e3

Please sign in to comment.