Commit Graph

56 Commits (43b24facb98cdddc3db1e81bbca349b25f8b20af)

Author SHA1 Message Date
Sébastien Villemot a31c76403d
Windows and macOS packages: move meson native/cross files to OS-specific directory 2023-12-08 14:34:14 +01:00
Sébastien Villemot 1d5a442fe5
Bump minimal required version of Octave to 7.1.0
Incidentally, this means that the JSONlab submodule is no longer needed, so it
is removed in the present commit.

Closes: #1907
2023-11-22 17:46:13 +01:00
Sébastien Villemot 7f58e819c6
Bump minimal required version of MATLAB to R2018b
Ref. #1907
2023-11-22 16:00:04 +01:00
Sébastien Villemot 79a655261b
macOS package: adapt for new filesystem location of MATLAB R2016b for x86-64 2023-11-06 15:45:06 +01:00
Willi Mutschler d5649a53fa
macOS built script: make shellcheck happy
Added double quotes to variables
2023-10-11 17:34:43 +02:00
Willi Mutschler bb3aa0a206
macOS installer: cosmetical changes 2023-10-11 17:34:43 +02:00
Willi Mutschler cc9102248c
macOS installer: improve sed command to get GCC version 2023-10-11 17:34:43 +02:00
Willi Mutschler 158abbd0fd
macOS installer: create both arm64 and x86_64 packages 2023-10-11 17:34:43 +02:00
Willi Mutschler 83910ddae3
macOS installer: don't require admin + ability to change install path
id="org.dynare.VERSION_NO_SPACE" fixes #1790, i.e old Dynare versions will not get uninstalled.
2023-10-11 17:34:43 +02:00
Willi Mutschler de5b37fca7
macOS installer: remove gcc option and local homebrew install
Fixes #1893
Closes #1894
Explain how to get Xcode CLT and gcc via homebrew in installer at the end using a conclusion.html file.
Clarify this also in the manual.
2023-10-11 17:34:43 +02:00
Sébastien Villemot 9d95dadb13
macOS package: another workaround for XCode 15 2023-10-11 11:09:07 -04:00
Sébastien Villemot 7eb1959f66
Provisions for MATLAB R2023b 2023-09-22 10:49:27 +02:00
Sébastien Villemot d731cb18e9
Windows and macOS packages: add missing dynare_version.m file 2023-09-20 10:53:10 +02:00
Sébastien Villemot e335fed27b
macOS package: use the Meson build system
By the way, simplify the dependency build system by removing 32-bit
SLICOT (was only used for the Octave package), and the symlinks for MatIO and
GSL (no longer needed with Meson).
2023-09-18 16:57:32 +02:00
Sébastien Villemot d573ff1507
CI: build documentation using Meson 2023-09-18 15:16:26 +02:00
Sébastien Villemot 5931e3aa46
macOS: bump to GCC 13 (for compilation and for use_dll)
The formulas are taken from commit 46401325ed2c4d72adb6f1592cf6096bb844b489 of
the homebrew-core repository.

