commit e6aa20a7f356f9d6de67f07e7f3fe9f8b529d1a6
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Mar 12 20:11:15 2021 +0100
Update to 2.2
gdrcopy.spec | 29 ++++++++++++++---------------
sources | 2 +-
2 files changed, 15 insertions(+), 16 deletions(-)
---
diff --git a/gdrcopy.spec b/gdrcopy.spec
index 390343a..5812a7c 100644
--- a/gdrcopy.spec
+++ b/gdrcopy.spec
@@ -1,8 +1,14 @@
-# Copyright (c) 2015-2020, Nicolas Chauvet <kwizart(a)gmail.com>
+# Copyright (c) 2015-2021, Nicolas Chauvet <kwizart(a)gmail.com>
# All rights reserved.
+# If _cuda_version is unset
+%if 0%{!?_cuda_version:1}
+%global _cuda_version 11.2
+%global _cuda_rpm_version 11-2
+%endif
+
Name: gdrcopy
-Version: 2.0
+Version: 2.2
Release: 1%{?dist}
Summary: A fast GPU memory copy library based on NVIDIA GPUDirect RDMA technology
@@ -17,7 +23,6 @@ ExclusiveArch: x86_64
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: cuda-compiler-%{?_cuda_version_rpm}
-BuildRequires: cuda-libraries-dev-%{?_cuda_version_rpm}
BuildRequires: check-devel
BuildRequires: cuda-drivers-devel
@@ -25,17 +30,7 @@ Requires: cuda-drivers%{_isa}
#Kmod handle
Requires: %{name}-kmod >= %{version}
-Provides: %{name}-kmod-common >= %{version}
-
-# We need to filter libcudart
-%if (0%{?fedora} || 0%{?rhel} > 6)
-%global __requires_exclude ^libcudart.*$
-%else
-%{?filter_setup:
-%filter_from_requires /libcudart.so.*/d
-%filter_setup
-}
-%endif
+Provides: %{name}-kmod-common = %{version}
%description
@@ -69,7 +64,7 @@ developing applications that use %{name}.
%install
mkdir -p %{buildroot}%{_libexecdir}/%{name}
-%make_install PREFIX=%{_prefix} DESTBIN=%{buildroot}%{_libexecdir}/%{name}
+%make_install prefix=%{_prefix} libdir=%{_libdir}
DESTBIN=%{buildroot}%{_libexecdir}/%{name}
chmod 0755 %{buildroot}%{_libdir}/libgdrapi.so.2*
@@ -82,6 +77,7 @@ chmod 0755 %{buildroot}%{_libdir}/libgdrapi.so.2*
%doc README.md
%dir %{_libexecdir}/%{name}
%{_libexecdir}/%{name}/copybw
+%{_libexecdir}/%{name}/copylat
%{_libexecdir}/%{name}/sanity
%{_libdir}/libgdrapi.so.2*
@@ -91,6 +87,9 @@ chmod 0755 %{buildroot}%{_libdir}/libgdrapi.so.2*
%changelog
+* Fri Mar 12 2021 Nicolas Chauvet <kwizart(a)gmail.com> - 2.2-1
+- Update to 2.2
+
* Thu Feb 06 2020 Nicolas Chauvet <kwizart(a)gmail.com> - 2.0-1
- Update to 2.0
diff --git a/sources b/sources
index 5499622..07ea610 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (gdrcopy-2.0.tar.gz) =
1664e2680d2e3bf0a638e04c659ac39eebf6efea626940465b3d769dd8a2f1fd4bb3b95560e643ca1a9190c7234006ad01208d36aa66f39def00ff3435ef2938
+SHA512 (gdrcopy-2.2.tar.gz) =
d6541591b21563f14b764c482b5826dbd4e45c8758b04dd3f717378f230d78a1f376114236fb6ab8285acca72b729441d436d1eb1b2214129407d856bf4d9f8e
Show replies by date