Permalink
Browse files

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
  • Loading branch information...
1 parent 6b41234 commit a12dfa5370043277bf52624b9cbc98f14d5cdc42 @tpruvot committed Jun 22, 2015
Showing with 3 additions and 1 deletion.
  1. +1 −1 INSTALL
  2. +1 −0 configure.ac
  3. +1 −0 nvml.cpp
View
@@ -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
@@ -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
@@ -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, "" }
};

0 comments on commit a12dfa5

Please sign in to comment.