Specify prefix when calling configure script.

silicon-new-samplers
Stéphane Adjemian Argos) 2023-01-28 21:09:39 +01:00 committed by Stéphane Adjemian (Argos)
parent e174bd15e0
commit 6240b53b02
Signed by: stepan
GPG Key ID: A6D44CB9C64CE77B
1 changed files with 1 additions and 1 deletions

View File

@ -496,7 +496,7 @@ You can also choose a specific version of Dynare by checking out the correspondi
- Configure Dynare from the source directory:
```sh
arch -$ARCH ./configure CC=gcc-11 CXX=g++-11 CPPFLAGS=-I$BREWDIR/include LDFLAGS=-L$BREWDIR/lib LEX=$BREWDIR/opt/flex/bin/flex YACC=$BREWDIR/opt/bison/bin/bison --with-matlab=/Applications/MATLAB_R2022a.app
arch -$ARCH ./configure CC=gcc-12 CXX=g++-12 CPPFLAGS=-I$BREWDIR/include --prefix=$BREWDIR LDFLAGS=-L$BREWDIR/lib LEX=$BREWDIR/opt/flex/bin/flex YACC=$BREWDIR/opt/bison/bin/bison --with-matlab=/Applications/MATLAB_R2022a.app
```
where you need to adapt the path to MATLAB. If you dont have MATLAB, simply replace `--with-matlab=<…>` by `--disable-matlab`. Check the output of the command whether Dynare is configured for building everything except the internal docs of Dynare and M2HTML.