From d70faa81142ca6969a29789a66a2227d244f0f61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Stolarczuk?= Date: Fri, 9 May 2025 16:21:19 +0200 Subject: [PATCH] [CMake] Warn about UMF_DISABLE_HWLOC being deprecated Ref. https://github.com/oneapi-src/unified-memory-framework/pull/1228 --- CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4a2249bee..ee97c38f9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -119,6 +119,13 @@ set_property(CACHE UMF_PROXY_LIB_BASED_ON_POOL PROPERTY STRINGS ${KNOWN_PROXY_LIB_POOLS}) list(APPEND UMF_OPTIONS_LIST UMF_PROXY_LIB_BASED_ON_POOL) +if(UMF_DISABLE_HWLOC) + message( + WARNING + "UMF_DISABLE_HWLOC option is now deprecated and will be removed in v0.12.0 UMF release!" + ) +endif() + # --------------------------------------------------------------------------- # # Setup required variables, definitions; fetch dependencies; include # sub_directories based on build options; set flags; etc.