Skip to content

Commit 34ef866

Browse files
[CI] Install spirv-tools on Linux docker containers (intel#16724)
This is intended to improve test coverage as some `llvm-spirv` tests require `spirv-tools` to execute.
1 parent 745423b commit 34ef866

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

devops/scripts/install_build_tools.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,11 @@ apt update && apt install -yqq \
2626
libhwloc-dev \
2727
libzstd-dev \
2828
time
29+
30+
# To obtain latest release of spriv-tool.
31+
# Same as what's done in SPRIV-LLVM-TRANSLATOR:
32+
# https://github.com/KhronosGroup/SPIRV-LLVM-Translator/blob/cec12d6cf46306d0a015e883d5adb5a8200df1c0/.github/workflows/check-out-of-tree-build.yml#L59
33+
. /etc/os-release
34+
curl -L "https://packages.lunarg.com/lunarg-signing-key-pub.asc" | apt-key add -
35+
echo "deb https://packages.lunarg.com/vulkan $VERSION_CODENAME main" | tee -a /etc/apt/sources.list
36+
apt update && apt install -yqq spirv-tools

0 commit comments

Comments
 (0)