1 Commits

Author SHA256 Message Date
242ff43081 Test python requires 2025-10-28 08:56:35 +01:00
2 changed files with 21 additions and 10 deletions

View File

@@ -1,11 +1,3 @@
-------------------------------------------------------------------
Tue Oct 28 15:35:28 UTC 2025 - Tom Rix <Tom.Rix@amd.com>
- Address review question
- change .so globbing
- remove %check
- remove use of llvm strip
-------------------------------------------------------------------
Mon Oct 27 15:24:51 UTC 2025 - Tom Rix <Tom.Rix@amd.com>

View File

@@ -51,6 +51,11 @@
%global build_test OFF
%endif
# Option to test suite for testing on real HW:
# May have to set gpu under test with
# export HIP_VISIBLE_DEVICES=<num> - 0, 1 etc.
%bcond_with check
# For docs
%bcond_with doc
@@ -59,6 +64,9 @@
%global _source_payload w7T0.xzdio
%global _binary_payload w7T0.xzdio
# Use rocm-llvm strip
%global __strip %rocmllvm_bindir/llvm-strip
# Use ninja if it is available
%if 0%{?fedora} || 0%{?suse_version}
%bcond_without ninja
@@ -137,7 +145,7 @@ Requires: rocm-hip-devel
%if %{with doc}
%if 0%{?suse_version}
BuildRequires: %{python_module Sphinx}
BuildRequires: python3-Sphinx
%else
BuildRequires: python3dist(sphinx)
%endif
@@ -227,10 +235,21 @@ rm -rf %{buildroot}/%{_prefix}/.info
rm -f %{buildroot}%{_prefix}/share/doc/rocfft/LICENSE.md
%check
%if %{with test}
%if %{with check}
%if 0%{?suse_version}
%{__builddir}/clients/staging/rocfft-test
%else
%{_vpath_builddir}/clients/staging/rocfft-test
%endif
%endif
%endif
%files -n %{rocfft_name}
%doc README.md
%license LICENSE.md
%{_libdir}/librocfft.so.*
%{_libdir}/librocfft.so.0{,.*}
%files devel
%dir %{_libdir}/cmake/rocfft