Incidentally, no longer run Dynare++ unit tests, since they are intricated in
the Dynare++ build system. If we finally decide not to drop the Dynare++
codebase for our MEX files, then we should probably find a way to build and run
them again.
Ref. #1825
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.
It is needed for /usr/include/FlexLexer.h. It used to be a dependency of flex,
but has been demoted to a recommends, so it’s better to list separately.
[skip ci]
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).
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++).
– Windows 11 is supported
– macOS versions older than 11 are no longer supported
– Octave versions older than 6.2.0 are no longer supported
– do not claim compatibility with future (unknown) versions of MATLAB and Octave
- strip the new preprocessor binary
- include the new preprocessor binary in the .zip and .7z archives
- include the old (backward-compatible) preprocessor binary in the .exe installer
– preprocessor binary renamed to dynare-preprocessor
— the preprocessor binary is now installed under a preprocessor/ top-level directory
— a backward-compatibility symlink is still provided under
matlab/preprocessor64/dynare_m
— the make install rule now install PDF and HTML documentation when those have
been built
Closes: #1728
The runners no longer have an octave binary in the PATH, so the configure
script fails. We pass a dummy value for the location of the Octave
binary (which is actually not run, because we don’t execute the testsuite).
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).