From 1d7e6a62eac51a027e69efae4cb194c7a4b37e58 Mon Sep 17 00:00:00 2001 From: "Yanfeng, Xiao" Date: Fri, 9 Jul 2021 00:24:41 +0800 Subject: [PATCH] [SYCL][L0] Uplift level-zero loader from v1.2.3 to v1.4.1 (#4052) --- sycl/plugins/level_zero/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sycl/plugins/level_zero/CMakeLists.txt b/sycl/plugins/level_zero/CMakeLists.txt index 3fd52ad68c96a..52f205f1abb81 100755 --- a/sycl/plugins/level_zero/CMakeLists.txt +++ b/sycl/plugins/level_zero/CMakeLists.txt @@ -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}