Skip to content

Conversation

uditagarwal97
Copy link
Contributor

@uditagarwal97 uditagarwal97 commented Jan 21, 2025

This is intended to improve test coverage as some llvm-spirv tests require spirv-tools to execute.

This is intended to improve test coverage as some `llvm-spriv` tests require `spirv-tools` to execute.
@uditagarwal97 uditagarwal97 self-assigned this Jan 21, 2025
@uditagarwal97 uditagarwal97 changed the title [CI] Install spriv-tools on Linux docker containers [CI] Install spirv-tools on Linux docker containers Jan 21, 2025
Copy link
Contributor

@sarnex sarnex left a 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
Copy link
Contributor

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

@uditagarwal97
Copy link
Contributor Author

@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.

@uditagarwal97
Copy link
Contributor Author

IGC dev CI container build failure is unrelated.

@sarnex sarnex merged commit 34ef866 into sycl Jan 22, 2025
34 of 36 checks passed
@aelovikov-intel aelovikov-intel deleted the sycl-devops-pr/udit/spriv-tools branch January 22, 2025 19:11
uditagarwal97 added a commit that referenced this pull request Jan 22, 2025
sarnex pushed a commit that referenced this pull request Jan 23, 2025
#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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants