Sébastien Villemot
736d43c4e6
Bump minimal MATLAB version requirement to 7.9 (R2009b)
2018-11-13 15:59:16 +01:00
Sébastien Villemot
c6f5c804d9
Gensylv MEX also needs MatIO (because Dynare++ code does)
2018-11-12 12:56:01 +01:00
Sébastien Villemot
afc9f94854
On Windows, statically link the pthread library
...
Otherwise the DLL is dynamically linked against libwinpthread. This regression
was introduced by commit 671fe4bcd
.
2018-11-07 14:38:04 +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
feeda74dfb
Remove spurious executable permission
2018-09-27 12:24:57 +02:00
Houtan Bastani
f5bf76deb5
fix mex build system for macOS
2018-06-27 15:04:33 +02:00
Sébastien Villemot
a71e0ebee4
Add a compile-time check for MATLAB version, as we already do for Octave
2018-06-06 14:31:25 +02:00
Sébastien Villemot
e669321eec
Require C++14 for MEX files
...
Needed because bytecode DLL uses some preprocessor code which is C++14.
2018-06-05 11:34:41 +02:00
Sébastien Villemot
02084ce310
Remove qzcomplex Oct-file
...
It's actually not needed. The QZ complex decomposition can be obtained in
Octave on real matrices by casting them to the complex type.
2018-05-17 12:11:15 +02:00
Sébastien Villemot
3f674f0f26
Enforce minimal Octave version in the configure script
2018-05-16 10:50:27 +02:00
Sébastien Villemot
e2c2f2d966
Remove fallbacks for ilu, linsolve and ordschur under Octave
...
These functions are all included in Octave 4.2.
2018-05-16 10:48:44 +02:00
Sébastien Villemot
f665379fcc
Kludge for bug in MinGW, that defines __STDC_UTF_16__ but not char16_t
...
This breaks the matrix.h of older MATLABs (e.g. R2009a). Also see <uchar.h>.
2018-05-15 19:29:17 +02:00
Sébastien Villemot
fbddfc0aae
Require C99 when compiling MEX files, since mjdgges now uses C99 features
2018-05-15 14:53:56 +02:00
Houtan Bastani
fdf9a8a453
move preprocessor to submodule
2018-02-16 16:44:16 +01:00
Houtan Bastani
fb6a11f544
move estimation-dll to its own repository: https://github.com/DynareTeam/estimation-dll.git
2017-09-22 15:31:23 +02:00
Stéphane Adjemian (Charybdis)
e3769670df
Updated AC_INIT
2017-05-19 18:54:32 +02:00
Stéphane Adjemian (Charybdis)
8925e7ca1f
Cosmetic patch (remove some warnings about potentially uninitialized variables in bytecode).
2017-02-13 19:22:26 +01:00
Stéphane Adjemian (Charybdis)
537e384122
Fixed make parallel mode (missing dependency in automake).
2016-12-01 23:25:01 +01:00
Sébastien Villemot
d0628af1f2
No longer compile ordschur.oct for Octave >= 4.0.
...
The function is now an Octave builtin.
2015-03-17 17:53:11 +01:00
Houtan Bastani
cf910cb64f
build system: add flag for mex compilation on OS X 10.9
2014-07-24 12:18:38 +02:00
Sébastien Villemot
9b5a09958c
Fixes to make install.
...
- fix DESTDIR for preprocessor and MEX files (it was duplicated)
- don't install libdynare++.a
2014-07-18 12:15:36 +02:00
Houtan Bastani
8d2b79a224
make install, closes #576
2014-07-16 16:18:06 +02:00
Sébastien Villemot
9d32204790
Ensure that -lpthread is statically linked under MinGW.
2014-03-10 17:25:39 +01:00
Sébastien Villemot
75ae191d33
Upgrade to a newer version of the AX_BOOST_BASE macro.
...
Our workaround for cross-compilation has been incorporated upstream.
2014-03-03 11:13:27 +01:00
Sébastien Villemot
66d48f5917
Compatibility fixes for Octave 3.8.
...
- no longer use OCTAVE_QUIT in MEX files; this seems now only possible in
oct-files. (Ref #304 )
- do not build linsolve.oct on Octave >= 3.8, it is available natively.
- do not add strjoin.m to the patch on Octave >= 3.8, it is available natively.
- default_save_options has been renamed save_default_options.
2014-01-03 11:05:39 +01:00
Houtan Bastani
a8d07308a9
ms-sbvar: support ctrl-c changes in submodule, #304
2013-12-05 16:13:58 +01:00
Sébastien Villemot
7ada720e7b
Bump version number
2013-12-02 17:55:10 +01:00
Sébastien Villemot
82edf48256
No longer consider automake warnings as fatal
...
With automake 1.14 there are a lot of new warnings related to the way we deal
with MEX files (they are compiled from source files located in a different
tree). Automake wants us to use the 'subdir-objects' option, but it breaks in
our case.
In automake 2.0, the 'subdir-objects' option will be activated by default, so
we will have to refactor the build system for MEX files. But for now we can
live with the automake warnings.
2013-09-09 14:50:32 +02:00
Sébastien Villemot
d8e9bc978d
Revert "Compatibility fix with automake 1.14"
...
This reverts commit 7541bb52f5
.
This commit was breaking compilation of MEX files: the subdir-objects option
does not deal well with source files that are under a distinct tree.
2013-09-09 14:47:29 +02:00
Sébastien Villemot
7541bb52f5
Compatibility fix with automake 1.14
2013-09-06 15:00:37 +02:00
Houtan Bastani
47b53dbeea
build system: osx fix for bytecode mex in octave
2013-04-17 17:45:28 +02:00
Sébastien Villemot
c8e59f1361
Do not put -lumfpack in LIBS, rather use a special variable for it
2013-03-29 15:30:31 +01:00
Sébastien Villemot
513ae741e3
Build system for MEX/Octave: use Octave's LDFLAGS in the configure script
...
This will facilitate the detection of UMFPACK under Windows
2013-03-29 15:07:58 +01:00
Sébastien Villemot
86db8d805c
Add configure test for UMFPACK
2013-03-23 17:09:00 +01:00
Sébastien Villemot
1db892efc4
Fix compilation problems of bytecode with UMFPACK and MATLAB's libut
2013-03-23 13:02:07 +01:00
Ferhat Mihoubi
03e487a092
Major update of bytecode:
...
- Iterative linear solvers using CUDA
- interpreter.cc decomposed
2013-03-22 15:44:34 +01:00
Sébastien Villemot
82930ee29a
Implementation of steady state computation in estim DLL, using the GSL
...
Does not seem very robust (fails on fs2000), need to investigate why.
2013-03-06 16:58:22 +01:00
Sébastien Villemot
18af0655a3
More spurious executable perms
2012-10-13 22:08:56 +02:00
Sébastien Villemot
3d39d77917
Remove spurious executable permissions
2012-10-13 16:10:01 +02:00
Sébastien Villemot
3e612e0211
Fix build system with Automake 1.12
2012-09-28 17:31:39 +02:00
Sébastien Villemot
5d5771a823
Another typo
2012-09-25 19:58:03 +02:00
Sébastien Villemot
6cfec3f6ad
More CPPFLAGS_MATIO fun
2012-09-25 19:53:20 +02:00
Sébastien Villemot
08f7c61e89
Add missing CPPFLAGS_MATIO
2012-09-25 14:25:02 +02:00
Sébastien Villemot
3589c04f49
Add missing CPPFLAGS_MATIO
2012-09-21 07:29:11 +02:00
Sébastien Villemot
4d98c2007f
Rename CFLAGS_MATIO to CPPFLAGS_MATIO
2012-09-20 22:53:47 +02:00
Houtan Bastani
4f54391e94
add --with-matio option to configure
2012-09-19 12:11:57 +02:00
Houtan Bastani
fd66086c38
bug fix: configure output should be no for k-order if matlab is not present
2012-09-19 12:11:57 +02:00
Houtan Bastani
e48f535004
bug fix: ms_sbvar requires matio under octave but configure output doesn't state that it's missing.
2012-09-19 12:11:57 +02:00
Houtan Bastani
a54af094f2
bug fix: slicot configuration (allow path specification using --with-slicot flag)
2012-09-18 14:45:32 +02:00
Houtan Bastani
469a1d2c25
fix slicot configuration on OS X
2012-09-17 11:58:18 +02:00