Skip to content

Commit

Permalink
[SYCL][L0] Uplift level-zero loader from v1.2.3 to v1.4.1 (#4052)
Browse files Browse the repository at this point in the history
  • Loading branch information
yanfeng3721 committed Jul 8, 2021
1 parent 4fc5ebe commit 1d7e6a6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sycl/plugins/level_zero/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,15 @@ if (NOT DEFINED LEVEL_ZERO_LIBRARY OR NOT DEFINED LEVEL_ZERO_INCLUDE_DIR)
if (NOT DEFINED SYCL_EP_LEVEL_ZERO_LOADER_SKIP_AUTO_UPDATE)
set(SYCL_EP_LEVEL_ZERO_LOADER_SKIP_AUTO_UPDATE ${SYCL_EXTERNAL_PROJECTS_SKIP_AUTO_UPDATE})
endif()
if (WIN32)
set(LEVEL_ZERO_LOADER_SOURCE_VERSION v1.2.3)
else()
set(LEVEL_ZERO_LOADER_SOURCE_VERSION v1.4.1)
endif()

#TODO: Replace ExternalProject with FetchContent for better maintainance and
# cmake files simplification
include(ExternalProject)
set(LEVEL_ZERO_LOADER_SOURCE_VERSION v1.2.3)
ExternalProject_Add(level-zero-loader
GIT_REPOSITORY https://github.com/oneapi-src/level-zero.git
GIT_TAG ${LEVEL_ZERO_LOADER_SOURCE_VERSION}
Expand Down

0 comments on commit 1d7e6a6

Please sign in to comment.