File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,15 @@ if(IS_DIRECTORY "${UR_INTREE_SOURCE_DIR}")
7878 set (UNIFIED_RUNTIME_SOURCE_DIR
7979 "${UR_INTREE_SOURCE_DIR} " CACHE PATH
8080 "Path to Unified Runtime Headers" FORCE)
81+ set (UMF_BUILD_EXAMPLES OFF CACHE INTERNAL "EXAMPLES" )
82+ # Due to the use of dependentloadflag and no installer for UMF and hwloc we need
83+ # to link statically on windows
84+ if (WIN32 )
85+ set (UMF_BUILD_SHARED_LIBRARY OFF CACHE INTERNAL "Build UMF shared library" )
86+ set (UMF_LINK_HWLOC_STATICALLY ON CACHE INTERNAL "static HWLOC" )
87+ else ()
88+ set (UMF_DISABLE_HWLOC ${SYCL_UMF_DISABLE_HWLOC} CACHE INTERNAL "Disable hwloc for UMF" )
89+ endif ()
8190 add_subdirectory (${UNIFIED_RUNTIME_SOURCE_DIR} ${UR_INTREE_BINARY_DIR} )
8291elseif (SYCL_UR_USE_FETCH_CONTENT)
8392 include (FetchContent)
You can’t perform that action at this time.
0 commit comments