Skip to content

Commit

Permalink
ci: Fix Homebrew Python 3.13 (Intel) Issue.
Browse files Browse the repository at this point in the history
Signed-off-by: Qian Qian "Cubik"‎ <[email protected]>
  • Loading branch information
Cubik65536 committed Feb 10, 2025
1 parent cf83b3b commit f65ab51
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/scripts/github_setup_env_toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ fi

# Install dependencies from Homebrew
if [[ $_arch == "x86_64" ]]; then
# Install expat as a workaround for a bug in the Python 3.13 formula.
# See https://github.com/Homebrew/homebrew-core/issues/206778.
/usr/bin/arch -x86_64 /usr/local/bin/brew install expat
/usr/bin/arch -x86_64 /usr/local/bin/brew install python3 llvm ninja coreutils readline xz zlib binutils node --overwrite
else
/usr/bin/arch -arm64 /opt/homebrew/bin/brew install python3 llvm ninja coreutils readline xz zlib binutils node --overwrite
Expand Down

0 comments on commit f65ab51

Please sign in to comment.