Skip to content

Commit

Permalink
[CI] Install pkg-config in docker container (#16797)
Browse files Browse the repository at this point in the history
`pkg-config` is required for `llvm-spirv` to detect `spirv-tools`
installation.
See #16743 (comment) for
more info.
  • Loading branch information
uditagarwal97 authored Jan 27, 2025
1 parent 367f355 commit 566f514
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion devops/scripts/install_build_tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ apt update && apt install -yqq \
# 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
# pkg-config is required for llvm-spriv to detect spriv-tools installation.
. /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
apt update && apt install -yqq spirv-tools pkg-config

0 comments on commit 566f514

Please sign in to comment.