Sébastien Villemot
c48903b04f
Use relative paths in .gitmodules for projects hosted on git.dynare.org
...
The main advantage is that, when someone does a recursive clone through SSH,
all the submodules will be cloned through SSH.
Relative paths are also useful when submodules are in private repositories: in
that case, the CI runner will have access to the private submodule.
It is important to enforce the group name in the relative URL, so that clones
in personal namespaces still work as expected.
See: https://docs.gitlab.com/ee/ci/git_submodules.html
2019-09-23 16:55:28 +02:00
Houtan Bastani
2dbfd3c723
gitlab-ci: rebuild website after creation of snapshot packages
2019-09-23 14:49:20 +02:00
Houtan Bastani
c159184e20
macOS snapshot: fix comment
2019-09-23 11:23:28 +02:00
Houtan Bastani
610de60bfe
macOS snapshot: rely on artifacts from CI build_doc job
2019-09-20 15:44:58 +02:00
Houtan Bastani
079a57d4c0
macOS snapshot: build using `make -j$(nproc)` as it's more efficient than `make -j`
2019-09-20 15:44:58 +02:00
Houtan Bastani
ff95467efb
update gitlab-ci to create macOS snapshots
2019-09-20 15:44:57 +02:00
Sébastien Villemot
d732075662
Manual: fix typo and formatting
...
[skip ci]
2019-09-20 14:33:59 +02:00
Sébastien Villemot
42392df3bc
Put binary test datafiles in the git repository
...
This makes the testsuite robust to network failures.
2019-09-19 14:20:00 +02:00
Sébastien Villemot
d30ccf07f7
Update dseries submodule
2019-09-18 19:10:53 +02:00
Sébastien Villemot
0fcbae12c0
CI: avoid transfer of artifacts to pkg_source jobs
2019-09-17 15:55:54 +02:00
Sébastien Villemot
d33d02f62e
Windows package: add a 7z archive (same contents as the zip, but better compressed)
2019-09-17 15:33:37 +02:00
Sébastien Villemot
02bd23096a
Windows package: ship a 64-bit Dynare++ executable alongside the 32-bit one
2019-09-17 15:12:35 +02:00
Sébastien Villemot
057f090942
CI: style improvements to shell commands
...
In particular, Bash is the default shell for CI under Unix.
2019-09-17 14:10:48 +02:00
Sébastien Villemot
2a5c6c1807
Windows package: only ship the Emacs mode in scripts directory
...
The other scripts are only useful to developpers.
2019-09-17 14:10:48 +02:00
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
c529f78ce3
WriteShockDecomp2Excel.m: only use xlwrite if xlswrite fails
...
Fixes https://git.dynare.org/Dynare/dynare/issues/1575
2019-09-10 10:47:13 +02: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