macOS: bump to GCC 13 (for compilation and for use_dll)

master
Sébastien Villemot 2023-06-07 10:27:20 +02:00
parent 09cff8003a
commit 0de27e8dab
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
2 changed files with 2 additions and 3 deletions

View File

@ -59,7 +59,7 @@ build_macos_x86_64:
- macOS
script:
- autoreconf -si
- arch -x86_64 ./configure CC=gcc-12 CXX=g++-12 LEX=/usr/local/opt/flex/bin/flex YACC=/usr/local/opt/bison/bin/bison
- arch -x86_64 ./configure CC=gcc-13 CXX=g++-13 LEX=/usr/local/opt/flex/bin/flex YACC=/usr/local/opt/bison/bin/bison
- arch -x86_64 make -j$(sysctl -n hw.ncpu)
artifacts:
paths:

View File

@ -1616,8 +1616,7 @@ ModelTree::matlab_arch(const string &mexext)
filesystem::path
ModelTree::findGccOnMacos(const string &mexext)
{
const string macos_gcc_version {"12"}; // doc/manual/source/installation-and-configuration.rst
// should be updated when this is changed
const string macos_gcc_version {"13"};
char dynare_preprocessor_path[PATH_MAX];
uint32_t size = PATH_MAX;
filesystem::path local_gcc_path;