Skip to content

Commit 563de17

Browse files
authored
Migrate to gcc13 (#356)
1 parent 30c19e6 commit 563de17

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/test_pysteps.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ jobs:
6262
if: matrix.os == 'macos-latest'
6363
working-directory: ${{github.workspace}}
6464
env:
65-
CC: gcc-9
66-
CXX: g++-9
67-
CXX1X: g++-9
65+
CC: gcc-13
66+
CXX: g++-13
67+
CXX1X: g++-13
6868
HOMEBREW_NO_INSTALL_CLEANUP: 1
6969
run: |
7070
brew update-reset
7171
brew update
72-
gcc-9 --version || brew install gcc@9
72+
gcc-13 --version || brew install gcc@13
7373
pip install .
7474
7575
- name: Install pysteps

doc/source/user_guide/install_pysteps.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,12 @@ To make sure that the installer uses the homebrew's gcc, export the
148148
following environmental variables in the terminal
149149
(supposing that gcc version 8 was installed)::
150150

151-
export CC=gcc-8
152-
export CXX=g++-8
151+
export CC=gcc-13
152+
export CXX=g++-13
153153

154154
First, check that the homebrew's gcc is detected::
155155

156-
which gcc-8
156+
which gcc-13
157157

158158
This should point to the homebrew's gcc installation.
159159

@@ -162,8 +162,8 @@ gcc executables under /usr/local/bin.
162162
If that is the case, specify the CC and CCX variables using the full path to
163163
the homebrew installation. For example::
164164

165-
export CC=/usr/local/Cellar/gcc/8.3.0/bin/gcc-8
166-
export CXX=/usr/local/Cellar/gcc/8.3.0/bin/g++-8
165+
export CC=/usr/local/Cellar/gcc/13.2.0/bin/gcc-13
166+
export CXX=/usr/local/Cellar/gcc/13.2.0/bin/g++-13
167167

168168
Then, you can continue with the normal installation procedure described next.
169169

0 commit comments

Comments
 (0)