mirror of
https://github.com/xmrig/xmrig.git
synced 2026-01-23 23:02:51 -05:00
Added hwloc version display.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user