From 0a259f33df1011f655a0c4d174d685a06e6ccca2 Mon Sep 17 00:00:00 2001 From: Igor Chorazewicz Date: Fri, 10 May 2024 17:05:04 +0000 Subject: [PATCH] Disable building UMF tests and examples as they require extra depndencies (libnuma) --- source/common/CMakeLists.txt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/source/common/CMakeLists.txt b/source/common/CMakeLists.txt index 726ffaadff..2459bbd86a 100644 --- a/source/common/CMakeLists.txt +++ b/source/common/CMakeLists.txt @@ -35,11 +35,8 @@ FetchContent_Declare(unified-memory-framework GIT_TAG ${UMF_TAG} ) -if(UR_BUILD_TESTS) - set(UMF_BUILD_TESTS ON CACHE INTERNAL "Build UMF tests") -else() - set(UMF_BUILD_TESTS OFF CACHE INTERNAL "Build UMF tests") -endif() +set(UMF_BUILD_TESTS OFF CACHE INTERNAL "Build UMF tests") +set(UMF_BUILD_EXAMPLES OFF CACHE INTERNAL "Build UMF examples") # TODO: L0 provider not ready yet set(UMF_BUILD_LEVEL_ZERO_PROVIDER OFF CACHE INTERNAL "Build Level Zero Provider") set(UMF_BUILD_SHARED_LIBRARY ${UMF_BUILD_SHARED_LIBRARY} CACHE INTERNAL "Build UMF shared library")