macOS package: fixes related to flex and bison in Homebrew

Also mention in the README that sphinx-doc must be linked, since it is
parent 8e7d0d2c
Pipeline #4661 passed with stages
in 73 minutes and 27 seconds
......@@ -414,6 +414,7 @@ xcode-select --install
- Install required Homebrew packages. Open and type:
brew install automake bison flex boost gcc gsl libmatio veclibfort octave sphinx-doc wget
brew link --force sphinx-doc
- Compile and install SLICOT, needed for the `kalman_steady_state` MEX file.
Still from
......@@ -441,7 +442,7 @@ autoreconf -si
- Configure Dynare from the source directory:
./configure --with-matlab=<…> CC=gcc-10 CXX=g++-10 CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib`
./configure --with-matlab=<…> CC=gcc-10 CXX=g++-10 CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib` LEX=/usr/local/opt/flex/bin/flex YACC=/usr/local/opt/bison/bin/bison'
where the path to MATLAB is specified, typically of the form
`/Applications/`. If you don’t have MATLAB, simply replace
......@@ -71,6 +71,8 @@ cd "$ROOTDIR"
CPPFLAGS=-I/usr/local/include \
LDFLAGS=-static-libgcc \
LEX=/usr/local/opt/flex/bin/flex \
YACC=/usr/local/opt/bison/bin/bison \
--with-gsl="$LIB64"/gsl \
--with-matio="$LIB64"/matio \
--with-slicot="$LIB64"/Slicot/with-underscore \
Subproject commit a9daec1c0739f244e2e041f20443af6a6fae555d
Subproject commit f5760c33ea6e97c9c110be17a64547b0c91ee9b2
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment