Commit Graph

11795 Commits (982836bfa470efc291411fc1378fcde6bfdf45df)

Author SHA1 Message Date
Sébastien Villemot 982836bfa4
CI: in job test_dynare++, update timestamp of artifacts to avoid recompilation 2019-09-17 14:10:48 +02:00
Sébastien Villemot 533a4ff7db
Windows package: use pre-compiled MSYS2 packages for most dependencies
We only need to recompile Slicot and x13as.
2019-09-17 14:10:47 +02:00
Houtan Bastani 2113deb0db
script to create snapshot for macOS 2019-09-17 14:07:03 +02:00
Sébastien Villemot 5dffae1b63
ax_mexext.m4: remove obsolete test on ancient MATLAB version 2019-09-16 18:34:02 +02:00
Sébastien Villemot 36d530358b
Fix detection of MATLAB MEX extension under Windows/MSYS2
This check recently broke under my MSYS2 installation. I’m unsure why, but I
guess it’s related to some Windows 10 update.

The solution is to stop calling it through “cmd”, and to call it directly as an
executable.
2019-09-16 18:34:02 +02:00
Houtan Bastani 502b0c5038
change name of folder in 8d2e3def95 2019-09-16 17:57:13 +02:00
Houtan Bastani 8d2e3def95
macOS: use different mex files depending on Matlab version 2019-09-16 17:33:10 +02:00
Sébastien Villemot 37e19e8333
Windows package: improvements to the NSIS installer
— Reorganize the components: there is now a 64-bit group (with the MEX and
  MinGW), and similarly a 32-bit group. That makes it easy to cut down
  installation size when the user knows which one to choose. Add a description
  text that explains that.
— Dynare++ is no longer installed by default and is listed in the last position
— Remove the “Description” box in the components page, so that the components
  names are more visible
2019-09-12 15:53:34 +02:00
Houtan Bastani 6ddf87aa92
stoch_simul: save var_list in oo_. closes #1646 2019-09-12 15:02:18 +02:00
Houtan Bastani 7712a02f02
add print and noprint option to perfect_foresight_solver. closes #1647 2019-09-12 14:50:14 +02:00
Houtan Bastani 3d6091b3a1
remove unused return arguments 2019-09-12 14:01:52 +02:00
Sébastien Villemot c9798a96e0
Fix MATLAB R2019b support
Some changes were missing in a1a4168c3
2019-09-12 12:48:32 +02:00
Houtan Bastani f6c467e02f
update readme for compilation on macOS 2019-09-12 12:35:26 +02:00
Houtan Bastani a1a4168c3e
build support for Matlab R2019b 2019-09-12 12:23:14 +02:00
Houtan Bastani cb02ca5f1c
discretionary_policy: make incompatible with options_.loglinear 2019-09-12 11:57:09 +02:00
Houtan Bastani e043c60903
pass M_, options_, oo_ as arguments to stoch_simul, simult_, discretionary_policy. closes dynare#1197 2019-09-12 11:57:01 +02:00
Houtan Bastani 42842a5afc
clean up file (remove unused variables, fprintf instead of disp(sprintf())) 2019-09-12 11:55:05 +02:00
Houtan Bastani f118970736
remove unnecessary eval statements 2019-09-12 11:55:05 +02:00
Sébastien Villemot c5ac16bb99
CI: fix shell scripting in deploy_snapshot_unstable job
The globs were not expanded because pathname expansion does not occur in a
variable assignment. Use a Bash array instead.
2019-09-12 11:04:23 +02:00
Sébastien Villemot e078257d79
CI: sign snapshot with SSL certificate 2019-09-11 17:10:45 +02:00
Sébastien Villemot a3ee1ac62e
Update preprocessor submodule 2019-09-11 17:05:48 +02:00
Sébastien Villemot 6ff7d4c56c
C++17: use structured bindings instead of std::tie 2019-09-11 16:06:35 +02:00
Sébastien Villemot bff684e2aa
CI: restore the dynare-latest-* symlinks 2019-09-11 15:06:42 +02:00
Sébastien Villemot 0d0a0a9bbb
Bump to C++17
This means we now require GCC 8.

Boost filesystem library is no longer needed.

Ref preprocessor#16
2019-09-11 15:06:12 +02:00
Stéphane Adjemian (Charybdis) 597433194c Excludes files generated by the windows package build. 2019-09-11 11:24:43 +02:00
Stéphane Adjemian (Charybdis) fdf6821d0b Generalized isconst routine. 2019-09-11 11:11:15 +02:00
Sébastien Villemot c4ddd986ac
CI: remove the dynare-latest-* symlinks for the snapshot
They're no longer needed now that the date is part of the snapshot filename.
Also, updating them from the CI was creating a discrepancy with the snapshots
listed on the website (until the latter was rebuilt).
2019-09-10 15:17:15 +02:00
Sébastien Villemot 8b0d5f4b86
Windows: ensure that libgomp is statically linked 2019-09-10 15:17:15 +02:00
Sébastien Villemot a5578e6bfa Merge branch 'sensitivity_error' into 'master'
dynare_sensitivity.m: provide informative error message if no var_exo are...

Closes #1651

See merge request Dynare/dynare!1660
2019-09-10 09:27:18 +00:00
Houtan Bastani 418070ec54
remove unused variable 2019-09-10 11:08:20 +02:00
Sébastien Villemot a0321786f0 Merge branch 'stoch_simul_no_varexo' into 'master'
stoch_simul.m: provide informative error message if no varexo have been defined

Closes #1633

See merge request Dynare/dynare!1661
2019-09-10 08:47:46 +00:00
Johannes Pfeifer 8752cf0002 dynare_sensitivity.m: provide informative error message if no varexo are defined. Closes https://git.dynare.org/Dynare/dynare/issues/1651 2019-09-10 09:25:04 +02:00
Johannes Pfeifer 031632edd3 stoch_simul.m: provide informative error message if no varexo have been defined 2019-09-10 09:23:49 +02:00
Sébastien Villemot 107be12543
CI: improve script that creates the JSON file for the website
It now also deletes the old snapshots. It has been moved in
/home/gitlab-runner/ on eris.
2019-09-09 17:21:16 +02:00
Sébastien Villemot d549d21b7f
Windows package: do not trigger deps rebuild based on patches timestamps
This breaks the caching, because those patches have a recent timestamp (due to
git recloning).

This is a partial revert of 8a3938ebc
2019-09-07 11:47:32 +02:00
Johannes Pfeifer d4ed77c67e posterior_sampler_initialization.m: provide missing function input
Fixes #1622
2019-09-06 23:03:07 +02:00
Johannes Pfeifer da0ad67367 initial_estimation_checks.m: Allow for calibrated measurement error 2019-09-06 22:53:37 +02:00
Sébastien Villemot 4c95e8fd55
CI: add deploy_snapshot_unstable job 2019-09-06 18:24:19 +02:00
Sébastien Villemot 09cc5500e8
CI: add pkg_source job that constructs source tarball 2019-09-06 18:18:00 +02:00
Sébastien Villemot 5db2f17260
CI: better way of constructing version number 2019-09-06 18:17:49 +02:00
Houtan Bastani 45af7e4a7d
doc: footnotes come after periods 2019-09-06 10:48:56 +02:00
Houtan Bastani 31f9fe6646
doc: note on line endings in .mod files. closes preprocessor#14 2019-09-06 10:48:55 +02:00
Houtan Bastani 2bd223a7aa
preprocessor: submodule update 2019-09-05 14:22:26 +02:00
Houtan Bastani 53ce6222c2
remove unused variable in dynare_config 2019-09-05 11:48:19 +02:00
Houtan Bastani d51208f298
submodule update: reporting 2019-09-05 11:08:34 +02:00
Sébastien Villemot 8f946c6c8c
Windows package: avoid Gitlab caching of MATLAB and Octave binaries 2019-09-04 16:12:28 +02:00
Sébastien Villemot 8a3938ebc0
Windows package: make building of deps more robust to version changes
– before executing the rule for unpacking the source, delete previously
  unpacked sources to avoid file overwrite (delete all versions so that the
  Gitlab cache does not grow too big)
— ensure that those rules are executed when a patch is modified
2019-09-04 16:12:28 +02:00
Sébastien Villemot 330c11000a
Migrate deploy job to new restricted runner 2019-09-04 14:30:54 +02:00
Sébastien Villemot 35acc111ff
Windows package: fix random build failure due to race condition
The MEX files are built out-of-tree (because we want to do them in parallel).
This would create a potential race condition if several builds want to create
the symlinks under mex/matlab/ or mex/octave/.

The solution is to disable those symlinks for out-of-tree builds.
2019-09-04 11:39:52 +02:00
Sébastien Villemot 677caab21e
Remove obsolete file from .gitignore 2019-09-04 11:14:22 +02:00