-
Notifications
You must be signed in to change notification settings - Fork 752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI] Install spirv-tools
on Linux docker containers
#16724
Conversation
This is intended to improve test coverage as some `llvm-spriv` tests require `spirv-tools` to execute.
spriv-tools
on Linux docker containersspirv-tools
on Linux docker containers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm just a nit
# 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" | sudo tee -a /etc/apt/sources.list |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can probably remove sudo
after the |
because all the other commands assume current user is root
@intel/llvm-gatekeepers I think we are good to merge this - the on-going/pending checks can be ignored as the change is in docker container only. |
IGC dev CI container build failure is unrelated. |
This reverts commit 34ef866.
#16724 installed `spirv-tools` on Linux docker containers and now some llvm-spirv tests are failing due to this (example: https://github.com/intel/llvm/actions/runs/12915358763/job/36017038536). In this PR, we disable detection of `spirv-tools` LIT feature temporarily in CI to fix post-commit. --------- Co-authored-by: Marcos Maronas <[email protected]>
This is intended to improve test coverage as some
llvm-spirv
tests requirespirv-tools
to execute.