Add CUDA BuildRequires
Signed-off-by: Tom Rix <trix@redhat.com>
This commit is contained in:
parent
c7679453c9
commit
bcdd1822e3
1 changed files with 14 additions and 1 deletions
|
|
@ -100,7 +100,12 @@
|
|||
# Pick a version that works
|
||||
%if %{with cuda}
|
||||
%if 0%{?fedora} < 40
|
||||
%global cuda_ver 12.4
|
||||
%global cuda_ver 12.5
|
||||
%global cudart_ver 12-5
|
||||
%global cublas_ver 12-5
|
||||
%global cufft_ver 12-5
|
||||
%global curand_ver 12-5
|
||||
%global cusparse_ver 12-5
|
||||
%else
|
||||
%global cuda_ver 12.5
|
||||
%endif
|
||||
|
|
@ -378,6 +383,14 @@ BuildRequires: roctracer-devel
|
|||
Requires: rocm-rpm-macros-modules
|
||||
%endif
|
||||
|
||||
%if %{with cuda}
|
||||
BuildRequires: cuda-cudart-devel-%{cudart_ver}
|
||||
BuildRequires: libcublas-devel-%{cublas_ver}
|
||||
BuildRequires: libcufft-devel-%{cufft_ver}
|
||||
BuildRequires: libcurand-devel-%{curand_ver}
|
||||
BuildRequires: libcusparse-devel-%{cusparse_ver}
|
||||
%endif
|
||||
|
||||
%if %{with opencv}
|
||||
BuildRequires: opencv-devel
|
||||
%endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue