mirror of
https://github.com/xmrig/xmrig.git
synced 2026-02-01 01:42:59 -05:00
Use hwloc for set thread affinity.
This commit is contained in:
@@ -98,7 +98,14 @@ elseif (APPLE)
|
||||
else()
|
||||
set(SOURCES_OS
|
||||
src/base/io/json/Json_unix.cpp
|
||||
src/base/kernel//Platform_unix.cpp
|
||||
src/base/kernel/Platform_unix.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
|
||||
if (WITH_HWLOC)
|
||||
list(APPEND SOURCES_OS
|
||||
src/base/kernel/Platform_hwloc.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user