Skip to content

Commit

Permalink
move to clang 15 and gcc 11 && update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Harbarth committed Nov 8, 2022
1 parent 8efef96 commit 79e982e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"name": "clang-preset",
"hidden": true,
"cacheVariables": {
"CMAKE_C_COMPILER": "clang-14",
"CMAKE_CXX_COMPILER": "clang++-14"
"CMAKE_C_COMPILER": "clang-15",
"CMAKE_CXX_COMPILER": "clang++-15"
}
},
{
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ included.

- Git
- CMake >= 3.19
- GCC 10 / 11
- Clang 11 / 12 / 13 / 14
- GCC 11
- Clang 15
- Ninja

### Steps:
Expand All @@ -29,14 +29,14 @@ Add Repositories and signing key.

```shell
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
echo "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-14 main" | sudo tee -a /etc/apt/sources.list
echo "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-15 main" | sudo tee -a /etc/apt/sources.list
sudo apt update
```

Install clang and additional tooling.

```shell
sudo apt install clang-14 lldb-14 lld-14 clangd-14 clang-tidy-14 clang-format-14 clang-tools-14 llvm-14-dev llvm-14-tools libomp-14-dev libc++-14-dev libc++abi-14-dev libclang-common-14-dev libclang-14-dev libclang-cpp14-dev libunwind-14-dev
sudo apt install clang-15 lldb-15 lld-15 clangd-15 clang-tidy-15 clang-format-15 clang-tools-15 llvm-15-dev llvm-15-tools libomp-15-dev libc++-15-dev libc++abi-15-dev libclang-common-15-dev libclang-15-dev libclang-cpp15-dev libunwind-15-dev
```

#### Installing GCC
Expand All @@ -50,7 +50,7 @@ sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa && sudo apt update
Install GCC.

```shell
sudo apt install g++-10
sudo apt install g++-11
```

#### Installing remaining tools
Expand Down Expand Up @@ -84,7 +84,7 @@ ssh-add ~./ssh/id_rsa
Clone the repository.

```shell
git clone [email protected]:julianharbarth/private-soros.git
git clone [email protected]:motis-project/soro-s.git
```

#### Building the tests
Expand Down

0 comments on commit 79e982e

Please sign in to comment.