From 7770f61c8fd3416f0d56519d4c8164cef4ba9ad3 Mon Sep 17 00:00:00 2001 From: Finlay Marno Date: Thu, 28 Nov 2024 14:40:39 +0000 Subject: [PATCH] disconnect onemkl project update --- cmake/onemkl.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/onemkl.cmake b/cmake/onemkl.cmake index 226fa2a6d..119c47325 100644 --- a/cmake/onemkl.cmake +++ b/cmake/onemkl.cmake @@ -30,6 +30,8 @@ include_guard() include(ExternalProject) +option(CUTLASS_SYCL_DISCONNECT_ONEMKL_UPDATE "Option is passed to the UPDATE_DISCONNECTED parameter of ExternalProject_Add for onemkl" YES) + set(ONEMKL_INSTALL_DIR ${CMAKE_BINARY_DIR}/deps/oneMKL) set(ONEMKL_INCLUDE_DIR ${ONEMKL_INSTALL_DIR}/include) set(ONEMKL_LIB_DIR ${ONEMKL_INSTALL_DIR}/lib) @@ -57,6 +59,7 @@ ExternalProject_Add( -DTARGET_DOMAINS=rng INSTALL_DIR ${ONEMKL_INSTALL_DIR} BUILD_BYPRODUCTS ${ONEMKL_LIB} + UPDATE_DISCONNECTED ${CUTLASS_SYCL_DISCONNECT_ONEMKL_UPDATE} ) add_library(oneMKL SHARED IMPORTED)