Skip to content

Commit

Permalink
Migrate to gcc13 (#356)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnerini authored Apr 27, 2024
1 parent 30c19e6 commit 563de17
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test_pysteps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions doc/source/user_guide/install_pysteps.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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.

Expand Down

0 comments on commit 563de17

Please sign in to comment.