Commit Graph

83 Commits (master)

Author SHA1 Message Date
Sébastien Villemot d8ebdf916c
Build system: add target for creating TAGS file for Emacs
Indexes all C++, Fortran and C files (including submodules).
2023-11-17 19:27:33 +01:00
Willi Mutschler 158abbd0fd
macOS installer: create both arm64 and x86_64 packages 2023-10-11 17:34:43 +02:00
Sébastien Villemot 6dd55726e6
Drop autoconf/automake build system 2023-09-20 15:33:44 +02:00
Sébastien Villemot 63333fe041
Remove unused bibliography files for Collard’s guide
Also add a dependency of dr.pdf on dr.bib.
2023-09-16 14:25:41 +02:00
Sébastien Villemot d41501bc6d
Misc updates to gitignore files
[skip ci]
2023-05-30 20:59:59 +02:00
Willi Mutschler 5d335501d7
macOS: add mexmaca64 to gitignore 2023-04-26 09:55:56 +02:00
Sébastien Villemot c1922c3ad0
Stop building and shipping the Dynare++ executable
Incidentally, no longer run Dynare++ unit tests, since they are intricated in
the Dynare++ build system. If we finally decide not to drop the Dynare++
codebase for our MEX files, then we should probably find a way to build and run
them again.

Ref. #1825
2023-01-03 14:51:07 +01:00
Stéphane Adjemian (Odysseus) 0e1c9312e2
Merge remote-tracking branch 'Dynare/master' into enterprise 2021-01-11 11:06:55 +01:00
Sébastien Villemot 8e7d0d2c5d
Preprocessor binary renamed and moved, various other improvements to make install rules
– preprocessor binary renamed to dynare-preprocessor
— the preprocessor binary is now installed under a preprocessor/ top-level directory
— a backward-compatibility symlink is still provided under
  matlab/preprocessor64/dynare_m
— the make install rule now install PDF and HTML documentation when those have
  been built

Closes: #1728
2021-01-06 18:17:20 +01:00
Sébastien Villemot 43ed7b2b69
Merge remote-tracking branch 'community/master' into enterprise 2020-03-27 16:28:41 +01:00
Sébastien Villemot 47e4649026
Add support for Fortran 2008 in MEX files
By the same token, remove unused support for Fortran 77.
2020-01-06 18:29:47 +01:00
Sébastien Villemot e81c837c51
Testsuite: fix engine for testing M scripts
I’m not sure it has ever worked.

As a consequence, remove the workaround that had apparently been implemented in
tests/initval_file/ramst_initval_file.mod.
2019-12-19 14:51:56 +01:00
Sébastien Villemot 6a26926892
Add new block_trust_region MEX
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.
2019-12-03 16:17:16 +01:00
Sébastien Villemot fedeeaad9f
Add support for Fortran 2008 in MEX files
By the same token, remove unused support for Fortran 77.
2019-12-03 16:17:00 +01:00
Houtan Bastani 982d6b9de4
build slicot, x13as when building macOS package and make some simplifications 2019-10-02 12:03:09 +02:00
Houtan Bastani 711dcaed13
.gitignore: add confdefs.h 2019-09-24 15:22:37 +02:00
Sébastien Villemot b1919b15d5
Windows package: fix race condition when extracting MSYS2 archives
Those archives contain 3 hidden files, which always have the same name. This
can make the parallel build fail when several packages are unpacked at the same
time. Hence, we just skip these files when unpacking.
2019-09-24 11:05:29 +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 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 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
Stéphane Adjemian (Charybdis) 597433194c Excludes files generated by the windows package build. 2019-09-11 11:24:43 +02:00
Sébastien Villemot 677caab21e
Remove obsolete file from .gitignore 2019-09-04 11:14:22 +02:00
Sébastien Villemot bae1fa255a
Add scripts and CI job for building Windows package
The scripts are based the former “dynare-build” project. They have been
overhauled and simplified.

Building a Windows package (both installer and zip archive) is as easy as
running “make -C windows” (provided the right Debian packages are installed,
use the “windows/install-packages.sh” script for that purpose).

