File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -196,15 +196,15 @@ jobs:
196196 image : ghcr.io/intel/llvm/sycl_prebuilt_tests:sycl-rel-6_2
197197 target_devices : level_zero:gpu
198198 extra_lit_opts : ' --param test-preview-mode=False --filter-out "${{ needs.compat_read_exclude.outputs.FILTER_6_2 }}"'
199+ extra_cmake_args : -DUR_FORCE_FETCH_LEVEL_ZERO=ON
199200 binaries_artifact : ' in-container'
200- skip_run : true
201201 - name : ABI compatibility / sycl-rel-6_3
202202 runner : ' ["Linux", "pvc"]'
203203 image : ghcr.io/intel/llvm/sycl_prebuilt_tests:sycl-rel-6_3
204204 target_devices : level_zero:gpu
205205 extra_lit_opts : ' --param test-preview-mode=False --filter-out "${{ needs.compat_read_exclude.outputs.FILTER_6_3 }}"'
206+ extra_cmake_args : -DUR_FORCE_FETCH_LEVEL_ZERO=ON
206207 binaries_artifact : ' in-container'
207- skip_run : true
208208
209209 uses : ./.github/workflows/sycl-linux-run-tests.yml
210210 with :
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ option(UR_BUILD_XPTI_LIBS "Build the XPTI libraries when tracing is enabled" ON)
5656option (UR_STATIC_LOADER "Build loader as a static library" OFF )
5757option (UR_FORCE_LIBSTDCXX "Force use of libstdc++ in a build using libc++ on Linux" OFF )
5858option (UR_ENABLE_LATENCY_HISTOGRAM "Enable latncy histogram" OFF )
59+ option (UR_FORCE_FETCH_LEVEL_ZERO "Force fetching Level Zero even if preinstalled loader is found" OFF )
5960set (UR_EXTERNAL_DEPENDENCIES "" CACHE STRING
6061 "List of external CMake targets for executables/libraries to depend on" )
6162set (UR_DPCXX "" CACHE FILEPATH "Path of the DPC++ compiler executable" )
Original file line number Diff line number Diff line change 3232 endif ()
3333endif ()
3434
35- if (NOT LEVEL_ZERO_LIB_NAME AND NOT LEVEL_ZERO_LIBRARY)
35+ if (( NOT LEVEL_ZERO_LIB_NAME AND NOT LEVEL_ZERO_LIBRARY) OR UR_FORCE_FETCH_LEVEL_ZERO )
3636 message (STATUS "Level Zero Adapter: Download Level Zero loader and headers from github.com" )
3737
3838 # Workaround warnings/errors for Level Zero build
You can’t perform that action at this time.
0 commit comments