Commit Graph

39 Commits (66e723301872734aecc32e8e6c890c86308ddd19)

Author SHA1 Message Date
Sébastien Villemot 16f921ed62
Add Meson build system
Mostly working. The testsuite remains to be done.

In particular, windows/deps/mkoctfile64 is modified to print its version number
on stdout instead of stderr. This is what the standard mkoctfile does, and it
allows easier capture of the output from Meson.
2023-09-04 18:04:00 +02:00
Willi Mutschler b8352b251d
macOS: provisions to detect Apple Silicon architecture (maca64 and mexmaca64)
Works with MATLAB R2022b beta (ARM)
2023-04-26 10:19:14 +02:00
Sébastien Villemot 13908ee068
Provisions for MATLAB R2023a 2023-03-17 16:32:09 +01:00
Sébastien Villemot 36a7b019fc
Provisions for MATLAB R2022b 2022-09-15 15:59:32 +02:00
Sébastien Villemot 10af04c6d8
Use Unicode copyright symbol (in UTF-8 encoding) in all source files
It is now supported by the MATLAB editor (as of R2022a).

The old ASCII notation is left in some files that we copy as-is from other
sources (e.g. in the contrib/ and m4/ subdirectories).

The particles submodule is not updated at this point, because it is in an
inconsistent state.

[skip ci]
2022-04-13 14:54:25 +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 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
Houtan Bastani be3c48604b
change name of mex folder in macOS to conform with Dynare minimum 2019-10-23 18:59:36 +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 c9798a96e0
Fix MATLAB R2019b support
Some changes were missing in a1a4168c3
2019-09-12 12:48:32 +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 a5c8ab3dbf
Fix path to Windows MEX files with recent MATLAB 2019-05-21 17:28:18 +02: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 cc4183d3a5
Fix for recent MATLABs under Windows 2018-10-26 15:02:26 +02:00
Sébastien Villemot 51416bf2ae Always use "isoctave" for testing Octave context 2018-09-07 17:22:08 +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) 798c22fb6e Account for matlab R2017b. 2017-10-17 17:55:09 +02:00
Stéphane Adjemian (Charybdis) 5417b27ac7 Fixed indentation of matlab files. 2017-05-16 15:10:20 +02:00
Stéphane Adjemian (Charybdis) 650a3f6da2 Point to mex/octave32 if OCtave 32bit is used on Windows platform. 2017-04-26 15:10:40 +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 (Hermes) 25243712ba Fixed bug on non linux platforms + Cosmetic changes.
The paths to mex files was wrong.
2016-06-17 22:02:34 +02:00
Houtan Bastani 5723e7ea58 build system: remove support for 32-bit Matlab on OS X 2016-05-13 10:53:55 +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
Houtan Bastani 710e8ef3a5 fix copyright dates for 2016 2016-02-23 14:04:04 +01:00
Johannes Pfeifer 7d051d1161 Make Dynare compatible with Matlab2015b
Closes #1058
2016-01-29 18:44:05 +01:00
Stéphane Adjemian (Hermes) 11c84b733f Fixed bug.
isoctave is not in the path when calling add_path_to_mex_files.
2015-06-05 11:32:44 +02:00
Marco Ratto 6a17fe5de3 Fix provisions for matlab 8.5 win32 bits. 2015-04-29 11:33:14 +02:00
Marco Ratto b4a8ad8aa4 Fix mex path for win64 bit 2015-04-01 14:43:52 +02:00
Stéphane Adjemian (Charybdis) 0e1dd779b9 Check that Dynare's routines are not overridden by other routines.
By default Dynare will temporarly change Matlab/Octave's path. Added an
option to force Dynare to keep the current path. Also check that the user
did not put dynare/matlab directory with all the subfolders in the path.

With this patch, we do not need to prefix Dynare routines with dyn_ or
dynare_ anymore.
2015-03-30 15:04:59 +02:00