Added hwloc version display.
This commit is contained in:
parent
b27fc6fd5d
commit
4263c6c381
4 changed files with 56 additions and 36 deletions
|
@ -31,6 +31,9 @@
|
|||
# include <openssl/opensslv.h>
|
||||
#endif
|
||||
|
||||
#ifdef XMRIG_FEATURE_HWLOC
|
||||
# include <hwloc.h>
|
||||
#endif
|
||||
|
||||
#include "base/kernel/Entry.h"
|
||||
#include "base/kernel/Process.h"
|
||||
|
@ -75,6 +78,8 @@ static int showVersion()
|
|||
}
|
||||
# endif
|
||||
|
||||
printf("hwloc/%s\n", HWLOC_VERSION);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue