diff options
Diffstat (limited to 'pkg/redhat/nccl.spec.in')
-rw-r--r-- | pkg/redhat/nccl.spec.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/redhat/nccl.spec.in b/pkg/redhat/nccl.spec.in index f9d83a3..5fad346 100644 --- a/pkg/redhat/nccl.spec.in +++ b/pkg/redhat/nccl.spec.in @@ -7,6 +7,7 @@ Group: Development/Libraries License: BSD URL: http://developer.nvidia.com/nccl Source0: nccl_${nccl:Major}.${nccl:Minor}.${nccl:Patch}${nccl:Suffix}-${pkg:Revision}+cuda${cuda:Major}.${cuda:Minor}_${pkg:Arch}.txz +Prereq: /sbin/ldconfig %description NCCL (pronounced "Nickel") is a stand-alone library of standard collective @@ -50,6 +51,12 @@ ln -s libnccl.so.${nccl:Major} $RPM_BUILD_ROOT/%{_libdir}/libnccl.so # static install -m 644 lib/libnccl_static.a $RPM_BUILD_ROOT/%{_libdir} +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%post devel -p /sbin/ldconfig +%postun devel -p /sbin/ldconfig + %clean rm -rf $RPM_BUILD_ROOT |