Commit Graph

81 Commits (33f2456acf539c44085aff55336f6197bb0c27ef)

Author SHA1 Message Date
Sébastien Villemot e3b346094b
macOS package: build dependencies with -O3 and without -g 2023-10-24 09:38:50 +02:00
Willi Mutschler fb63a8eadb
macOS installer: fix typo in welcome page 2023-10-16 22:12:09 +02:00
Willi Mutschler a3b05f6d74
macOS installer: improve welcome and conclusion of installer
[skip ci]
2023-10-11 17:34:43 +02:00
Willi Mutschler 6d2958625d
macOS installer: force non-admin installs
[skip ci]
2023-10-11 17:34:43 +02:00
Willi Mutschler 3d057a6605
macOS installer: fix typo 2023-10-11 17:34:43 +02:00
Willi Mutschler 5213adc0ad
macOS installer: clarify Xcode CLT license in conclusion page 2023-10-11 17:34:43 +02: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 6e98e9849f
macOS installer: add instructions if /Applications/Dynare is owned by root 2023-10-11 17:34:43 +02:00
Willi Mutschler cdd632ed07
macOS installer doc: fix capitalization of GCC and path to Clang 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 d480bbdcac
manual: workaround if MATLAB does not see Xcode license agreement
because MATLAB checks the directory of Xcode and not of the Command Line Tools
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 6dd55726e6
Drop autoconf/automake build system 2023-09-20 15:33:44 +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 b0503ce994
macOS package: fix x13as clean rule
[skip ci]
2023-09-01 16:28:29 +02:00
Sébastien Villemot bda2b1a1e9
Windows and macOS packages, README.md: bump to x13as 1.1-b60 2023-08-30 11:31:22 +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 cf0c285870
macOS package: replace another use of “nproc” by “sysctl -n hw.ncpu” 2023-03-14 15:33:31 +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 1d721da9ad
macOS package: when compiling x13as, statically link libgcc, libgfortran and libquadmath
Closes: #1865
2022-09-26 12:18:49 +02: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 32f8005070
Windows and macOS packages: bump to x13as 1.1-b59 2022-07-18 17:26:34 +02:00
Sébastien Villemot 232d43d38b
Windows and macOS packages: bump to x13as version 1.1 build 58 2022-06-22 14:11:36 +02:00
Sébastien Villemot b31fe76dfd
Provisions for MATLAB R2022a 2022-03-24 17:43:40 +01:00
Sébastien Villemot ba13b9cafb
macOS package: update brew formulas for GCC
The formulas are taken from commit afe7d6a73ec16b5479434bbe3613d4e7a3c28fac 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).
2022-01-11 15:04:51 +01:00
Sébastien Villemot 6669e55b97
Provisions for MATLAB R2021b 2021-09-24 16:43:30 +02:00
Sébastien Villemot 804f44515d
macOS package: make the detection of CLT installation status more robust
Closes: #1779

Also do some stylistic improvements.
2021-06-24 17:39:09 +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 d52ea372db
macOS package: clean up connection test to github.com
— avoid outputing the whole Github page to install.log
— also make it more robust by directly testing return code
2021-03-23 18:17:33 +01: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 49fdae58ac
macOS package: upgrade to gcc-10 in custom install of Homebrew
The formulas are taken from commit c2acb4e30f7a99426a34dbdea26991459454c834 of
the homebrew-core repository.

The formulas were modified as follows:
— in the "bottle" do/end block, this line was added:
   root_url "https://homebrew.bintray.com/bottles"
— in the "bottle" do/end block for gcc, this line was added:
   cellar :any

The preprocessor has been updated accordingly.
2021-01-13 15:43:03 +01:00
Sébastien Villemot 3cbc2396a0
macOS package: fix compilation of x13as on macOS 11 (Big Sur) 2021-01-11 17:07:08 +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