Skip to content

Commit 548a221

Browse files
authored
[UR] Enable hwloc in UMF linux build (#15261)
~~Update UR to statically link UMF with hwloc on Linux.~~ This will enable hwloc support in UMF on Linux. ~~Also, always use the v2.9.3 hwloc version for hwloc builds.~~
1 parent b659fd9 commit 548a221

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

sycl/cmake/modules/FetchUnifiedRuntime.cmake

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ option(SYCL_UR_USE_FETCH_CONTENT
2323
set(SYCL_UR_SOURCE_DIR
2424
"" CACHE PATH "Path to root of Unified Runtime repository")
2525

26-
option(SYCL_UMF_DISABLE_HWLOC
27-
"Disable hwloc support in UMF" ON)
28-
2926
# Here we override the defaults to disable building tests from unified-runtime
3027
set(UR_BUILD_EXAMPLES OFF CACHE BOOL "Build example applications." FORCE)
3128
set(UR_BUILD_TESTS OFF CACHE BOOL "Build unit tests." FORCE)
@@ -149,8 +146,6 @@ elseif(SYCL_UR_USE_FETCH_CONTENT)
149146
if(WIN32)
150147
set(UMF_BUILD_SHARED_LIBRARY OFF CACHE INTERNAL "Build UMF shared library")
151148
set(UMF_LINK_HWLOC_STATICALLY ON CACHE INTERNAL "static HWLOC")
152-
else()
153-
set(UMF_DISABLE_HWLOC ${SYCL_UMF_DISABLE_HWLOC} CACHE INTERNAL "Disable hwloc for UMF")
154149
endif()
155150

156151
fetch_adapter_source(level_zero

0 commit comments

Comments
 (0)