Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .github/workflows/ur-build-hw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,17 @@

steps:
# TODO:
# - investigate if DUR_CONFORMANCE_AMD_ARCH could be removed
# - switch to Ninja generator in CMake
# - downloading DPC++ should be integrated somehow; most likely use nightly release.
#
- name: Checkout LLVM
- name: Sparse checkout UR and devops
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
sparse-checkout: |
unified-runtime
devops

# for some reason it's required to re-configure python for venv to work properly.

Check warning

Code scanning / zizmor

credential persistence through GitHub Actions artifacts Warning

credential persistence through GitHub Actions artifacts
- name: Set up Python 3.12
if: ${{ inputs.docker_image == 'ghcr.io/intel/llvm/ubuntu2404_intel_drivers:latest' }}
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.0.0
Expand Down Expand Up @@ -144,7 +147,7 @@
env:
GITHUB_TOKEN: ${{ github.token }}
run: |
sudo -E bash devops/scripts/install_drivers.sh devops/dependencies.json --igfx
sudo -E bash devops/scripts/install_drivers.sh devops/dependencies.json --igfx

- name: Configure Unified Runtime project
# ">" is used to avoid adding "\" at the end of each line; this command is quite long
Expand All @@ -165,8 +168,6 @@
-DUR_DPCXX=./dpcpp_compiler/bin/clang++
-DUR_SYCL_LIBRARY_DIR=./dpcpp_compiler/lib
-DCMAKE_INSTALL_PREFIX=./install
${{ matrix.adapter.name == 'HIP' && '-DUR_CONFORMANCE_AMD_ARCH=gfx1030' || '' }}
${{ matrix.adapter.name == 'HIP' && '-DUR_HIP_PLATFORM=AMD' || '' }}

- name: Build
# This is so that device binaries can find the sycl runtime library
Expand All @@ -180,8 +181,6 @@
env:
ZE_ENABLE_LOADER_DEBUG_TRACE: 1
LIT_OPTS: "--timeout 120 -j 50"
# These tests cause timeouts on CI
LIT_FILTER_OUT: "(adapters/level_zero/memcheck.test|adapters/level_zero/v2/deferred_kernel_memcheck.test)"
run: cmake --build build -j $(($(nproc)/3)) -- check-unified-runtime-adapter
# Don't run adapter specific tests when building multiple adapters
if: ${{ matrix.adapter.other_name == '' }}
Expand Down
Loading