build_osx - ensure we use bison from brew instead of the default one

This commit is contained in:
Andrej730
2026-02-18 13:52:57 +05:00
parent 4591b6d926
commit e54d16ef57
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -40,6 +40,8 @@ jobs:
# preinstalled: xz, cmake
brew install git bison autoconf automake libffi findutils
echo "$(brew --prefix findutils)/libexec/gnubin" >> $GITHUB_PATH
# Mac is using bison 2.5 by default, but we need 3.5+ for swig.
echo "$(brew --prefix bison)/bin" >> $GITHUB_PATH
- name: Install aws cli
run: |
+3
View File
@@ -91,6 +91,9 @@ Used environment variables:
# #
# on OS X El Capitan with homebrew: #
# $ brew install git bison autoconf automake libffi cmake #
# $ # `bison` shipped with Mac is too old for swig build, #
# $ # so we use `brew`. #
# $ export PATH=$(brew --prefix bison)/bin:$PATH #
# #
# on RHEL-related distros: #
# $ dnf install git gcc gcc-c++ autoconf bison make cmake #