Commit Graph

49 Commits (253d1385b4bde727e0214bb290813cedf00308cb)

Author SHA1 Message Date
Sébastien Villemot 2f6120de0c
Octave 7 compatibility fix: add --link-stand-alone when getting LDFLAGS from mkoctfile
Since Octave 7, LDFLAGS as returned by mkoctfile include -shared, which is
undesirable for generic LDFLAGS. Pass the --link-stand-alone option to strip
this flag.
2022-04-15 14:32:54 +02:00
Sébastien Villemot 1ed6d0f0e5
Windows package: bump dependencies 2022-04-06 16:48:40 +02:00
Sébastien Villemot 0b053f1ebf
Windows package: bump dependencies 2022-02-21 16:02:04 +01:00
Sébastien Villemot 79132ebe55
Build system: no longer use deprecated LFLAGS from mkoctfile
By the way, drop the -static-* flags from LDFLAGS in Windows mkoctfile stub. It
is no more needed and creates duplicates in the link command line (since those
flags are already in DL_LDFLAGS).
2022-01-24 12:52:24 +01:00
Sébastien Villemot 95e8b5cd23
Windows package: bump dependencies 2022-01-11 14:43:03 +01:00
Sébastien Villemot 43ac763309
Windows package: bump to Octave 6.4.0 2021-11-09 18:15:21 +01:00
Sébastien Villemot 77683d5df4
Windows package: add -static-libgfortran when compiling MEX files for Octave
The Octave package for Windows ships with libgfortran from gfortran 9. This
version of libgfortran does not include symbol _gfortran_os_error_at, which is
needed by binaries created with gfortran 10 (used on our runners). The solution
is to statically link against libgfortran (as we already do for libgcc and
libstdc++).
2021-10-08 15:06:46 +02:00
Sébastien Villemot 8881f0ecf9
Windows package: bump dependencies 2021-07-21 20:18:36 +02:00
Sébastien Villemot 1d5d46e150
Windows package: bump to Octave 6.3.0 2021-07-21 17:32:02 +02:00
Sébastien Villemot 3c2d033a14
Windows package: bump dependencies 2021-07-08 15:01:03 +02:00
Sébastien Villemot 9460da5b07
Windows package: bump dependencies 2021-06-16 17:41:40 +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 05fcb0550f
Windows package: bump dependencies 2021-06-01 14:26:19 +02:00
Sébastien Villemot 279446968c
Windows package: bump dependencies 2021-04-14 14:43:25 +02:00
Sébastien Villemot b058dfbb18
Windows package: bump dependency version 2021-03-29 14:50:51 +02:00
Sébastien Villemot 71130a395f
Windows package: bump versions of dependencies 2021-03-11 10:47:46 +01:00
Sébastien Villemot 4c15bce48e
Windows package: bump Octave version to 6.2.0 2021-03-08 15:09:34 +01:00
Sébastien Villemot 1c7f88a093
Windows package: bump dependencies 2021-01-04 14:50:08 +01:00
Sébastien Villemot a922505bbe
Another fix for Fedora, needed for building MEX for Octave 2020-11-13 10:05:40 +01:00
Sébastien Villemot c564c9f4e4
Update mkoctfile64 for Windows cross-compilation with values from Octave 5 2020-11-05 18:51:47 +01:00
Sébastien Villemot 4c12f03637
Windows package: bump dependencies 2020-10-16 17:27:03 +02:00
Sébastien Villemot a69d598b5f
Add the ability to automatically detect MATLAB version at configure time
It is thus no longer needed to pass the MATLAB_VERSION option to the configure
script when compiling from source.
2020-09-30 19:08:52 +02:00
Sébastien Villemot 9b946ca0af
macOS package: fix compilation of x13as against gfortran 10
Add -std=legacy to FFLAGS.

Do the same for the Windows package, even though we don’t yet use version 10 of
gfortran (but that will of course happen at some point).
2020-09-04 10:47:43 +02:00
Sébastien Villemot 34f66d3db8
Windows package: GCC 10 now depends on zstd
Closes: preprocessor#55

