File tree 1 file changed +9
-0
lines changed
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}")
78
78
set (UNIFIED_RUNTIME_SOURCE_DIR
79
79
"${UR_INTREE_SOURCE_DIR} " CACHE PATH
80
80
"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 ()
81
90
add_subdirectory (${UNIFIED_RUNTIME_SOURCE_DIR} ${UR_INTREE_BINARY_DIR} )
82
91
elseif (SYCL_UR_USE_FETCH_CONTENT)
83
92
include (FetchContent)
You can’t perform that action at this time.
0 commit comments