Skip to content

Commit 5d042e7

Browse files
committed
Add clangd to binary releases
- Enable clang-tools-extra project to build clangd - Install clangd alongside clang in release binaries - Update release notes to mention clangd inclusion - Both Linux and macOS builds now include clangd for IDE integration
1 parent 2935fda commit 5d042e7

File tree

1 file changed

+20
-10
lines changed

1 file changed

+20
-10
lines changed

.github/workflows/build-clang.yml

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,23 @@ jobs:
2525
cd build
2626
cmake -G Ninja \
2727
-DCMAKE_BUILD_TYPE=Release \
28-
-DLLVM_ENABLE_PROJECTS="clang" \
28+
-DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra" \
2929
-DLLVM_TARGETS_TO_BUILD="X86" \
3030
-DLLVM_ENABLE_ASSERTIONS=OFF \
3131
-DCMAKE_INSTALL_PREFIX=../install \
3232
../llvm
3333
34-
- name: Build Clang
34+
- name: Build Clang and clangd
3535
run: |
3636
cd build
37-
ninja clang
37+
ninja clang clangd
3838
39-
- name: Install Clang
39+
- name: Install Clang and clangd
4040
run: |
4141
cd build
4242
ninja install-clang
4343
ninja install-clang-headers
44+
ninja install-clangd
4445
4546
- name: Package binaries
4647
run: |
@@ -60,7 +61,11 @@ jobs:
6061
body: |
6162
## Null-Safe Clang Binary Release
6263
63-
This release contains the Null-Safe Clang compiler for Linux x86_64.
64+
This release contains the Null-Safe Clang compiler and clangd language server for Linux x86_64.
65+
66+
### What's included:
67+
- `clang` - The Null-Safe C compiler
68+
- `clangd` - Language server for IDE integration (VSCode, vim, etc.)
6469
6570
### Installation:
6671
```bash
@@ -102,22 +107,23 @@ jobs:
102107
cd build
103108
cmake -G Ninja \
104109
-DCMAKE_BUILD_TYPE=Release \
105-
-DLLVM_ENABLE_PROJECTS="clang" \
110+
-DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra" \
106111
-DLLVM_TARGETS_TO_BUILD="AArch64;X86" \
107112
-DLLVM_ENABLE_ASSERTIONS=OFF \
108113
-DCMAKE_INSTALL_PREFIX=../install \
109114
../llvm
110115
111-
- name: Build Clang
116+
- name: Build Clang and clangd
112117
run: |
113118
cd build
114-
ninja clang
119+
ninja clang clangd
115120
116-
- name: Install Clang
121+
- name: Install Clang and clangd
117122
run: |
118123
cd build
119124
ninja install-clang
120125
ninja install-clang-headers
126+
ninja install-clangd
121127
122128
- name: Package binaries
123129
run: |
@@ -137,7 +143,11 @@ jobs:
137143
body: |
138144
## Null-Safe Clang Binary Release (macOS)
139145
140-
This release contains the Null-Safe Clang compiler for macOS (Intel and Apple Silicon).
146+
This release contains the Null-Safe Clang compiler and clangd language server for macOS (Intel and Apple Silicon).
147+
148+
### What's included:
149+
- `clang` - The Null-Safe C compiler
150+
- `clangd` - Language server for IDE integration (VSCode, vim, etc.)
141151
142152
### Installation:
143153
```bash

0 commit comments

Comments
 (0)