Skip to content

Commit

Permalink
vendors: add EVGA and fix configure for Slackware
Browse files Browse the repository at this point in the history
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
tpruvot committed Jun 22, 2015
1 parent 6b41234 commit a12dfa5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion INSTALL
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions configure.ac
Expand Up @@ -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])])

Expand Down
1 change: 1 addition & 0 deletions nvml.cpp
Expand Up @@ -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, "" }
};

Expand Down

0 comments on commit a12dfa5

Please sign in to comment.