Skip to content

Commit

Permalink
patch 9.0.1562: mixing package managers is not a good idea
Browse files Browse the repository at this point in the history
Problem:    Mixing package managers is not a good idea.
Solution:   Install gcc 13 with apt-get. (closes #12405)
  • Loading branch information
pheiduck authored and brammool committed May 16, 2023
1 parent 798fa76 commit 7268e53
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Expand Up @@ -21,7 +21,7 @@ jobs:

env:
CC: ${{ matrix.compiler }}
GCC_VER: 12
GCC_VER: 13
CLANG_VER: 16
TEST: test
SRCDIR: ./src
Expand Down Expand Up @@ -98,10 +98,9 @@ jobs:
- name: Install gcc-${{ env.GCC_VER }}
if: matrix.compiler == 'gcc'
run: |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
brew install gcc@${{ env.GCC_VER }}
sudo update-alternatives --install /usr/bin/gcc gcc /home/linuxbrew/.linuxbrew/bin/gcc-${{ env.GCC_VER }} 100
sudo update-alternatives --set gcc /home/linuxbrew/.linuxbrew/bin/gcc-${{ env.GCC_VER }}
sudo apt-get install -y gcc-${{ env.GCC_VER }}
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${{ env.GCC_VER }} 100
sudo update-alternatives --set gcc /usr/bin/gcc-${{ env.GCC_VER }}
- name: Install clang-${{ env.CLANG_VER }}
if: matrix.compiler == 'clang'
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -695,6 +695,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1562,
/**/
1561,
/**/
Expand Down

0 comments on commit 7268e53

Please sign in to comment.