Skip to content
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] Show IGC TAG in run tests #13654

Merged
merged 4 commits into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/sycl-linux-run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,8 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
run: |
if [ "${{ inputs.use_dev_igc }}" = "true" ]; then
sudo apt-get install -yqq libllvm14;
# If libllvm14 is already installed (dev igc docker), still return true.
sudo apt-get install -yqq libllvm14 || true;
fi
sudo -E bash devops/scripts/install_drivers.sh llvm/devops/dependencies.json ${{ inputs.use_dev_igc == 'true' && 'llvm/devops/dependencies-igc-dev.json --use-dev-igc' || '' }} --all
- name: Source OneAPI TBB vars.sh
Expand Down Expand Up @@ -261,6 +262,10 @@ jobs:
- run: which clang++ sycl-ls
- run: sycl-ls --verbose
- run: SYCL_PI_TRACE=-1 sycl-ls
- run: |
if [ -f /usr/local/lib/igc/IGCTAG.txt ]; then
cat /usr/local/lib/igc/IGCTAG.txt
fi

- name: Deduce E2E CMake options
if: inputs.tests_selector == 'e2e'
Expand Down
8 changes: 4 additions & 4 deletions devops/dependencies-igc-dev.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"linux": {
"igc_dev": {
"github_tag": "igc-dev-41e87ac",
"version": "41e87ac",
"updated_at": "2024-05-02T11:47:42Z",
"url": "https://api.github.com/repos/intel/intel-graphics-compiler/actions/artifacts/1466894014/zip",
"github_tag": "igc-dev-b906329",
"version": "b906329",
"updated_at": "2024-05-04T22:39:56Z",
"url": "https://api.github.com/repos/intel/intel-graphics-compiler/actions/artifacts/1473544965/zip",
"root": "{DEPS_ROOT}/opencl/runtime/linux/oclgpu"
}
}
Expand Down
2 changes: 2 additions & 0 deletions devops/scripts/install_drivers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ InstallIGFX () {
| wget -qi -
dpkg -i *.deb && rm *.deb *.sum
IS_IGC_DEV=$(CheckIGCdevTag $IGCTAG)
echo "$IGC_TAG" > /usr/local/lib/igc/IGCTAG.txt
if [ "$IS_IGC_DEV" == "Yes" ]; then
# Dev IGC deb package did not include libopencl-clang
# opencl-clang repo does not provide release deb package either.
Expand All @@ -148,6 +149,7 @@ InstallIGFX () {
cp -d libopencl-clang.so.14* /usr/local/lib/
echo "Clean up"
rm *.deb libopencl-clang.so.14*
echo "$IGC_DEV_TAG" > /usr/local/lib/igc/IGCTAG.txt
fi
}

Expand Down