From bde0016163acd6c6ba4891b076b2498fc8621d1a Mon Sep 17 00:00:00 2001 From: Isaac Ault Date: Thu, 12 Dec 2024 16:08:26 +0000 Subject: [PATCH] WIP: Update CI to newer DPC++. --- .github/workflows/multi_device.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/multi_device.yml b/.github/workflows/multi_device.yml index 2abc32cb1e..fc6180a0ff 100644 --- a/.github/workflows/multi_device.yml +++ b/.github/workflows/multi_device.yml @@ -33,9 +33,10 @@ jobs: - name: Download DPC++ run: | - wget -O ${{github.workspace}}/dpcpp_compiler.tar.gz https://github.com/intel/llvm/releases/download/nightly-2024-01-29/sycl_linux.tar.gz + wget -O ${{github.workspace}}/dpcpp_compiler.tar.gz https://github.com/intel/llvm/releases/download/nightly-2024-12-12/sycl_linux.tar.gz mkdir dpcpp_compiler tar -xvf ${{github.workspace}}/dpcpp_compiler.tar.gz -C dpcpp_compiler + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${{github.workspace}}/build/lib - name: Configure CMake shell: bash -el {0} @@ -54,12 +55,12 @@ jobs: -DUR_SYCL_LIBRARY_DIR=${{github.workspace}}/dpcpp_compiler/lib - name: Build - run: cmake --build ${{github.workspace}}/build -j $(nproc) + run: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${{github.workspace}}/build/lib cmake --build ${{github.workspace}}/build -j $(nproc) - name: Test adapter specific working-directory: ${{github.workspace}}/build - run: ctest -C ${{matrix.build_type}} --output-on-failure -L "adapter-specific" --timeout 180 + run: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${{github.workspace}}/build/lib ctest -C ${{matrix.build_type}} --output-on-failure -L "adapter-specific" --timeout 180 - name: Test adapters working-directory: ${{github.workspace}}/build - run: env UR_CTS_ADAPTER_PLATFORM="${{matrix.adapter.platform}}" ctest -C ${{matrix.build_type}} --output-on-failure -L "conformance" -E "exp_command_buffer" --timeout 180 + run: env UR_CTS_ADAPTER_PLATFORM="${{matrix.adapter.platform}}" LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${{github.workspace}}/build/lib ctest -C ${{matrix.build_type}} --output-on-failure -L "conformance" -E "exp_command_buffer" --timeout 180