Commit Graph

134 Commits (2f13d6610d6842adc4a4b448eb45ebd4223967e6)

Author SHA1 Message Date
Sébastien Villemot d5312e8e40
Windows package: really really use Octave 5.2.0_1 2020-02-11 11:46:12 +01:00
Sébastien Villemot e2c69fbfd5
Windows package: really use Octave 5.2.0_1 2020-02-11 10:05:23 +01:00
Sébastien Villemot b5de8b1835
Windows package: bump to Octave 5.2.0_1 (rebuild of 5.2.0) 2020-02-10 18:24:54 +01:00
Sébastien Villemot 7a5a604c7d
Windows package: bump to Octave 5.2.0 2020-02-04 12:01:46 +01:00
Stéphane Adjemian (Charybdis) 190873317b
Package texlive-math-extra is no more available in Debian buster.
[skip ci]
2020-02-04 09:55:38 +01:00
Sébastien Villemot b8a920463f
Windows: upgrade Boost dependency 2019-12-19 12:52:24 +01:00
Sébastien Villemot fab5a6815a
Windows package: ensure that Kalman steady state MEX is compiled under Octave
The detection of the slicot library failed because xerbla has been moved out of
the BLAS implementation shipped with Octave (probably since 5.1.0). This commit
fixes our fake implementation of mkoctfile so that it returns -lxerbla after
-lblas (as is done in the official Windows package for Octave).
2019-11-21 16:32:01 +01:00
Sébastien Villemot 98fd24ae92
Windows package: restore several missing MEX files
Since 533a4ff7db, several MEX files were missing
in the Windows package (gensylv, k-order, dynare_simul, MS-SBVAR). The problem
was that the environment variable containing the directory containing MSYS2
libraries (incl. matio and gsl) was not correctly passed to parallelized
subshells.
2019-11-21 16:31:15 +01:00
Sébastien Villemot 49a17e75df
Windows package: upgrade various dependencies 2019-11-14 14:59:59 +01:00
Sébastien Villemot 8cb6aeb7ed
Windows package: upgrade Boost and GCC dependencies 2019-10-17 16:26:27 +02:00
Sébastien Villemot 8f8c83aa6a
Windows package: when compiling slicot, use Makefile variables instead of patches 2019-10-01 17:23:21 +02:00
Sébastien Villemot 357f0e423c
Under Debian, latexmk is needed to compile the manual
[skip ci]
2019-10-01 13:40:50 +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 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 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 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
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
Sébastien Villemot c9798a96e0
Fix MATLAB R2019b support
Some changes were missing in a1a4168c3
2019-09-12 12:48:32 +02:00
Houtan Bastani a1a4168c3e
build support for Matlab R2019b 2019-09-12 12:23:14 +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
Sébastien Villemot 5db2f17260
CI: better way of constructing version number 2019-09-06 18:17:49 +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 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 844690b805
Windows package: tell zip to be less verbose 2019-09-04 08:54:01 +02:00
Sébastien Villemot f8c95effd5
Windows package: update versions of several dependencies
Do not update OpenBLAS to 0.3.7, because that version fails to build when
LAPACKE is not requested.
2019-09-03 21:36:50 +02:00
Sébastien Villemot ac0339c287
Windows package: add x13as 2019-09-03 21:36:50 +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 8515c348c7
Windows: update NSIS installer for move of Dynare++ docs
See b7e6ac58b

[skip ci]
2019-06-21 10:45:23 +02:00
Sébastien Villemot 67e7323cf0
windows/README.txt: fix phrasing; remove link to obsolete Wiki
[skip ci]
2019-06-13 15:50:31 +02:00
Sébastien Villemot f04e925ffd
windows/README.txt: the Windows snapshot is compiled against Dynare 5.1.0
[skip ci]
2019-06-12 15:08:49 +02:00
Sébastien Villemot e79c618f38
No longer automatically add M-file substitutes for missing MEX files
However, keep the substitutes under matlab/missing/mex/, so that they can be
manually added should the need arise.
2019-05-21 12:37:35 +02:00
Sébastien Villemot 5956c767d3
Stop claiming that we support Windows XP and Vista 2019-05-13 12:29:11 +02:00
Sébastien Villemot d6aff5da61
README for Windows: give direct download link for Octave installer
The version needed for Dynare may no longer be advertised on the Octave
website.

[skip ci]
2019-04-17 20:51:11 +02:00
Sébastien Villemot 9ab832de01
Windows installer: drop reference to removed file 2019-04-17 15:24:10 +02:00
Sébastien Villemot d74a1a08d5
README for Windows: several updates; use UTF-8 2019-04-16 14:52:01 +02:00
Sébastien Villemot 0f28974c2c
Provisions for MATLAB R2019a
In particular, use the new "-batch" option for running the testsuite.
2019-03-22 16:43:40 +01:00
Sébastien Villemot 4f6a8a9524
Windows snapshot now compiled against Octave 5.1.0 2019-03-22 16:43:39 +01:00
Stéphane Adjemian (Charybdis) c0812754ee
Fixed path to reference manual (pdf) when building windows package. 2019-02-25 22:39:04 +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 4f7330cb52
Dynare++: add LaTeX overview of the Tensor Library
The material of this document comes from the introduction to the library that
had been lost in the move away from CWEB (formerly tl/cc/main.web).

This file gives a good overview of the library. It has been adapted from TeX to
LaTeX. Also I fixed a mistake in the Faà di Bruno's tensor formula.
2019-01-30 19:07:57 +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 18faa9733c
Further updates related to minimal MATLAB version bump 2018-11-13 18:29:20 +01:00
Sébastien Villemot 736d43c4e6
Bump minimal MATLAB version requirement to 7.9 (R2009b) 2018-11-13 15:59:16 +01:00
Sébastien Villemot 671fe4bcd4
Build system improvements on Windows (MinGW / MSYS2)
- 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.
2018-11-06 12:17:56 +01:00
Sébastien Villemot 096936be9c
The preprocessor now compiles the MEX when use_dll is specified
Update documentation accordingly (except on macOS where the solution has not
yet been implemented).

Also include MinGW in the Windows installer.
2018-10-29 14:41:34 +01:00
Sébastien Villemot 7d7409bee0
Windows installer: do not forget to uninstall the VERSION file 2018-10-29 14:40:01 +01:00
Sébastien Villemot 24cb1c0719 Provisions for MATLAB R2018b (9.5) 2018-10-01 18:26:03 +02:00