Skip to content

Commit

Permalink
fix deps
Browse files Browse the repository at this point in the history
Change-Id: I8199655fcd22082a2f3cfb0e5ab7db289df1a5e7
  • Loading branch information
Fᴀʙɪᴇɴ Wᴇʀɴʟɪ committed Jun 17, 2019
1 parent 09abfaa commit 9e5b363
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions contrib/redhat/collectd.spec
Expand Up @@ -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}
Expand Down Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit 9e5b363

Please sign in to comment.