mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 15:27:53 +00:00
Display what support is built in.
This commit is contained in:
parent
5dfc8b694f
commit
52b6410fe7
21
main.c
21
main.c
@ -1844,20 +1844,17 @@ extern const char *opt_argv0;
|
|||||||
|
|
||||||
static char *opt_verusage_and_exit(const char *extra)
|
static char *opt_verusage_and_exit(const char *extra)
|
||||||
{
|
{
|
||||||
printf("%s\n"
|
printf("%s\nBuilt with "
|
||||||
#ifdef HAVE_OPENCL
|
#ifdef HAVE_OPENCL
|
||||||
|
"GPU "
|
||||||
|
#endif
|
||||||
#ifdef WANT_CPUMINE
|
#ifdef WANT_CPUMINE
|
||||||
"Built with CPU and GPU mining support.\n"
|
"CPU "
|
||||||
#else /* WANT_CPUMINE */
|
#endif
|
||||||
"Built with GPU mining support only.\n"
|
#ifdef USE_BITFORCE
|
||||||
#endif /* WANT_CPUMINE */
|
"bitforce "
|
||||||
#else /* HAVE_OPENCL */
|
#endif
|
||||||
#ifdef WANT_CPUMINE
|
"mining support.\n"
|
||||||
"Built with CPU mining support only.\n"
|
|
||||||
#else /* WANT_CPUMINE */
|
|
||||||
"Built with NO MINING support lol wtf.\n"
|
|
||||||
#endif /* WANT_CPUMINE */
|
|
||||||
#endif /* HAVE_OPENCL */
|
|
||||||
, packagename);
|
, packagename);
|
||||||
printf("%s", opt_usage(opt_argv0, extra));
|
printf("%s", opt_usage(opt_argv0, extra));
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
|
Loading…
Reference in New Issue
Block a user