From 563de170708008ed6045e1c6abd5d098265c27b7 Mon Sep 17 00:00:00 2001 From: Daniele Nerini Date: Sat, 27 Apr 2024 14:29:08 +0200 Subject: [PATCH] Migrate to gcc13 (#356) --- .github/workflows/test_pysteps.yml | 8 ++++---- doc/source/user_guide/install_pysteps.rst | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test_pysteps.yml b/.github/workflows/test_pysteps.yml index d16d4aba8..0af2f4182 100644 --- a/.github/workflows/test_pysteps.yml +++ b/.github/workflows/test_pysteps.yml @@ -62,14 +62,14 @@ jobs: if: matrix.os == 'macos-latest' working-directory: ${{github.workspace}} env: - CC: gcc-9 - CXX: g++-9 - CXX1X: g++-9 + CC: gcc-13 + CXX: g++-13 + CXX1X: g++-13 HOMEBREW_NO_INSTALL_CLEANUP: 1 run: | brew update-reset brew update - gcc-9 --version || brew install gcc@9 + gcc-13 --version || brew install gcc@13 pip install . - name: Install pysteps diff --git a/doc/source/user_guide/install_pysteps.rst b/doc/source/user_guide/install_pysteps.rst index 79365a3f9..8e8e43de6 100644 --- a/doc/source/user_guide/install_pysteps.rst +++ b/doc/source/user_guide/install_pysteps.rst @@ -148,12 +148,12 @@ To make sure that the installer uses the homebrew's gcc, export the following environmental variables in the terminal (supposing that gcc version 8 was installed):: - export CC=gcc-8 - export CXX=g++-8 + export CC=gcc-13 + export CXX=g++-13 First, check that the homebrew's gcc is detected:: - which gcc-8 + which gcc-13 This should point to the homebrew's gcc installation. @@ -162,8 +162,8 @@ gcc executables under /usr/local/bin. If that is the case, specify the CC and CCX variables using the full path to the homebrew installation. For example:: - export CC=/usr/local/Cellar/gcc/8.3.0/bin/gcc-8 - export CXX=/usr/local/Cellar/gcc/8.3.0/bin/g++-8 + export CC=/usr/local/Cellar/gcc/13.2.0/bin/gcc-13 + export CXX=/usr/local/Cellar/gcc/13.2.0/bin/g++-13 Then, you can continue with the normal installation procedure described next.