The layout of MEX files for Octave in the package has been
changed (mex/octave/win32/ and mex/octave/win64/ instead of mex/octave32/ and
mex/octave/), for consistency with MATLAB MEX.
2019-09-03 21:36:47 +02:00
Sébastien Villemot 16e36e503a
Dynare++: unpack tarball where Sylvester test cases are stored 2019-06-19 17:34:30 +02:00
Sébastien Villemot eb975f2488
Dynare++: add some generated files to artifacts and .gitignore 2019-04-30 12:59:21 +02:00
Sébastien Villemot bdc95f23aa
Make MEX build system forward-compatible with Automake 2.0
We now use a symbolic link farm to make source file accessible from build
directories.

Closes #466
2019-04-05 16:55:11 +02:00
Stéphane Adjemia (Scylla) becbba10ad
Updated .gitignore for macOS (dynare++). 2019-04-02 08:29:25 +02:00
Stéphane Adjemian (Charybdis) b0f0ba43ca
Added files generated by python in .gitignore. 2019-02-25 14:54:57 +01:00
Sébastien Villemot e5f938a8e5
Integrate new reference manual
- integrate with autoconf/automake, so that "make html pdf" now build the
  manual
- remove the old texinfo manual
- the PDF manual is now called dynare-manual.pdf (Closes #1543)
- add a Gitlab CI job that updates the online unstable manual under
  www.dynare.org/manual-unstable/
2019-02-21 16:58:18 +01:00
Sébastien Villemot c8f3b5b96c
Various updates to .gitignore files 2019-02-13 16:12:16 +01:00
Sébastien Villemot ce1ef47093
dynare++ / tensor library (TL): move away from CWEB
By the way apply Dynare C++ coding style and extensions (.cc/.hh).
2019-01-08 16:09:25 +01:00
Sébastien Villemot 84255f9e9a
dynare++/integ: move away from CWEB
By the way apply Dynare C++ coding style and extensions (.cc/.hh).
2019-01-04 17:28:20 +01:00
Sébastien Villemot df772325a2
dynare++/kord: move away from CWEB
By the way apply Dynare C++ coding style and extensions (.cc/.hh).
2019-01-04 16:32:05 +01:00
Houtan Bastani 5d1a132374 move preprocessor and macroprocessor documentation to preprocessor submodule 2018-02-19 15:10:07 +01:00
Houtan Bastani ba3cebbad7 update .gitignore file for preprocessor submodule change 2018-02-19 15:02:14 +01:00
Stéphane Adjemian (Scylla) db870b562a Ignore scripts/dynare.elc. 2017-08-16 10:57:22 +02:00
Stéphane Adjemian (Charybdis) 57ab3e45c3 Added VERSION file. 2017-05-29 14:30:33 +02:00
Stéphane Adjemian (Charybdis) 8ccb0e5e31 Ignore generated doc/dynare.info-3. 2017-05-19 18:33:52 +02:00
Houtan Bastani 8bf2036049 gitignore: ignore dataset saved by default when Octave crashes 2016-09-20 17:20:18 +02:00
Houtan Bastani 8e21feaf70 ignore all .mat and .xls files 2016-06-14 11:37:16 +02:00
Stéphane Adjemian (Hermes) a858ef6986 Updated .gitignore file. 2016-05-23 13:48:19 +02:00
Stéphane Adjemian (Charybdis) 580bc3a0b6 Updated .gitignore file.
Do not version mat files in matlab folder.
2015-10-10 00:21:18 +02:00
Houtan Bastani a875de9a21 ignore .jl files under tests/ 2015-08-19 11:14:47 +02:00
Houtan Bastani 1ed5a79716 update .gitignore 2015-07-22 10:30:18 +02:00
Houtan Bastani deabd99514 update .gitignore to ignore files called “checksum” 2015-05-28 16:18:55 +02:00
Houtan Bastani 90e00b3871 fixes for windows 2015-03-27 17:29:10 +01:00
Houtan Bastani d7c253ae59 support 64-bit preprocessor, #862 2015-03-26 19:08:30 +01:00
Houtan Bastani 45a3e7a710 ignore tmp files left in dir when ms-sbvar is aborted in the middle of execution 2014-09-10 17:24:40 +02:00