1. 15 Jun, 2021 1 commit
  2. 09 Jun, 2021 1 commit
  3. 10 May, 2021 1 commit
    • Sébastien Villemot's avatar
      Build system: streamline handling of compilation flags for MEX · 0741963c
      Sébastien Villemot authored
      — allow the user to override compilation flags for MATLAB MEX (it was already
        working for the preprocessor, the MEX for Octave and Dynare++)
      — increase the symmetry of MEX build infrastructure between MATLAB and Octave
      — when linking MEX for Octave, do not add the output of “mkoctfile -p FLIBS”.
        It is unneeded, and it can create a conflict between the system compiler and
        a user-supplied compiler
      
      By the way:
      — restore optimization on macOS for C/C++ MEX (it had been removed in
        5df2392a)
      — remove -fno-omit-frame-pointer on MATLAB/Linux, since it would be cancelled
        by subsequent -O2 and should not be needed anyways
      — remove FFLAGS under Octave, unused
      0741963c
  4. 18 Dec, 2020 2 commits
  5. 30 Jul, 2020 1 commit
  6. 07 Apr, 2020 1 commit
  7. 06 Jan, 2020 1 commit
  8. 20 Dec, 2019 1 commit
  9. 03 Dec, 2019 3 commits
    • Sébastien Villemot's avatar
      Fix Fortran flags under MEX for MATLAB · fe0fdf2c
      Sébastien Villemot authored
      There was a typo in fedeeaad.
      
      By the way, use the modern Fortran compiler when trying to detect slicot.
      fe0fdf2c
    • Sébastien Villemot's avatar
      Add new block_trust_region MEX · 6a269268
      Sébastien Villemot authored
      This MEX solves nonlinear systems of equations using a trust region algorithm.
      The problem is subdivided in smaller problems by doing a block
      triangularisation of the Jacobian at the guess value, using the
      Dulmage-Mendelsohn algorithm.
      
      The interface of the MEX is simply:
      
        [x, info] = block_trust_region(f, guess_value);
      
      Where f is either a function handle or a string designating a function.
      f must take one argument (the evaluation point), and return either one or two
      arguments (the residuals and, optionally, the Jacobian).
      
      On success, info=0; on failure, info=1.
      6a269268
    • Sébastien Villemot's avatar
      Add support for Fortran 2008 in MEX files · fedeeaad
      Sébastien Villemot authored
      By the same token, remove unused support for Fortran 77.
      fedeeaad
  10. 28 Nov, 2019 1 commit
  11. 26 Nov, 2019 1 commit
    • Sébastien Villemot's avatar
      Build system: by default, error out if some dependency is missing · 8065e9d4
      Sébastien Villemot authored
      In particular, if either MATLAB or Octave is missing, one needs to pass either
      --disable-matlab or --disable-octave.
      
      Moreover, several new configure flags have been introduced for disabling some
      components:
      --disable-doc
      --disable-dynare++
      --disable-mex-dynare++
      --disable-mex-ms-sbvar
      --disable-mex-kalman-steady-state
      8065e9d4
  12. 11 Sep, 2019 1 commit
    • Sébastien Villemot's avatar
      Bump to C++17 · 0d0a0a9b
      Sébastien Villemot authored
      This means we now require GCC 8.
      
      Boost filesystem library is no longer needed.
      
      Ref preprocessor#16
      0d0a0a9b
  13. 27 Jun, 2019 1 commit
  14. 25 Jun, 2019 1 commit
  15. 24 Jun, 2019 1 commit
    • Sébastien Villemot's avatar
      New perfect_foresight_problem MEX file · 5b591fac
      Sébastien Villemot authored
      It constructs the stacked residuals and jacobian of the perfect foresight
      problem.
      
      It is an almost perfect replacement for the perfect_foresight_problem.m
      routine, while being much more efficient.
      
      Note however that the DLL never return complex numbers (it instead puts NaNs at
      the place where there would have been complex). This may create problems for
      some MOD files; the algorithms will need to be adapted to use a more
      line-search method.
      5b591fac
  16. 23 Apr, 2019 1 commit
  17. 16 Apr, 2019 1 commit
  18. 05 Apr, 2019 1 commit
  19. 01 Apr, 2019 2 commits
  20. 25 Mar, 2019 2 commits
  21. 28 Jan, 2019 1 commit
    • Sébastien Villemot's avatar
      Dynare++: use C++11 threads (instead of POSIX threads API) · 752a02a3
      Sébastien Villemot authored
      On Windows, this means that a POSIX threads implementation is no longer needed,
      since C++11 threads are implemented using native Windows threads.
      
      On GNU/Linux and macOS, POSIX threads are still used under the hood.
      
      A new m4 macro (AX_CXX11_THREAD) is used to add the proper compilation
      flags (instead of AX_PTHREAD).
      752a02a3
  22. 13 Nov, 2018 1 commit
  23. 12 Nov, 2018 1 commit
  24. 07 Nov, 2018 1 commit
  25. 06 Nov, 2018 1 commit
    • Sébastien Villemot's avatar
      Build system improvements on Windows (MinGW / MSYS2) · 671fe4bc
      Sébastien Villemot authored
      - Use the -static flag when linking Dynare++, so that shipping libquadmath and
        libgcc DLL in the installer is no longer needed.
      
      - Use AM_CXXFLAGS and AM_LDFLAGS variables for changing flags, since CXXFLAGS
        and LDFLAGS are user variables. Also, this avoids passing these flags down to
        configure scripts in subdirectories.
      
      - Check for the SZIP library in the configure test for the MatIO, this is
        needed under MSYS2.
      
      - Statically link MatIO and GSL in MEX files for MATLAB, this is needed under
        MSYS2.
      671fe4bc
  26. 27 Jun, 2018 1 commit
  27. 06 Jun, 2018 1 commit
  28. 05 Jun, 2018 1 commit
  29. 15 May, 2018 2 commits
  30. 22 Sep, 2017 1 commit
  31. 19 May, 2017 1 commit
  32. 24 Jul, 2014 1 commit
  33. 10 Mar, 2014 1 commit
  34. 03 Mar, 2014 1 commit