Sébastien Villemot
766fff88f6
Use secure URL for link to GNU licenses
2021-06-09 17:35:05 +02:00
Sébastien Villemot
3bdb07d11e
Build system: remove -lstdc++ when linking MEX for MATLAB under macOS
...
It is unneeded.
2021-05-25 18:57:40 +02:00
Sébastien Villemot
fb31842856
Build system: remove -lstdc++ when linking MEX for MATLAB under GNU/Linux
...
It is not needed, and it prevents the -static-libstdc++ flag from work
correctly if supplied by the user.
2021-05-11 22:57:16 +02:00
Sébastien Villemot
0741963ca5
Build system: streamline handling of compilation flags for MEX
...
— allow the user to override compilation flags for MATLAB MEX (it was already
working for the preprocessor, the MEX for Octave and Dynare++)
— increase the symmetry of MEX build infrastructure between MATLAB and Octave
— when linking MEX for Octave, do not add the output of “mkoctfile -p FLIBS”.
It is unneeded, and it can create a conflict between the system compiler and
a user-supplied compiler
By the way:
— restore optimization on macOS for C/C++ MEX (it had been removed in
5df2392a09
)
— remove -fno-omit-frame-pointer on MATLAB/Linux, since it would be cancelled
by subsequent -O2 and should not be needed anyways
— remove FFLAGS under Octave, unused
2021-05-10 14:39:41 +02:00
Sébastien Villemot
bd287ca5fa
Build system: remove 32-bit MATLAB stuff, since we no longer support that configuration
2021-05-09 17:51:38 +02:00
Sébastien Villemot
29bb140297
macOS: drop -mmacosx-version-min compilation flag
...
Currently it is not applied consistently to all binaries we produce.
Moreover we do not really have a way to test support for older macOS versions.
If there are problems, we might reintroduce this flag later, but we will have
to it consistently across all binaries.
2021-01-13 15:42:44 +01:00
Sébastien Villemot
0275686589
macOS: drop -arch x86_64 compilation flag, in preparation for ARM support
2021-01-13 15:42:44 +01:00
Sébastien Villemot
93a8e60265
Build system: various macOS cleanups
...
– remove clang support
– we no longer support 32-bit
– simplify Darwin specific hacks for Octave MEX files
2020-12-18 15:40:48 +01:00
Sébastien Villemot
6e0f104d7e
Bump minimal MATLAB version to R2014a
...
Ref. #1713
2020-04-07 16:32:32 +02:00
Sébastien Villemot
47e4649026
Add support for Fortran 2008 in MEX files
...
By the same token, remove unused support for Fortran 77.
2020-01-06 18:29:47 +01:00
Sébastien Villemot
8b0d5f4b86
Windows: ensure that libgomp is statically linked
2019-09-10 15:17:15 +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
11be47103b
Avoid dynamic linking against libwinpthread when using POSIX-threads MinGW
2019-06-12 18:01:42 +02:00
Sébastien Villemot
f953374dba
More Unicode copyright symbol
2019-04-16 14:34:05 +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
c46023ad56
POSIX shell stylistic improvements
2019-03-25 18:47:49 +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
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
Houtan Bastani
bc8a7f1b09
build system: change min os x version to build mex with libstdc++
2016-10-24 16:00:26 +02:00
Houtan Bastani
710e8ef3a5
fix copyright dates for 2016
2016-02-23 14:04:04 +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
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
3d39d77917
Remove spurious executable permissions
2012-10-13 16:10:01 +02:00
Sébastien Villemot
5b1ecaf627
Fix detection of SLICOT under Windows
2012-09-28 17:24:07 +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
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
Houtan Bastani
4c1fe625a2
build: fix fortran flags on mac
2011-10-12 16:18:40 +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
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
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
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
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
69b9b7fc84
Build system: fix for MinGW-TDM 4.5
2010-06-09 17:55:04 +02: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
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
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
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