By the way, bump other dependencies.
2020-09-03 15:58:05 +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 ea0456a95e
Windows package: bump dependencies
Note that MSYS2 is in the middle of the transition from xz to zstd for
compressing its archives, so we have to handle both formats.
2020-05-27 18:53:12 +02:00
Sébastien Villemot 6e0f104d7e
Bump minimal MATLAB version to R2014a
Ref. #1713
2020-04-07 16:32:32 +02:00
Sébastien Villemot 2fb55907ff
Windows package: bump dependencies 2020-03-26 17:08:20 +01:00
Sébastien Villemot bb64a77179
Windows package: libwinpthread-git comes from the same source package as winpthreads-git 2020-02-19 15:50:52 +01:00
Sébastien Villemot 4eaf718779
Windows package: upgrade various dependencies 2020-02-19 15:50:52 +01:00
Sébastien Villemot 3e5508bea7
Windows package: add missing gcc-libs package for MinGW compiler 2020-02-19 15:50:52 +01:00
Sébastien Villemot fbf97a0d7d
Windows package: zlib is a dependency of the MinGW compiler 2020-02-19 15:39:49 +01:00
Sébastien Villemot d5312e8e40
Windows package: really really use Octave 5.2.0_1 2020-02-11 11:46:12 +01:00
Sébastien Villemot e2c69fbfd5
Windows package: really use Octave 5.2.0_1 2020-02-11 10:05:23 +01:00
Sébastien Villemot b5de8b1835
Windows package: bump to Octave 5.2.0_1 (rebuild of 5.2.0) 2020-02-10 18:24:54 +01:00
Sébastien Villemot 7a5a604c7d
Windows package: bump to Octave 5.2.0 2020-02-04 12:01:46 +01:00
Sébastien Villemot b8a920463f
Windows: upgrade Boost dependency 2019-12-19 12:52:24 +01:00
Sébastien Villemot fab5a6815a
Windows package: ensure that Kalman steady state MEX is compiled under Octave
The detection of the slicot library failed because xerbla has been moved out of
the BLAS implementation shipped with Octave (probably since 5.1.0). This commit
fixes our fake implementation of mkoctfile so that it returns -lxerbla after
-lblas (as is done in the official Windows package for Octave).
2019-11-21 16:32:01 +01:00
Sébastien Villemot 49a17e75df
Windows package: upgrade various dependencies 2019-11-14 14:59:59 +01:00
Sébastien Villemot 8cb6aeb7ed
Windows package: upgrade Boost and GCC dependencies 2019-10-17 16:26:27 +02:00
Sébastien Villemot 8f8c83aa6a
Windows package: when compiling slicot, use Makefile variables instead of patches 2019-10-01 17:23:21 +02:00
Sébastien Villemot b1919b15d5
Windows package: fix race condition when extracting MSYS2 archives
Those archives contain 3 hidden files, which always have the same name. This
can make the parallel build fail when several packages are unpacked at the same
time. Hence, we just skip these files when unpacking.
2019-09-24 11:05:29 +02:00
Sébastien Villemot 533a4ff7db
Windows package: use pre-compiled MSYS2 packages for most dependencies
We only need to recompile Slicot and x13as.
2019-09-17 14:10:47 +02:00
Sébastien Villemot d549d21b7f
Windows package: do not trigger deps rebuild based on patches timestamps
This breaks the caching, because those patches have a recent timestamp (due to
git recloning).

This is a partial revert of 8a3938ebc
2019-09-07 11:47:32 +02:00
Sébastien Villemot 8f946c6c8c
Windows package: avoid Gitlab caching of MATLAB and Octave binaries 2019-09-04 16:12:28 +02:00
Sébastien Villemot 8a3938ebc0
Windows package: make building of deps more robust to version changes
– before executing the rule for unpacking the source, delete previously
  unpacked sources to avoid file overwrite (delete all versions so that the
  Gitlab cache does not grow too big)
— ensure that those rules are executed when a patch is modified
2019-09-04 16:12:28 +02:00
Sébastien Villemot f8c95effd5
Windows package: update versions of several dependencies
Do not update OpenBLAS to 0.3.7, because that version fails to build when
LAPACKE is not requested.
2019-09-03 21:36:50 +02:00
Sébastien Villemot ac0339c287
Windows package: add x13as 2019-09-03 21:36:50 +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