Skip to content

Commit f4d9ff6

Browse files
committed
feat: support v21 and drop v8
1 parent 9ab671e commit f4d9ff6

File tree

3 files changed

+6
-54
lines changed

3 files changed

+6
-54
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
clang-version: [ 20, 19, 18, 17, 16, 15, 14, 13, 12.0.1, 12, 11, 10, 9, 8]
23+
clang-version: [ 21, 20, 19, 18, 17, 16, 15, 14, 13, 12.0.1, 12, 11, 10, 9]
2424
os: [ linux, macosx, windows ]
2525
include:
26+
- clang-version: 21
27+
release: llvm-project-21.1.0.src
2628
- clang-version: 20
2729
release: llvm-project-20.1.0.src
2830
- clang-version: 19
@@ -51,9 +53,6 @@ jobs:
5153
- clang-version: 9
5254
release: llvm-project-9.0.1
5355
extra-cmake-args: '-DLLVM_ENABLE_Z3_SOLVER=OFF'
54-
- clang-version: 8
55-
release: llvm-project-8.0.1
56-
extra-cmake-args: '-DCLANG_ANALYZER_ENABLE_Z3_SOLVER=OFF'
5756
- os: linux
5857
runner: ubuntu-22.04
5958
os-cmake-args: '-DLLVM_BUILD_STATIC=ON -DCMAKE_CXX_FLAGS="-s -flto" ${POSIX_CMAKE_ARGS} ${LINUX_CMAKE_ARGS}'
@@ -91,14 +90,6 @@ jobs:
9190
# The commit hash of this repository into the clang binaries
9291
shell: bash
9392
run: curl -L https://github.com/${{ github.repository }}/archive/${{ github.ref }}.tar.gz | tar xvz --strip 1
94-
- name: Get llvm-project
95-
if: ${{ matrix.clang-version == 8 }}
96-
shell: bash
97-
run: |
98-
version=${RELEASE##llvm-project-}
99-
curl -LO https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/llvm-${version}.src.tar.xz
100-
curl -LO https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/cfe-${version}.src.tar.xz
101-
curl -LO https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/clang-tools-extra-${version}.src.tar.xz
10293
- name: Get llvm-project
10394
if: ${{ matrix.clang-version >= 9 || matrix.clang-version == '12.0.1' }}
10495
shell: bash
@@ -123,10 +114,6 @@ jobs:
123114
shell: bash
124115
run: |
125116
tar xf ${{ matrix.release }}.tar.xz ${{ matrix.extra-tar-args }}
126-
- name: Patch clang-8 includes
127-
if: ${{ matrix.clang-version == 8 }}
128-
shell: bash
129-
run: patch ${{ matrix.release }}/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h include-cstdint-string-prior-to-using-uint8_t.patch
130117
- name: Patch trivially-copyable clang 9/10
131118
if: ${{ ( matrix.clang-version == 9 || matrix.clang-version == 10 ) && matrix.os == 'windows' }}
132119
shell: bash

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Includes **[clang-format](https://clang.llvm.org/docs/ClangFormat.html), [clang-
99

1010
## Clang Tools Version Support Matrix
1111

12-
| Clang Tools |OS/Version |20|19|18 |17 |16 |15 |14 |13 |12 |11 |10 |9 |8 |
12+
| Clang Tools |OS/Version |21|20|19 |18 |17 |16 |15 |14 |13 |12 |11 |10 |9 |
1313
|:------------|-----------|--|--|---|---|---|---|---|---|---|---|---|---|---|
1414
|clang-format |Linux 64 |✔️|✔️|✔️ |✔️|✔️|✔️ |✔️|✔️ |✔️ |✔️|✔️| ✔️|✔️|
1515
| |Window 64 |✔️|✔️|✔️ |✔️|✔️|✔️ |✔️|✔️ |✔️ |✔️|✔️| ✔️|✔️|
@@ -27,6 +27,8 @@ Includes **[clang-format](https://clang.llvm.org/docs/ClangFormat.html), [clang-
2727
> [!NOTE]
2828
>
2929
> Remove Support v7 (released in May 2019) by February 2025.
30+
>
31+
> Remove Support v8 (released in July 2019) by September 2025.
3032
3133
## Download
3234

include-cstdint-string-prior-to-using-uint8_t.patch

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)