Skip to content

Commit

Permalink
[CI] Install spirv-tools on Linux docker containers (#16724)
Browse files Browse the repository at this point in the history
This is intended to improve test coverage as some `llvm-spirv` tests
require `spirv-tools` to execute.
  • Loading branch information
uditagarwal97 authored Jan 22, 2025
1 parent 745423b commit 34ef866
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions devops/scripts/install_build_tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,11 @@ apt update && apt install -yqq \
libhwloc-dev \
libzstd-dev \
time

# To obtain latest release of spriv-tool.
# Same as what's done in SPRIV-LLVM-TRANSLATOR:
# https://github.com/KhronosGroup/SPIRV-LLVM-Translator/blob/cec12d6cf46306d0a015e883d5adb5a8200df1c0/.github/workflows/check-out-of-tree-build.yml#L59
. /etc/os-release
curl -L "https://packages.lunarg.com/lunarg-signing-key-pub.asc" | apt-key add -
echo "deb https://packages.lunarg.com/vulkan $VERSION_CODENAME main" | tee -a /etc/apt/sources.list
apt update && apt install -yqq spirv-tools

0 comments on commit 34ef866

Please sign in to comment.