From 9e5b363dda7306b628c1bf91c349ed51f11dbae6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?F=E1=B4=80=CA=99=C9=AA=E1=B4=87=C9=B4=20W=E1=B4=87=CA=80?= =?utf8?q?=C9=B4=CA=9F=C9=AA?= Date: Mon, 17 Jun 2019 13:06:45 +0200 Subject: [PATCH] fix deps Change-Id: I8199655fcd22082a2f3cfb0e5ab7db289df1a5e7 --- contrib/redhat/collectd.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/contrib/redhat/collectd.spec b/contrib/redhat/collectd.spec index ddb47a3f..85b7aac3 100644 --- a/contrib/redhat/collectd.spec +++ b/contrib/redhat/collectd.spec @@ -216,7 +216,10 @@ %define with_xencpu 0%{!?_without_xencpu:0} # plugin zone disabled, requires Solaris %define with_zone 0%{!?_without_zone:0} -# requires cuda (I think) +# plugin gpu_nvidia requires cuda-nvml-dev +# get it from https://developer.nvidia.com/cuda-downloads +# then use rpm2cpio to extract it from the huge cuda-repo rpm +# rpm2cpio cuda-repo-rhel7-10-1-local-10.1.168-418.67-1.0-1.x86_64.rpm | cpio -icv '*cuda-nvml-dev-10-1-10.1.168-1.x86_64.rpm' '*cuda-license-10-1-10.1.168-1.x86_64.rpm' %define with_gpu_nvidia 0%{!?_without_gpu_nvidia:0} # not sure why this one's failing %define with_write_stackdriver 0%{!?_without_write_stackdriver:0} @@ -966,7 +969,7 @@ The riemann plugin submits values to Riemann, an event stream processor. Summary: stackdriver plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} -BuildRequires: curl-devel, libxml2-devel, liboauth-devel +BuildRequires: curl-devel, yajl-devel, openssl-devel %description write_stackdriver The write_stackdriver collectd plugin writes metrics to the Google Stackdriver Monitoring service. @@ -977,7 +980,7 @@ Google Stackdriver Monitoring service. Summary: stackdriver plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} -BuildRequires: curl-devel, libxml2-devel, liboauth-devel +BuildRequires: cuda-nvml-dev-10-1 %description gpu_nvidia The gpu_nvidia collectd plugin collects NVidia GPU metrics. %endif -- 2.11.0