Skip to content

Commit ad8b7d4

Browse files
[SYCL] Do not install L0 loader (#9166)
Currently the L0 loader version, if being installed/used, clashes with L0 validation and L0 GPU driver components already coming from the system. So, do the same for L0 loader. --------- Signed-off-by: Sergey V Maslov <[email protected]> Signed-off-by: smaslov <[email protected]>
1 parent 757e4a7 commit ad8b7d4

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

devops/actions/e2e-tests-win/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ runs:
3030
run: |
3131
mkdir build-e2e
3232
set PATH=%GITHUB_WORKSPACE%\install\bin;%PATH%
33-
cmake -GNinja -B build-e2e -S.\llvm\sycl\test-e2e -DSYCL_TEST_E2E_TARGETS="${{ inputs.targets }}" -DCMAKE_CXX_COMPILER="clang++" -DLLVM_LIT="..\llvm\llvm\utils\lit\lit.py" ${{ inputs.cmake_args }}
33+
cmake -GNinja -B build-e2e -S.\llvm\sycl\test-e2e -DSYCL_TEST_E2E_TARGETS="${{ inputs.targets }}" -DCMAKE_CXX_COMPILER="clang++" -DLEVEL_ZERO_LIBS_DIR="D:\github\level-zero_win-sdk\lib" -DLLVM_LIT="..\llvm\llvm\utils\lit\lit.py" ${{ inputs.cmake_args }}
3434
- name: Run testing
3535
shell: bash
3636
run: |

sycl/plugins/level_zero/CMakeLists.txt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -140,15 +140,10 @@ add_sycl_plugin(level_zero
140140
${XPTI_LIBS}
141141
)
142142

143-
#FIXME: We should stop shipping level zero loader and headers as part of the
143+
#FIXME: We should stop shipping level zero headers as part of the
144144
# toolchain installation. Instead these should be avaialble in the system.
145145
# We keep shipping it until all environments are updated.
146146
if (TARGET ze_loader)
147-
install(TARGETS ze_loader
148-
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT level-zero-sycl-dev
149-
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT level-zero-sycl-dev
150-
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT level-zero-sycl-dev
151-
)
152147
file(GLOB LEVEL_ZERO_API_HEADERS "${LEVEL_ZERO_INCLUDE_DIR}/*.h")
153148
install(FILES ${LEVEL_ZERO_API_HEADERS}
154149
DESTINATION ${CMAKE_INSTALL_PREFIX}/include/sycl/level_zero/

0 commit comments

Comments
 (0)