From d7788995c2d06f7864b2cfbf57289bf3f04c0821 Mon Sep 17 00:00:00 2001 From: psychocrypt Date: Sat, 13 May 2017 21:18:43 +0200 Subject: hwloc autoadjust - `CMakeLists.txt` add find code to search for `hwloc` - `autoAdjustHwloc.hpp` search optimal config based on hwloc topology - update `README.txt` --- cli-miner.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'cli-miner.cpp') diff --git a/cli-miner.cpp b/cli-miner.cpp index 70a5228..2cbe6d9 100644 --- a/cli-miner.cpp +++ b/cli-miner.cpp @@ -26,7 +26,11 @@ #include "jconf.h" #include "console.h" #include "donate-level.h" -#include "autoAdjust.hpp" +#ifndef CONF_NO_HWLOC +# include "autoAdjustHwloc.hpp" +#else +# include "autoAdjust.hpp" +#endif #include "version.h" #ifndef CONF_NO_HTTPD -- cgit v1.1