The gcc.rb formula was modified by adding “cellar: :any” to all bottles (see
https://github.com/Homebrew/brew/blob/master/docs/Bottles.md).

The preprocessor has been updated accordingly.
2023-06-07 11:16:21 +02:00
Sébastien Villemot 13908ee068
Provisions for MATLAB R2023a 2023-03-17 16:32:09 +01:00
Sébastien Villemot 7159a293d6
CI: adapt for new macOS runner
- enforce x86-64 architecture
- use “sysctl -n hw.ncpu” instead of “nproc” (which has not been installed in
  the new runner)
- use MATLAB R2022b for building with the latest ABI
2023-03-13 17:57:20 +01:00
Sébastien Villemot c1922c3ad0
Stop building and shipping the Dynare++ executable
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
2023-01-03 14:51:07 +01:00
Sébastien Villemot 36a7b019fc
Provisions for MATLAB R2022b 2022-09-15 15:59:32 +02:00
Sébastien Villemot 93ee9485b6
macOS: bump to GCC 12 (for compilation and for use_dll)
The formulas are taken from commit aae5963a69896021466a037f500aa06bef405be4 of
the homebrew-core repository.

The gcc.rb formula was modified by adding “cellar: :any” to all bottles (see
https://github.com/Homebrew/brew/blob/master/docs/Bottles.md).

The preprocessor has been updated accordingly.
2022-09-06 12:05:50 +02:00
Sébastien Villemot b31fe76dfd
Provisions for MATLAB R2022a 2022-03-24 17:43:40 +01:00
Sébastien Villemot 6669e55b97
Provisions for MATLAB R2021b 2021-09-24 16:43:30 +02:00
Sébastien Villemot b1b7c68870
macOS: bump to GCC 11 (for compilation and for use_dll)
The formulas are taken from commit 2a3ba743401693c5927acc936e27377f123f6d56 of
the homebrew-core repository.

The gcc.rb formula was modified by adding “cellar: :any” to all bottles (see
https://github.com/Homebrew/brew/blob/master/docs/Bottles.md).

The preprocessor has been updated accordingly (and the detection of the GCC
installed by Dynare package has also been fixed).
2021-06-24 15:50:12 +02:00
Sébastien Villemot 7d57bd0e4c
macOS package: hack to statically link libquadmath in Fortran MEX files 2021-06-21 18:12:18 +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 59e087d416
macOS: improve the algorithm that determines the install location on the disk 2021-03-18 15:42:28 +01:00
Sébastien Villemot baa6c8dbbd
Provisions for MATLAB R2021a 2021-03-17 17:47:27 +01:00
Sébastien Villemot c0ccca26cb
macOS package: drop support for Octave
The current Octave support is utterly broken (both in stable and unstable), it
crashes Octave. It relies on an unofficial Octave app for
macOS (https://octave-app.org), which is infrequently updated.

This commits drop support for Octave in the macOS package. We will now tell our
macOS+octave users to use the Homebrew Dynare package (which is maintained by
the Homebrew team, and is in reasonably good shape).
2021-03-12 16:21:57 +01:00
Sébastien Villemot 80460af6d7
macOS package: fixes related to flex and bison in Homebrew
Also mention in the README that sphinx-doc must be linked, since it is
keg-only.
2021-01-07 18:40:01 +01:00
Sébastien Villemot 8e7d0d2c5d
Preprocessor binary renamed and moved, various other improvements to make install rules
– 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
2021-01-06 18:17:20 +01:00
Sébastien Villemot 06e6e5935b
macOS package: minor improvements to the build script 2020-12-18 15:40:48 +01: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 fa12e5abfc
Provisions for MATLAB R2020b 2020-09-24 15:43:06 +02:00
Sébastien Villemot 7738ea0a25
macOS: use GCC 10 for building, since GCC 9 is no longer in Homebrew 2020-09-01 14:39:17 +02:00
Sébastien Villemot c6184e3fb7
macOS package: use a package identifier that matches the dynare.org domain-name 2020-05-28 16:27:23 +02:00
Sébastien Villemot b758c154ce
macOS package: fix warning about supported Octave version
In 0c77f7e92f, the supported Octave version has
been changed from the Homebrew binary to the standalone application.

However, the runtime check about the supported Octave version was not updated,
and was still pointing to the Homebrew version number.
2020-05-28 16:24:19 +02:00
Sébastien Villemot 6e0f104d7e
Bump minimal MATLAB version to R2014a
Ref. #1713
2020-04-07 16:32:32 +02:00
Stéphane Adjemian (Charybdis) 166865149e
Updated build for matlab R2020a. 2020-03-26 11:20:24 +01:00
Sébastien Villemot 2ae88722fb
Build system + Windows/macOS package: provisions for Dynare++’s dynare_simul.m 2020-02-25 16:33:32 +01:00
Sébastien Villemot ef4df1df0b
Build system: adapt for renaming of NEWS to NEWS.md 2020-02-17 23:12:12 +01:00
Houtan Bastani 0c77f7e92f
macOS packaging: compile against the version of Octave distributed via https://octave-app.org (currently 4.4.1) 2019-12-10 15:14:16 +01:00
Houtan Bastani a0b58b2b41
macOS packaging: install Homebrew + GCC under /Applications/Dynare/<<version>>
The installation of Homebrew + GCC necessitates Xcode Command Line Tools, which will be installed if it is not present.

The installation of Homebrew + GCC is optional and can be deselected by the user.
2019-11-25 11:11:03 +01:00
Houtan Bastani be3c48604b
change name of mex folder in macOS to conform with Dynare minimum 2019-10-23 18:59:36 +02:00
Houtan Bastani 0bdb04bac8
macOS snapshot: statically link to `libmatio` and dependencies, `gsl`, and `gcc` libraries
* The macOS snapshot until this point did not work unless the user had already installed `libmatio`, `gsl`, and `gcc` via Homebrew.
* We are not modifying `m4/ax_matio.m4` as we want to still be able to compile against shared libraries in development
2019-10-17 15:29:34 +02:00
Houtan Bastani 6702b5272d
macOS build: just add ms-sbvar .m files to macOS build
[skip ci]
2019-10-04 10:19:55 +02:00
Houtan Bastani 5ca9e44503
dseries: submodule update
this update includes the name change for x13 on mac from osx->macOS
2019-10-03 18:07:03 +02:00
Houtan Bastani a20a5f7073
macOS package: use underscore for slicot link 2019-10-03 11:22:45 +02:00
Houtan Bastani a1129866ba
macOS build: get octave version directly from version installed on system 2019-10-02 15:03:30 +02:00
Houtan Bastani 982d6b9de4
build slicot, x13as when building macOS package and make some simplifications 2019-10-02 12:03:09 +02:00