Commit Graph

197 Commits (cf0c2858706d8201183527c0fab2a9b8bd10086d)

Author SHA1 Message Date
Sébastien Villemot ea0456a95e
Windows package: bump dependencies
Note that MSYS2 is in the middle of the transition from xz to zstd for
compressing its archives, so we have to handle both formats.
2020-05-27 18:53:12 +02:00
Sébastien Villemot 6e0f104d7e
Bump minimal MATLAB version to R2014a
Ref. #1713
2020-04-07 16:32:32 +02:00
Sébastien Villemot 2fb55907ff
Windows package: bump dependencies 2020-03-26 17:08:20 +01:00
Stéphane Adjemian (Charybdis) 166865149e
Updated build for matlab R2020a. 2020-03-26 11:20:24 +01:00
Sébastien Villemot 1abd50c2ec
Windows package: remove spurious antislash
Introduced in 2ae88722fb
2020-02-25 18:00:28 +01:00
Sébastien Villemot 2ae88722fb
Build system + Windows/macOS package: provisions for Dynare++’s dynare_simul.m 2020-02-25 16:33:32 +01:00
Sébastien Villemot bb64a77179
Windows package: libwinpthread-git comes from the same source package as winpthreads-git 2020-02-19 15:50:52 +01:00
Sébastien Villemot 4eaf718779
Windows package: upgrade various dependencies 2020-02-19 15:50:52 +01:00
Sébastien Villemot 3e5508bea7
Windows package: add missing gcc-libs package for MinGW compiler 2020-02-19 15:50:52 +01:00
Sébastien Villemot fbf97a0d7d
Windows package: zlib is a dependency of the MinGW compiler 2020-02-19 15:39:49 +01:00
Sébastien Villemot 573d86bc25
Windows installer: fix Octave version advertised 2020-02-19 15:39:48 +01:00
Sébastien Villemot 5f4b1f26fe
Windows README: fix download URLs for Octave installer 2020-02-19 12:27:54 +01:00
Sébastien Villemot ef4df1df0b
Build system: adapt for renaming of NEWS to NEWS.md 2020-02-17 23:12:12 +01:00
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
Sébastien Villemot d3c618e8a1 Upgrade to Octave 4.4.1 for Windows installer 2018-09-07 18:44:40 +02:00
Sébastien Villemot aab9e7e09e Fix capitalization of Octave 2018-07-09 18:21:09 +02:00
Sébastien Villemot d9ce09a7f4 Also upgrade the Octave version in the Windows README 2018-07-09 15:33:24 +02:00
Sébastien Villemot 2a5ee62669 Upgrade Octave version in Windows NSIS file 2018-07-09 15:30:13 +02:00
Stéphane Adjemian(Charybdis) 9bdd1df3ac Do not filter by files extension in mex/octave{,32}...
... when building the windows installer.
2018-05-19 14:06:58 +02:00
Stéphane Adjemian(Charybdis) bc1f96c043 Completed 02084ce310
We do not distribute .oct files anymore.
2018-05-18 23:56:48 +02:00
Sébastien Villemot 473b2f59ef Provisions for MATLAB 9.4 (R2018a)
Take into account the API break in the MEX interface (new interleaved complex API).
But do not split MEX directories on MacOS X for the time being.
2018-05-14 15:16:03 +02:00
Stéphane Adjemian (Charybdis) 2f4b883f42 Closes #1588. 2018-01-29 18:20:24 +01:00
Stéphane Adjemian (Charybdis) 798c22fb6e Account for matlab R2017b. 2017-10-17 17:55:09 +02:00
Houtan Bastani 38c2975855 files that should have been included in 5c821b784d 2017-09-22 13:13:08 +02:00
Stéphane Adjemian (Charybdis) 57ab3e45c3 Added VERSION file. 2017-05-29 14:30:33 +02:00
Stéphane Adjemian (Charybdis) 9a53a0f8b0 Add libquadmath-0.dll in Windows installer (dynare++). 2017-04-29 18:02:43 +02:00
Stéphane Adjemian (Charybdis) e8f07e828b Bump Octave version in windows/README.txt.
We build against and support Octave 4.2.1.
2017-04-27 11:57:02 +02:00
Stéphane Adjemian (Charybdis) dec9d6d900 Added 32bit and 64bit mex files for Octave in Windows installer. 2017-04-27 11:35:07 +02:00
Stéphane Adjemian (Charybdis) 4f3b35acba Account for Matlab 2017a.
(cherry picked from commit f3a1619040fbb831830791424015d3d3bf8bdbae)
2017-03-13 23:42:48 +01:00
Johannes Pfeifer b50602962d Account for Matlab 2016b in installer and mex-folder 2016-09-18 16:33:49 +02:00
Stéphane Adjemian (Charybdis) adb1471a3a Added example for dynare++ in windows package.
Closes #1178.
2016-05-26 15:05:59 +02:00
Johannes Pfeifer b364dd1d4c Account for Matlab 2016a in installer and mex-folder
Note that 32bit is not supported anymore

