mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 02:07:36 +00:00
build_osx - ensure we use bison from brew instead of the default one
This commit is contained in:
@@ -40,6 +40,8 @@ jobs:
|
|||||||
# preinstalled: xz, cmake
|
# preinstalled: xz, cmake
|
||||||
brew install git bison autoconf automake libffi findutils
|
brew install git bison autoconf automake libffi findutils
|
||||||
echo "$(brew --prefix findutils)/libexec/gnubin" >> $GITHUB_PATH
|
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
|
- name: Install aws cli
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -91,6 +91,9 @@ Used environment variables:
|
|||||||
# #
|
# #
|
||||||
# on OS X El Capitan with homebrew: #
|
# on OS X El Capitan with homebrew: #
|
||||||
# $ brew install git bison autoconf automake libffi cmake #
|
# $ 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: #
|
# on RHEL-related distros: #
|
||||||
# $ dnf install git gcc gcc-c++ autoconf bison make cmake #
|
# $ dnf install git gcc gcc-c++ autoconf bison make cmake #
|
||||||
|
|||||||
Reference in New Issue
Block a user