1
0
mirror of https://github.com/GOSTSec/ccminer synced 2025-01-08 22:07:56 +00:00

vendors: add EVGA and fix configure for Slackware

Fedora libpci devel package is named pciutils-devel
Debian/Ubuntu is libpci-dev

Slackware lib requires libz... i added the dependency in configure.ac
This commit is contained in:
Tanguy Pruvot 2015-06-22 04:33:04 +02:00
parent 6b41234ff1
commit a12dfa5370
3 changed files with 3 additions and 1 deletions

View File

@ -13,7 +13,7 @@ but some distros may have a different default location)
# Step 1: gcc and dependencies
dnf install gcc gcc-c++ automake
dnf install jansson-devel openssl-devel libcurl-devel
dnf install jansson-devel openssl-devel libcurl-devel zlib-devel pciutils-devel
# Step 2: nvidia drivers (Download common linux drivers from nvidia site)
dnf install kernel-devel

View File

@ -72,6 +72,7 @@ AC_CHECK_LIB([pthread], [pthread_create], PTHREAD_LIBS="-lpthread",
AC_CHECK_LIB([pthreadGC], [pthread_create], PTHREAD_LIBS="-lpthreadGC"
))))
AC_CHECK_LIB([z],[gzopen], [], [])
AC_CHECK_LIB([ssl],[SSL_library_init], [], [AC_MSG_ERROR([OpenSSL library required])])
AC_CHECK_LIB([crypto],[EVP_DigestFinal_ex], [], [AC_MSG_ERROR([OpenSSL library required])])

View File

@ -909,6 +909,7 @@ static int linux_gpu_vendor(uint8_t pci_bus_id, char* vendorname, uint16_t &pid)
{ 0x10DE, "NVIDIA" },
{ 0x1458, "Gigabyte" },
{ 0x1462, "MSI" },
{ 0x3842, "EVGA" },
{ 0, "" }
};