Skip to content

Commit 49dd7c3

Browse files
kkreczkoigcbot
authored andcommitted
Aligned LLVM version in verification builds with current production.
1 parent 0bf0367 commit 49dd7c3

File tree

2 files changed

+22
-17
lines changed

2 files changed

+22
-17
lines changed

.github/workflows/build-IGC.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
fail-fast: false
8181
matrix:
8282
ubuntu_version: [ '24.04' ]
83-
llvm_ver: [ 14, 15, 16 ]
83+
llvm_ver: [ 15 ]
8484

8585
steps:
8686
- uses: actions/checkout@v3
@@ -127,7 +127,7 @@ jobs:
127127
fail-fast: false
128128
matrix:
129129
ubuntu_version: [ '24.04' ]
130-
llvm_ver: [ 14, 15, 16 ]
130+
llvm_ver: [ 15 ]
131131
compiler: [ gcc, clang ]
132132
steps:
133133
- uses: actions/checkout@v3

documentation/build_ubuntu.md

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Also, depending on the Ubuntu release, SPIRV-LLVM-Translator available through a
4343
For **LLVM**, **LLD** and **Clang** packages please visit this [link](https://apt.llvm.org/) to download and install desired version.
4444
For `apt` package manager you can use this command:
4545
```shell
46-
$ sudo apt-get install llvm-11 llvm-11-dev clang-11 liblld-11 liblld-11-dev libllvmspirvlib11 libllvmspirvlib-dev
46+
$ sudo apt-get install llvm-15 llvm-15-dev clang-15 liblld-15 liblld-15-dev libllvmspirvlib15 libllvmspirvlib-15-dev
4747
```
4848
As of now **OpenCL Clang** is still needed to be built and installed manually. Sources are available [here](https://github.com/intel/opencl-clang). You can use out-of-tree build method with LLVM and Clang preinstalled.
4949
**VC Intrinsics** is a lightweight library that is built from sources with IGC and there is no package for it.
@@ -72,13 +72,13 @@ You can use following commands for setup:
7272
```shell
7373
$ cd <workspace>
7474
$ git clone https://github.com/intel/vc-intrinsics vc-intrinsics
75-
$ git clone -b llvmorg-14.0.5 https://github.com/llvm/llvm-project llvm-project
76-
$ git clone -b ocl-open-140 https://github.com/intel/opencl-clang llvm-project/llvm/projects/opencl-clang
77-
$ git clone -b llvm_release_140 https://github.com/KhronosGroup/SPIRV-LLVM-Translator llvm-project/llvm/projects/llvm-spirv
75+
$ git clone -b llvmorg-15.0.7 https://github.com/llvm/llvm-project llvm-project
76+
$ git clone -b ocl-open-150 https://github.com/intel/opencl-clang llvm-project/llvm/projects/opencl-clang
77+
$ git clone -b llvm_release_150 https://github.com/KhronosGroup/SPIRV-LLVM-Translator llvm-project/llvm/projects/llvm-spirv
7878
$ git clone https://github.com/KhronosGroup/SPIRV-Tools.git SPIRV-Tools
7979
$ git clone https://github.com/KhronosGroup/SPIRV-Headers.git SPIRV-Headers
8080
```
81-
These commands will set up a workspace with LLVM 14. If you wish to use any other version please refer to the [component revision table](#Revision-table)
81+
These commands will set up a workspace with LLVM 15. If you wish to use any other version please refer to the [component revision table](#Revision-table)
8282

8383
Correct directory tree looks like this:
8484
```
@@ -100,7 +100,7 @@ There are several flags for these builds modes that you can pass to
100100
cmake command.
101101

102102
- `IGC_OPTION__LLVM_PREFERRED_VERSION` -- sets version of LLVM that
103-
will be used by IGC (defaults to "14.0.5").
103+
will be used by IGC (defaults to "15.0.7").
104104
- `IGC_OPTION__LLVM_MODE` -- select LLVM mode for IGC to use. Possible
105105
values are: **Source**, **Prebuilds** or empty (that is
106106
default). **Source** mode uses LLVM sources to build LLVM in-tree with
@@ -173,9 +173,9 @@ Also note that these tests require **Debug** IGC build.
173173

174174
| Version | Product quality |
175175
|:----------------:|-----------------|
176-
| LLVM 15 | Experimental |
177-
| LLVM 14 | **Production** |
178-
| LLVM 12 and older | Experimental |
176+
| LLVM 16 | Experimental |
177+
| LLVM 15 | **Production** |
178+
| LLVM 14 and older| Experimental |
179179

180180
| Terminology | Description |
181181
|-------------------|-|
@@ -187,14 +187,14 @@ Also note that these tests require **Debug** IGC build.
187187
LLVM version determines what branches are used when building dependencies.
188188
When checking out the components refer to the following table, replace **XX** with the LLVM version used:
189189

190-
| Repository name | Version specific | Branch | LLVM 14 example |
190+
| Repository name | Version specific | Branch | LLVM 15 example |
191191
|-----------------------|:----------------:|----------------------|------------------|
192-
| llvm-project | - | release/**XX**.x | release/14.x |
192+
| llvm-project | - | release/**XX**.x | release/15.x |
193193
| vc-intrinsics | no | master | master |
194194
| SPIRV-Tools | no | master | master |
195195
| SPIRV-Headers | no | master | master |
196-
| SPIRV-LLVM-Translator | yes | llvm_release_**XX**0 | llvm_release_140 |
197-
| opencl-clang | yes | ocl-open-**XX**0 | ocl-open-140 |
196+
| SPIRV-LLVM-Translator | yes | llvm_release_**XX**0 | llvm_release_150 |
197+
| opencl-clang | yes | ocl-open-**XX**0 | ocl-open-150 |
198198

199199
### LLVM/LLD/Clang version specific caveats
200200

@@ -230,9 +230,14 @@ There are no LLVM12-13/Clang12-13 conformance/performance guarantees.
230230

231231
#### LLVM14/Clang14
232232

233-
No additional steps are needed.
233+
**Experimental**
234+
There are no LLVM14/Clang14 conformance/performance guarantees.
234235

235236
#### LLVM15/Clang15
236237

238+
No additional steps are needed.
239+
240+
#### LLVM16/Clang16
241+
237242
**Experimental**
238-
There are no LLVM15/Clang15 conformance/performance guarantees.
243+
There are no LLVM16/Clang16 conformance/performance guarantees.

0 commit comments

Comments
 (0)