Sébastien Villemot
c46023ad56
POSIX shell stylistic improvements
2019-03-25 18:47:49 +01: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
752a02a36c
Dynare++: use C++11 threads (instead of POSIX threads API)
...
On Windows, this means that a POSIX threads implementation is no longer needed,
since C++11 threads are implemented using native Windows threads.
On GNU/Linux and macOS, POSIX threads are still used under the hood.
A new m4 macro (AX_CXX11_THREAD) is used to add the proper compilation
flags (instead of AX_PTHREAD).
2019-01-28 18:44:24 +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
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
40362789de
Revert "More fixes related to spaces in paths"
...
This commit was breaking the detection of slicot. My understanding is that
autoconf is not able to deal with spaces in paths, hence Windows users have not
choice but to use the 8.3 notation for MATLAB location.
This reverts commit 4ab79c55f0
.
2018-10-31 18:00:52 +01:00
Sébastien Villemot
4ab79c55f0
More fixes related to spaces in paths
2018-10-31 16:19:47 +01:00
Sébastien Villemot
625d824bbe
MEX extension detection now robust to spaces in MATLAB path
2018-10-31 15:57:34 +01:00
Sébastien Villemot
24cb1c0719
Provisions for MATLAB R2018b (9.5)
2018-10-01 18:26:03 +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
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
Sébastien Villemot
72c6fd5ffa
Drop useless AX_LATEX_BIBTEX_TEST m4 macro.
2017-06-13 16:09:36 +02:00
Stéphane Adjemian (Charybdis)
4f3b35acba
Account for Matlab 2017a.
...
(cherry picked from commit f3a1619040fbb831830791424015d3d3bf8bdbae)
2017-03-13 23:42:48 +01:00
Houtan Bastani
bc8a7f1b09
build system: change min os x version to build mex with libstdc++
2016-10-24 16:00:26 +02:00
Johannes Pfeifer
b50602962d
Account for Matlab 2016b in installer and mex-folder
2016-09-18 16:33:49 +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
Houtan Bastani
f63015c404
build system: add MATLAB_MEX_* flags to allow user to override default mex compilation flags in the call to the configure script, #1121
2016-01-25 15:54:58 +08:00
Houtan Bastani
1a3d8d0b26
Provisions for MATLAB 8.5 (R2015a)
2015-03-16 14:44:06 +01:00
Houtan Bastani
0dbff4fa52
build system: modify blas check for os x 10.10
2014-10-30 16:25:01 +01:00
Houtan Bastani
f4f7a02fd7
Provisions for MATLAB 8.4 (R2014b)
2014-10-10 10:41:04 +02:00
Houtan Bastani
f6fa361838
build system: add hdf5 check to RHEL matio hack
2014-07-29 11:38:07 +02:00
Sébastien Villemot
a459a3440b
Provisions for MATLAB 8.3 (R2014a).
2014-03-18 14:59:08 +01:00
Sébastien Villemot
2300419226
Upgrade macros AX_{BLAS,LAPACK,COMPARE_VERSION,PTHREAD}.
2014-03-03 11:21:54 +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
5308da2cad
Upgrade the minimum requirement to MATLAB 7.5 (R2007b).
2014-02-03 15:52:54 +01:00
Houtan Bastani
5df2392a09
fix ax_mexopts fixes for OS X 10.9 build
2013-11-18 12:16:37 +01:00
Sébastien Villemot
b3d835bd48
Provisions for MATLAB 8.2 (R2013b)
2013-09-25 16:00:07 +02:00
Sébastien Villemot
61485ab809
Fix copyright notices
2013-06-12 17:04:46 +02:00
Sébastien Villemot
3bbdbf8387
Provisions for MATLAB 8.1 (R2013a)
2013-03-21 18:26:04 +01:00
Sébastien Villemot
d239ac39ce
Still fixing the matio test…
2012-11-22 11:59:57 +01:00
Sébastien Villemot
44e3bf5947
Improve matio workaround for RHEL 6
...
Previous workaround was crashing the Windows snapshot
2012-11-22 11:17:03 +01:00
Sébastien Villemot
b7730f3025
Workaround for matio under RHEL 6 + EPEL 6
2012-11-21 16:58:40 +01:00
Sébastien Villemot
3d39d77917
Remove spurious executable permissions
2012-10-13 16:10:01 +02:00
Sébastien Villemot
906f532828
Fix detection of SLICOT for Octave+Windows
2012-10-01 15:06:27 +02:00
Sébastien Villemot
5b1ecaf627
Fix detection of SLICOT under Windows
2012-09-28 17:24:07 +02:00
Sébastien Villemot
41ee0dde2e
ax_matio.m4: LIBS was not correctly saved
2012-09-20 22:53:47 +02:00
Sébastien Villemot
4d98c2007f
Rename CFLAGS_MATIO to CPPFLAGS_MATIO
2012-09-20 22:53:47 +02:00
Houtan Bastani
a43492a70a
fix comment
2012-09-19 12:54:29 +02:00
Houtan Bastani
4f54391e94
add --with-matio option to configure
2012-09-19 12:11:57 +02:00
Houtan Bastani
074f567e39
typo's typo
2012-09-18 15:23:49 +02:00
Houtan Bastani
2a937e435c
typo
2012-09-18 14:47:02 +02:00
Houtan Bastani
a54af094f2
bug fix: slicot configuration (allow path specification using --with-slicot flag)
2012-09-18 14:45:32 +02:00
Sébastien Villemot
7de6be31e6
Upgrade the minimum requirement to MATLAB 7.3 (R2006b)
2012-09-18 11:54:40 +02:00
Houtan Bastani
469a1d2c25
fix slicot configuration on OS X
2012-09-17 11:58:18 +02:00
Sébastien Villemot
c74b1d1bdc
Provisions for MATLAB 8.0 (R2012b)
2012-09-14 11:10:47 +02:00
Sébastien Villemot
be93274112
Minimal MATLAB requirement is 7.0
2012-09-11 12:31:16 +02:00
Houtan Bastani
169ab6c28c
change location of 10.6 SDK
2012-08-02 17:17:29 +02:00
Sébastien Villemot
ebfeae2ccf
Provisions for MATLAB 7.14 (R2012a)
2012-03-13 17:43:30 +01:00
Houtan Bastani
4c1fe625a2
build: fix fortran flags on mac
2011-10-12 16:18:40 +02:00
Sébastien Villemot
21ceaa5cb4
Provisions for MATLAB 7.13 (R2011b)
2011-09-22 18:05:06 +02:00
Houtan Bastani
ac2ed284ef
stop supporting osx 10.5, in accordance with changes at Apple and Mathworks
2011-06-18 15:07:34 +02:00
Sébastien Villemot
7b67f40a11
Bump MATLAB version requirement to 7.0
2011-04-27 11:57:43 +02:00
Sébastien Villemot
f978ebeff7
Provisions for MATLAB 7.12 (R2011a)
2011-04-08 11:07:03 +02:00
Sébastien Villemot
5f04ed9db7
Reference manual: switch to TeXinfo format
2011-03-29 17:50:11 +02:00
Houtan Bastani
6cdbf51a54
SWZ: Revert "SWZ: remove gsl from build system, to be reintstated if gsl remains a requirement in the ms new code"
...
This reverts commit e19026d130
.
2011-02-22 15:06:38 +01:00
Houtan Bastani
6d89d56b53
remove -ansi flag from mex build flags as we use gnu compilers to build mexfiles
2011-02-22 15:06:38 +01:00
Sébastien Villemot
02652f6eb8
Updated copyright notices
2011-02-04 17:27:33 +01:00
Houtan Bastani
e19026d130
SWZ: remove gsl from build system, to be reintstated if gsl remains a requirement in the ms new code
2011-02-02 18:58:36 +01:00
Houtan Bastani
16f256c5c3
build system: fix bug in build mex on mac
2011-01-24 17:35:22 -05:00
Sébastien Villemot
48eb2a83a6
Build system: fix workaround for 64-bit integers in Fortran code
2010-11-25 15:09:59 +01:00
Stéphane Adjemian (Charybdis)
010c4c0c20
Fixed bug in kalman_steady_state.cc related to long integer and (mkl) lapack calls. Changed building system by adding -fdefault-integer-8 flag to gfortran when slicot is compiled on a 64-bits platform.
2010-11-25 14:35:46 +01:00
Sébastien Villemot
b8aae7bbf9
Fix underscoring problems with Fortran code
2010-11-22 12:22:22 +01:00
Stéphane Adjemian (Charybdis)
382ab96cde
Added the Slicot library (distributed under the GNU General Public Licence at www.slicot.org). This library provides routines
...
for the design and analysis of control systems. Adapted the building system to handle fortran 77 source files.
2010-11-18 10:11:27 +01:00
Sébastien Villemot
572f521baf
Build system: for MEX files under Windows+MATLAB, link with -lmat
2010-10-28 12:30:45 +02:00
Sébastien Villemot
c47b177577
Provisions for MATLAB R2010b (7.11)
2010-09-10 13:08:32 +02:00
Sébastien Villemot
424b299e07
Build system: fix bug for compilation with mingw 64-bit (linking with MSVC export files creates MEX files which crash, while directly linking with the DLL binary works)
2010-08-26 18:36:56 +02:00
Sébastien Villemot
5ccd248622
Build system: for Windows, add "-static-libstdc++" flag
2010-08-24 18:46:26 +02:00
Sébastien Villemot
1554054bf0
Build system: never use symbolic links when compiling for Windows platform
2010-08-24 16:24:03 +02:00
Sébastien Villemot
375f65d946
Build system: add NDEBUG flag under Windows for MEX files, for consistency with other platforms
2010-08-24 16:24:03 +02:00
Sébastien Villemot
0893e963cb
Build system: change the way we detect the GSL, to make it work when cross-compiling
2010-08-24 16:24:03 +02:00
Sébastien Villemot
69b9b7fc84
Build system: fix for MinGW-TDM 4.5
2010-06-09 17:55:04 +02:00
Sébastien Villemot
9318856a4e
SWZ: finalize build system for MEX by adding a test for GSL
2010-06-01 15:33:45 +02:00
Sébastien Villemot
f560ae8fce
Build system: give the possibility to disable POSIX threads in configure script
2010-04-06 17:48:02 +02:00
Sébastien Villemot
6f200a1d7c
Build system: add support for R2010a
2010-04-06 14:12:00 +02:00
sebastien
4a3709da09
Minor fixes to build system and license notices
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3356 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-13 17:39:59 +00:00
sebastien
34012243d5
Fixes for Cygwin 1.7 (which has gcc/g++ version 4 by default)
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3320 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-08 12:15:16 +00:00
sebastien
624172dc30
build system: fix for MinGW
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3230 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-11 16:12:52 +00:00
sebastien
95547b3d09
Build system: for MATLAB < 7.1, require that the user provides MEXEXT on the configure command line
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3190 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-02 13:42:25 +00:00
sebastien
7f61dcca5e
Build system: fix for building on older MATLAB (at least 7.0.4)
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3155 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-17 18:55:29 +00:00
sebastien
210a1ba2f0
Build system: added MATLAB releases back to 6.5 (R13) in configure script
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3154 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-17 18:42:53 +00:00
sebastien
2c43941d04
Build system: fix for MinGW 4.4
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3128 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-05 12:12:55 +00:00
sebastien
8651edc42c
Build system: fix for detection of MEX extension under Windows
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3104 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-30 15:09:12 +00:00
sebastien
343e0b3c7d
Build system: refactored the build system for MEX files, using two sub-packages with their own configure scripts
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3019 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-02 17:22:19 +00:00
sebastien
dde3f3795f
Build system:
...
* Simplified the way we deal with various Octave/MATLAB contexts from MEX files:
- only three defines: MATLAB_MEX_FILE, MATLAB_VERSION (hex number) and OCTAVE_MEX_FILE
- one header for MEX files: dynmex.h
- headers for BLAS and LAPACK: dynblas.h and dynlapack.h (used from Dynare++ and the MEX files)
* Merged the two sources trees of sylvester library
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3006 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-01 14:17:02 +00:00
sebastien
86f866a39e
Build system: update for MATLAB MEX files under MacOS X
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2978 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-24 16:23:29 +00:00
sebastien
de61a65029
Build system: fixed typo affecting MacOS
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2957 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-23 07:52:26 +00:00
sebastien
d5ab7b5748
Build system: added MEX for MATLAB options for MacOS
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2956 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-22 08:11:46 +00:00
sebastien
598d60a0c2
Build system: added test for beamer
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2955 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-21 10:30:04 +00:00
sebastien
0fd4938b53
Build system:
...
* configure: don't fail if no Fortran 77 compiler is present
* boost detection: adapt for cross-compiling
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2953 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-21 09:45:23 +00:00
sebastien
2ac1194d39
Build system: change the flag used for OpenMP compilation
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2950 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-18 10:34:04 +00:00
sebastien
ac483e3977
Build system: fix for detection of MATLAB MEX extension under MinGW
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2949 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-18 10:20:37 +00:00
sebastien
fa1fcfc800
Build system: add test for econometrica bibtex style (necessary for userguide)
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2948 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-18 09:55:21 +00:00
sebastien
af2e195d56
Build system: test for eplain (TeX package needed for Dynare++ source documentation)
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2947 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-18 09:28:30 +00:00
sebastien
612cf9fa9b
Build system:
...
* always set -DNO_OPENMP
* fix for MEX/Octave with MinGW
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2945 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-17 16:35:33 +00:00
sebastien
7754e416e4
Build system: for MEX files, use the same compiler than for the preprocessor and dynare++
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2943 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-17 16:17:11 +00:00