From 4f4e5d05269eee6b192c271f2f9730a1ad3a4fbd Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 29 Jan 2019 10:58:18 +0100 Subject: Strip out CPU affinity stuff This was from an early experiment when we were having performance problems on a big NUMA machine. It didn't help very much back then, and it certainly doesn't help much now. It's not worth maintaining the code or build system needed for this. --- libcrystfel/CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) (limited to 'libcrystfel/CMakeLists.txt') diff --git a/libcrystfel/CMakeLists.txt b/libcrystfel/CMakeLists.txt index 70d9c198..d17f7913 100644 --- a/libcrystfel/CMakeLists.txt +++ b/libcrystfel/CMakeLists.txt @@ -15,11 +15,6 @@ set(HAVE_XGANDALF ${XGANDALF_FOUND}) set(HAVE_FDIP ${FDIP_FOUND}) set(HAVE_CBFLIB ${CBF_FOUND}) -# Check for CPU affinity functions (Linux-specific) -set(CMAKE_REQUIRED_DEFINITIONS "-D_GNU_SOURCE") -check_symbol_exists(sched_setaffinity "sched.h" HAVE_CPU_AFFINITY) -unset(CMAKE_REQUIRED_DEFINITIONS) - # Find out where forkpty() is declared set(CMAKE_REQUIRED_LIBRARIES "-lutil") check_symbol_exists(forkpty "pty.h" HAVE_FORKPTY_PTY_H) -- cgit v1.2.3