mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-10 23:08:07 +00:00
Don't report that scrypt is enabled in configure output.
This commit is contained in:
parent
95586f72f0
commit
aa06d390be
10
configure.ac
10
configure.ac
@ -135,7 +135,7 @@ if test -n "$CGMINER_SDK"; then
|
|||||||
LDFLAGS="-L$CGMINER_SDK/lib/$target $LDFLAGS"
|
LDFLAGS="-L$CGMINER_SDK/lib/$target $LDFLAGS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
opencl="no"
|
opencl="yes"
|
||||||
|
|
||||||
AC_ARG_ENABLE([opencl],
|
AC_ARG_ENABLE([opencl],
|
||||||
[AC_HELP_STRING([--enable-opencl],[Enable support for GPU mining with opencl])],
|
[AC_HELP_STRING([--enable-opencl],[Enable support for GPU mining with opencl])],
|
||||||
@ -379,21 +379,13 @@ echo " curses.TUI...........: $cursesmsg"
|
|||||||
if test "x$opencl" != xno; then
|
if test "x$opencl" != xno; then
|
||||||
if test $found_opencl = 1; then
|
if test $found_opencl = 1; then
|
||||||
echo " OpenCL...............: FOUND. GPU mining support enabled"
|
echo " OpenCL...............: FOUND. GPU mining support enabled"
|
||||||
if test "x$scrypt" != xno; then
|
|
||||||
echo " scrypt...............: Enabled"
|
|
||||||
else
|
|
||||||
echo " scrypt...............: Disabled"
|
|
||||||
fi
|
|
||||||
|
|
||||||
else
|
else
|
||||||
echo " OpenCL...............: NOT FOUND. GPU mining support DISABLED"
|
echo " OpenCL...............: NOT FOUND. GPU mining support DISABLED"
|
||||||
AC_MSG_ERROR([No mining configured in])
|
AC_MSG_ERROR([No mining configured in])
|
||||||
echo " scrypt...............: Disabled (needs OpenCL)"
|
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo " OpenCL...............: Detection overrided. GPU mining support DISABLED"
|
echo " OpenCL...............: Detection overrided. GPU mining support DISABLED"
|
||||||
AC_MSG_ERROR([No mining configured in])
|
AC_MSG_ERROR([No mining configured in])
|
||||||
echo " scrypt...............: Disabled (needs OpenCL)"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x$adl" != xno; then
|
if test "x$adl" != xno; then
|
||||||
|
Loading…
Reference in New Issue
Block a user