Added hwloc version display.

This commit is contained in:
XMRig
2019-07-23 07:45:00 +07:00
parent 8d00d78a9a
commit fb8ac767b1
4 changed files with 56 additions and 36 deletions

View File

@@ -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;
}