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