Skip to content

Commit

Permalink
g++ -> gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
Szelethus committed Oct 16, 2023
1 parent bb21178 commit a6b442e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/install-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
sudo add-apt-repository 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-14 main' -y
# Required for g++-13, as the latest LTS at the time of this change hasn't made it available.
# Required for gcc-13, as the latest LTS at the time of this change hasn't made it available.
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test

sudo apt-get update -q
Expand All @@ -22,4 +22,3 @@ sudo apt-get install \
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-14 9999
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-14 9999
sudo update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-14 9999
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 9999
4 changes: 2 additions & 2 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ jobs:
- name: "Install run-time dependencies (Linux)"
if: ${{ matrix.os == 'ubuntu-20.04' }}
run:
sudo apt-get update && sudo apt-get install g++-13 clang clang-tidy cppcheck
sudo apt-get update && sudo apt-get install gcc-13 clang clang-tidy cppcheck

- name: "Install run-time dependencies (OSX)"
if: ${{ matrix.os == 'macos-10.15' }}
run:
brew install llvm cppcheck g++-13
brew install llvm cppcheck gcc-13

- name: "Install run-time dependencies (Windows)"
if: ${{ matrix.os == 'windows-2019' }}
Expand Down
2 changes: 1 addition & 1 deletion config/package_layout.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"clangsa": "clang",
"clang-tidy": "clang-tidy",
"cppcheck": "cppcheck",
"gcc": "g++"
"gcc": "gcc"
},
"clang-apply-replacements": "clang-apply-replacements"
},
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ The following commands are used to bootstrap CodeChecker on Ubuntu 20.04 LTS:
# come from package manager!
# In case of Cppcheck, the minimal supported version is 1.80.
# In case of gcc, the minimal supported version is 13.0.0.
sudo apt-get install clang clang-tidy cppcheck g++ build-essential curl
sudo apt-get install clang clang-tidy cppcheck gcc build-essential curl
gcc-multilib git python3-dev python3-venv python3-setuptools

# Install nodejs dependency for web. In case of Debian/Ubuntu you can use the
Expand Down

0 comments on commit a6b442e

Please sign in to comment.