Commit Graph

116 Commits (26f0fb110453e99e35bafcc75dd96ec7adb7c3c8)

Author SHA1 Message Date
Sébastien Villemot 0f1fdde166
Update m4 macros from autoconf-archive
By the way, drop ax_boost_base.m4 which is no longer used.
2019-04-04 16:40:31 +02:00
Houtan Bastani 7e46d8267c
mac: make build system work with clang and gcc 2019-04-01 17:38:42 +02:00
Sébastien Villemot 37d7dc65ae
Compatibility fix with MATLAB ≤ R2011a 2019-03-26 15:42:18 +01:00
Sébastien Villemot fb4d14c0a2
Fix build failure with MATLAB ≤ R2011a with recent GCC 2019-03-25 18:47:50 +01:00
Sébastien Villemot 230cfe5f33
Fail at configuration if MATLAB version can't be put in X.Y.Z form 2019-03-25 18:47:49 +01:00
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