use https://github.com/AngelQuirogaM/ccminer-nanashi
install libcurl-openssl-1.0
from AUR
install gcc-6 and cuda 9
In Makefile.am:
Change gcc-4.9 to gcc-6 in line 85
--compiler-bindir /usr/bin/gcc-6
Just below that, enable the compute architectures you need for your GPUS
In configure.ac change :76
AC_CHECK_LIB([ssl],[SSL_library_init], [], [AC_MSG_ERROR([OpenSSL library required])])
to
AC_CHECK_LIB([ssl],[SSL_free], [], [AC_MSG_ERROR([OpenSSL library required])])
Run:
./autogen.sh
./configure CUDA_CFLAGS='--shared --compiler-options "-fPIC"' --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --with-cuda=/opt/cuda
Add:
PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig
CFLAGS+="-I/usr/include/openssl-1.0"
LDFLAGS+="-L/usr/lib/openssl-1.0"
LDFLAGS+="-L/usr/lib/libcurl-openssl-1.0/"
to around line 575, just before the ":all" line in Makefile (not .am)
then around line 494 there's a DEF_INCLUDES=
add -I/usr/include/openssl-1.0
at the end of it
good luck.
make