Commit Graph

39 Commits (779b45fd137a6205433ed3305ca391f9745d48a6)

Author SHA1 Message Date
Sébastien Villemot a7d816cf99
Windows and macOS packages: fix installation path of x13as
The binary location had not been updated following the move of the dseries
submodule (commit e962cb4dba).

(cherry picked from commit 60e3b6a19f)
2024-01-29 16:33:02 +01:00
Sébastien Villemot a31c76403d
Windows and macOS packages: move meson native/cross files to OS-specific directory 2023-12-08 14:34:14 +01:00
Sébastien Villemot 1d5a442fe5
Bump minimal required version of Octave to 7.1.0
Incidentally, this means that the JSONlab submodule is no longer needed, so it
is removed in the present commit.

Closes: #1907
2023-11-22 17:46:13 +01:00
Sébastien Villemot 7f58e819c6
Bump minimal required version of MATLAB to R2018b
Ref. #1907
2023-11-22 16:00:04 +01:00
Sébastien Villemot 7eb1959f66
Provisions for MATLAB R2023b 2023-09-22 10:49:27 +02:00
Sébastien Villemot d731cb18e9
Windows and macOS packages: add missing dynare_version.m file 2023-09-20 10:53:10 +02:00
Sébastien Villemot a252daee51
Windows package: use the Meson build system
By the way, simplify the dependency build system by removing unused SLICOT
builds.
2023-09-19 17:14:43 +02:00
Sébastien Villemot d573ff1507
CI: build documentation using Meson 2023-09-18 15:16:26 +02:00
Sébastien Villemot 018f69b69b
Windows package: stronger compiler optimization flags
– enable maximum optimization (-O3), which in particular triggers code
  auto-vectorization
– raise the minimal architectural requirement to match MSYS2 policy
  (roughly requires CPUs from ~2006/7+)
2023-06-16 15:35:29 +02:00
Sébastien Villemot 13908ee068
Provisions for MATLAB R2023a 2023-03-17 16:32:09 +01:00
Sébastien Villemot dd93aa3cd8
Windows package: add comment on -fstack-protector-{strong,all} with Debian cross-compiler 2023-03-14 16:53:51 +01:00
Sébastien Villemot 3244340e7a
Windows package: bump dependencies
In particular, add -fstack-protector to CXXFLAGS, to avoid undefined symbols at
link time.
2023-01-03 18:30:52 +01: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
Sébastien Villemot 36a7b019fc
Provisions for MATLAB R2022b 2022-09-15 15:59:32 +02:00
Sébastien Villemot b31fe76dfd
Provisions for MATLAB R2022a 2022-03-24 17:43:40 +01:00
Sébastien Villemot 6669e55b97
Provisions for MATLAB R2021b 2021-09-24 16:43:30 +02:00
Sébastien Villemot 766fff88f6
Use secure URL for link to GNU licenses 2021-06-09 17:35:05 +02:00
Sébastien Villemot baa6c8dbbd
Provisions for MATLAB R2021a 2021-03-17 17:47:27 +01:00
Sébastien Villemot c3e7ef42af
Windows package: various fixes related to commit 8e7d0d2c5d
- strip the new preprocessor binary
- include the new preprocessor binary in the .zip and .7z archives
- include the old (backward-compatible) preprocessor binary in the .exe installer
2021-01-08 09:47:42 +01:00
Sébastien Villemot 7a966a3088
Windows package: fix compilation of MEX files for Octave
The runners no longer have an octave binary in the PATH, so the configure
script fails. We pass a dummy value for the location of the Octave
binary (which is actually not run, because we don’t execute the testsuite).
2020-12-03 17:31:46 +01:00
Sébastien Villemot a69d598b5f
Add the ability to automatically detect MATLAB version at configure time
It is thus no longer needed to pass the MATLAB_VERSION option to the configure
script when compiling from source.
2020-09-30 19:08:52 +02:00
Sébastien Villemot fa12e5abfc
Provisions for MATLAB R2020b 2020-09-24 15:43:06 +02:00
Sébastien Villemot 4d22c4c0c0
Drop 32-bit binaries from Windows package
Closes: #1713
2020-07-17 12:52:58 +02:00
Sébastien Villemot 6e0f104d7e
Bump minimal MATLAB version to R2014a
Ref. #1713
2020-04-07 16:32:32 +02:00
Stéphane Adjemian (Charybdis) 166865149e
Updated build for matlab R2020a. 2020-03-26 11:20:24 +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 ef4df1df0b
Build system: adapt for renaming of NEWS to NEWS.md 2020-02-17 23:12:12 +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 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 c9798a96e0
Fix MATLAB R2019b support
Some changes were missing in a1a4168c3
2019-09-12 12:48: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 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 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