Skip to content

Commit 58a88a1

Browse files
committed
Bump minimum clang version to 7.0.1
std::variant is broken in clang < 7.0.1 with libstdc++ see: llvm/llvm-project#32569
1 parent c09a3a5 commit 58a88a1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,21 +76,21 @@ jobs:
7676
./bin/minetest --run-unittests
7777
7878
# Older clang version (should be close to our minimum supported version)
79-
clang_6_0:
79+
clang_7:
8080
runs-on: ubuntu-20.04
8181
steps:
8282
- uses: actions/checkout@v3
8383
- name: Install deps
8484
run: |
8585
source ./util/ci/common.sh
86-
install_linux_deps clang-6.0 valgrind
86+
install_linux_deps clang-7 valgrind
8787
8888
- name: Build
8989
run: |
9090
./util/ci/build.sh
9191
env:
92-
CC: clang-6.0
93-
CXX: clang++-6.0
92+
CC: clang-7
93+
CXX: clang++-7
9494

9595
- name: Unittest
9696
run: |

doc/compiling/linux.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
| Dependency | Version | Commentary |
66
| ---------- | ------- | ---------- |
7-
| GCC | 7.5+ | or Clang 6.0+ |
7+
| GCC | 7.5+ | or Clang 7.0.1+ |
88
| CMake | 3.5+ | |
99
| IrrlichtMt | - | Custom version of Irrlicht, see https://github.com/minetest/irrlicht |
1010
| Freetype | 2.0+ | |

0 commit comments

Comments
 (0)