[xorg-x11-drv-nvidia-390xx] Drop cuda-drivers-devel
by Nicolas Chauvet
commit 347c1502e1b32e8e1d11bb7d4581efe377cc1d6a
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Mar 12 21:35:36 2021 +0100
Drop cuda-drivers-devel
xorg-x11-drv-nvidia-390xx.spec | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/xorg-x11-drv-nvidia-390xx.spec b/xorg-x11-drv-nvidia-390xx.spec
index 051460a..094404d 100644
--- a/xorg-x11-drv-nvidia-390xx.spec
+++ b/xorg-x11-drv-nvidia-390xx.spec
@@ -129,10 +129,6 @@ Summary: Development files for %{name}
Requires: %{name}-libs%{?_isa} = %{?epoch}:%{version}-%{release}
Requires: %{name}-cuda-libs%{?_isa} = %{?epoch}:%{version}-%{release}
-#Don't put an epoch here
-Provides: cuda-drivers-devel = %{version}-100
-Provides: cuda-drivers-devel%{?_isa} = %{version}-100
-
%description devel
This package provides the development files of the %{name} package,
such as OpenGL headers.
3 years, 8 months
[xorg-x11-drv-nvidia] Drop cuda-drivers-devel
by Nicolas Chauvet
commit 1b98020b0c21e9a1247674fbb73cbf732d4d3d58
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Mar 12 21:34:40 2021 +0100
Drop cuda-drivers-devel
xorg-x11-drv-nvidia.spec | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index 008098a..b842d6f 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -98,9 +98,6 @@ Summary: Development files for %{name}
Requires: %{name}-libs%{?_isa} = %{?epoch}:%{version}-%{release}
Requires: %{name}-cuda-libs%{?_isa} = %{?epoch}:%{version}-%{release}
-#Don't put an epoch here
-Provides: cuda-drivers-devel = %{version}.100
-Provides: cuda-drivers-devel%{?_isa} = %{version}.100
Provides: nvidia-driver-devel = %{?epoch}:%{version}-100
Provides: nvidia-driver-devel%{?_isa} = %{?epoch}:%{version}-100
Provides: nvidia-drivers-devel = %{?epoch}:%{version}-100
3 years, 8 months
[gdrcopy] Add missing BR
by Nicolas Chauvet
commit 90959445be23c3ada34439f10e64e6ca0c8b5b3b
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Mar 12 21:07:51 2021 +0100
Add missing BR
gdrcopy.spec | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gdrcopy.spec b/gdrcopy.spec
index 5912dc9..3e5e3cc 100644
--- a/gdrcopy.spec
+++ b/gdrcopy.spec
@@ -25,6 +25,7 @@ BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: cuda-compiler-%{?_cuda_rpm_version}
BuildRequires: cuda-cudart-devel-%{?_cuda_rpm_version}
+BuildRequires: cuda-driver-devel-%{?_cuda_rpm_version}
BuildRequires: check-devel
BuildRequires: cuda-drivers-devel
3 years, 8 months
[gdrcopy] Add _cuda_prefix
by Nicolas Chauvet
commit 553792a4cb7c96bfcdbc3adc37b7dbfe9e04f14c
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Mar 12 20:58:51 2021 +0100
Add _cuda_prefix
gdrcopy.spec | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gdrcopy.spec b/gdrcopy.spec
index 89261ce..5912dc9 100644
--- a/gdrcopy.spec
+++ b/gdrcopy.spec
@@ -5,6 +5,7 @@
%if 0%{!?_cuda_version:1}
%global _cuda_version 11.2
%global _cuda_rpm_version 11-2
+%global _cuda_prefix /usr/local/cuda-%{_cuda_version}
%endif
Name: gdrcopy
3 years, 8 months
[gdrcopy] Add missing BR
by Nicolas Chauvet
commit fc2199f06f9d9d5c91ee36a29a596e6b562cc435
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Mar 12 20:51:28 2021 +0100
Add missing BR
gdrcopy.spec | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gdrcopy.spec b/gdrcopy.spec
index 88a1223..89261ce 100644
--- a/gdrcopy.spec
+++ b/gdrcopy.spec
@@ -23,6 +23,7 @@ ExclusiveArch: x86_64
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: cuda-compiler-%{?_cuda_rpm_version}
+BuildRequires: cuda-cudart-devel-%{?_cuda_rpm_version}
BuildRequires: check-devel
BuildRequires: cuda-drivers-devel
3 years, 8 months
[gdrcopy] fixup
by Nicolas Chauvet
commit 822bd558ab6c145b2815457f01ea9c9431b54506
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Mar 12 20:46:19 2021 +0100
fixup
gdrcopy.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdrcopy.spec b/gdrcopy.spec
index 5812a7c..88a1223 100644
--- a/gdrcopy.spec
+++ b/gdrcopy.spec
@@ -22,7 +22,7 @@ ExclusiveArch: x86_64
#We need the cuda toolkit
BuildRequires: gcc
BuildRequires: gcc-c++
-BuildRequires: cuda-compiler-%{?_cuda_version_rpm}
+BuildRequires: cuda-compiler-%{?_cuda_rpm_version}
BuildRequires: check-devel
BuildRequires: cuda-drivers-devel
3 years, 8 months
[gdrcopy] Update to 2.2
by Nicolas Chauvet
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
3 years, 8 months