(cherry picked from commit e37b32b01534ffe9a5a5ec3f00f745720b75a83f)
2016-05-04 11:12:35 +02:00
Stéphane Adjemian (Charybdis) 6593c433f3 Revert "Account for Matlab 2016a in installer and mex-folder"
This reverts commit 6072aa0b46.
2016-05-03 22:20:10 +02:00
Johannes Pfeifer 6072aa0b46 Account for Matlab 2016a in installer and mex-folder
Note that 32bit is not supported anymore

(cherry picked from commit e37b32b01534ffe9a5a5ec3f00f745720b75a83f)
2016-05-03 15:24:23 +02:00
Johannes Pfeifer 7d051d1161 Make Dynare compatible with Matlab2015b
Closes #1058
2016-01-29 18:44:05 +01:00
Houtan Bastani 55e8c2319d fix typo 2015-06-22 14:59:00 +02:00
Houtan Bastani 6f1452e16a add dseries/reporting presentation to doc 2015-06-05 13:31:52 +02:00
Houtan Bastani 575cbfe679 build system: modify windows.nsi for 32 & 64 bit preprocessor 2015-03-27 18:41:31 +01:00
Houtan Bastani 1a3d8d0b26 Provisions for MATLAB 8.5 (R2015a) 2015-03-16 14:44:06 +01:00
Houtan Bastani f4f7a02fd7 Provisions for MATLAB 8.4 (R2014b) 2014-10-10 10:41:04 +02:00
Sébastien Villemot a459a3440b Provisions for MATLAB 8.3 (R2014a). 2014-03-18 14:59:08 +01:00
Sébastien Villemot 5308da2cad Upgrade the minimum requirement to MATLAB 7.5 (R2007b). 2014-02-03 15:52:54 +01:00
Sébastien Villemot b3d835bd48 Provisions for MATLAB 8.2 (R2013b) 2013-09-25 16:00:07 +02:00
Sébastien Villemot 3bbdbf8387 Provisions for MATLAB 8.1 (R2013a) 2013-03-21 18:26:04 +01:00
Sébastien Villemot 7a02236f81 Fix mexopts.bat files for Cygwin
Quote %LIBLOC% for the case where it contains spaces
2013-01-30 14:03:15 +01:00
Sébastien Villemot 78d9cb92d4 Update Octave pointers 2012-10-03 17:22:28 +02:00
Sébastien Villemot 7de6be31e6 Upgrade the minimum requirement to MATLAB 7.3 (R2006b) 2012-09-18 11:54:40 +02:00
Sébastien Villemot c74b1d1bdc Provisions for MATLAB 8.0 (R2012b) 2012-09-14 11:10:47 +02:00
Sébastien Villemot 6001763ad7 Ship binaries for MATLAB 7.2 / Windows 64-bit 2012-09-11 12:41:56 +02:00
Sébastien Villemot c65ff9d988 Fix crash with MATLAB 7.1 and 7.2 under Windows
Closes: #277
2012-09-11 12:32:27 +02:00
Sébastien Villemot 9187e8ad4d Typos 2012-06-15 15:09:39 +02:00