From 8b3230750776043f0e78e5adb60e8130580591a8 Mon Sep 17 00:00:00 2001 From: Jan Vorlicek Date: Fri, 6 Oct 2017 16:35:26 +0200 Subject: [PATCH] Remove explicit dependency on libnuma (#14359) Currently, when coreclr is built on machine that has libnuma installed, it adds libnuma to its dependencies and so it cannot be used on machines that don't have libnuma installed. But that is not necessary, the dependency was changed to soft dependency - PAL loads it only if it is present and falls back to the non-numa behavior if it is not found. This change removes the hard libnuma dependency. --- src/pal/src/CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/pal/src/CMakeLists.txt b/src/pal/src/CMakeLists.txt index 370866c..3bfc348 100644 --- a/src/pal/src/CMakeLists.txt +++ b/src/pal/src/CMakeLists.txt @@ -372,12 +372,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL NetBSD) ) endif(CMAKE_SYSTEM_NAME STREQUAL NetBSD) -if(HAVE_NUMA_H) - target_link_libraries(coreclrpal - numa - ) -endif(HAVE_NUMA_H) - add_subdirectory(examples) if(FEATURE_EVENT_TRACE) -- 2.7.4