Commit Graph

56 Commits (62f608eb805822dbc166d579a54dda9ec2e2288a)

Author SHA1 Message Date
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
Sébastien Villemot fa12e5abfc
Provisions for MATLAB R2020b 2020-09-24 15:43:06 +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 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
Houtan Bastani 8d1bbfdd78
macOS installer: update installer text to reflect recent changes; fix acronym for GCC 2020-03-06 11:24:01 +01:00
Houtan Bastani 0e6ba47667
macOS installer: modify messages displayed to user when a connection to github is not found 2020-03-05 16:06:56 +01:00
Houtan Bastani a42ed77a7f
macOS installer: ensure git is in the path 2020-03-05 16:06:56 +01:00
Houtan Bastani 7690284142
macOS installer: change website tested to `github.com` in case `google.com` is blocked in user's country 2020-03-04 12:11:21 +01:00
Houtan Bastani 72c7a9ff9f
macOS installer: create window using `osascript` command if error encountered 2020-03-04 12:11:20 +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 ba1fe2539e
macOS distribution: replace `com.cepremap` with `org.dynare` 2020-01-21 14:28:44 +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 24b3c2f014
macOS build: update deps/versions.mk for change in a1129866ba
[skip ci]
2019-10-03 18:31:53 +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