Skip to content

Commit 0a2dbb5

Browse files
Artem Gindinsonigcbot
Artem Gindinson
authored andcommitted
Add LLVM 14 build to GitHub Actions CI
Now that we are API-compatible with LLVM 14, update the CI workflow and the documentation accordingly.
1 parent 1390d57 commit 0a2dbb5

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.github/workflows/build-IGC.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ jobs:
5858
- ubuntu_version: '22.04'
5959
llvm_ver: 13
6060
experimental: true
61+
- ubuntu_version: '22.04'
62+
llvm_ver: 14
63+
experimental: true
6164
steps:
6265
- uses: actions/checkout@v2
6366
- name: cloning SPIRV-LLVM-Translator repository
@@ -123,6 +126,10 @@ jobs:
123126
llvm_ver: 13
124127
compiler: gcc
125128
experimental: true
129+
- ubuntu_version: '22.04'
130+
llvm_ver: 14
131+
compiler: gcc
132+
experimental: true
126133
steps:
127134
- uses: actions/checkout@v2
128135

documentation/build_ubuntu.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Installing LLVM, Clang, and OpenCL Clang components means you no longer have to
5050
|- SPIRV-Tools https://github.com/KhronosGroup/SPIRV-Tools
5151
|- SPIRV-Headers https://github.com/KhronosGroup/SPIRV-Headers
5252
```
53-
Additionaly, you can use **SPIRV-Tools** prebuild pacakge. In order to do that be sure to pass to cmake command `IGC_OPTION__SPIRV_TOOLS_MODE=Prebuilds`. Until the issue
53+
Additionaly, you can use **SPIRV-Tools** prebuild pacakge. In order to do that be sure to pass to cmake command `IGC_OPTION__SPIRV_TOOLS_MODE=Prebuilds`. Until the issue
5454
https://github.com/KhronosGroup/SPIRV-Tools/issues/3909 will not be resolved, we support only SPIRV_Tools as a shared lib, and we encourage to build SPIRV-Tools prebuild with SPIRV_TOOLS_BUILD_STATIC=OFF flag.
5555

5656
Additionaly, OpenCL Clang and Vector Compiler share the library Spirv Translator. Cannot build llvm-spirv translator if OpenCL-Clang is taken as prebuilt from system. This can lead to problems with linking.
@@ -154,7 +154,7 @@ $ sudo make install
154154

155155
| Version | Product quality |
156156
|:----------------:|-----------------|
157-
| LLVM 12 | Experimental |
157+
| LLVM 12-14 | Experimental |
158158
| LLVM 11 | **Production** |
159159
| LLVM 10 and older | Experimental |
160160

@@ -209,7 +209,7 @@ No additional steps are needed.
209209

210210
No additional steps are needed.
211211

212-
#### LLVM12/Clang12
212+
#### LLVM12/Clang12 to LLVM14/Clang14
213213

214214
**Experimental**
215-
Currently there are none LLVM12/Clang12 conformance/performance guarantees.
215+
Currently there are none LLVM12+/Clang12+ conformance/performance guarantees.

0 commit comments

Comments
 (0)