Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
f2c354e99c |
@@ -24,7 +24,7 @@
|
||||
|
||||
Name: roctracer
|
||||
Version: %{rocm_version}
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: ROCm Tracer Callback/Activity Library for Performance tracing AMD GPUs
|
||||
|
||||
Url: https://github.com/ROCm/%{upstreamname}
|
||||
@@ -129,7 +129,9 @@ sed -i -e 's@add_subdirectory(test)@#add_subdirectory(test)@' CMakeLists.txt
|
||||
|
||||
# Adjust test running script lib dir
|
||||
sed -i -e 's@../lib/@../lib64/@' test/run.sh
|
||||
|
||||
%if 0%{?suse_version}
|
||||
sed -i -e "/^ *install/s/CMAKE_INSTALL_DATAROOTDIR/CMAKE_INSTALL_LIBDIR/" test/CMakeLists.txt
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%build
|
||||
@@ -181,12 +183,24 @@ rm -rf rm %{buildroot}%{_datadir}/html
|
||||
|
||||
%if %{with test}
|
||||
%files test
|
||||
%if 0%{?suse_version}
|
||||
%dir %{_libdir}/%{name}
|
||||
%{_libdir}/%{name}/run_tests.sh
|
||||
%{_libdir}/%{name}/*.hsaco
|
||||
%dir %{_libdir}/%{name}/test
|
||||
%{_libdir}/%{name}/test/*
|
||||
%else
|
||||
%dir %{_datadir}/%{name}
|
||||
%{_datadir}/%{name}/*
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Aug 7 2025 Egbert Eich <eich@suse.com> - 6.4.0-5
|
||||
* Thu Aug 14 2025 Egbert Eich <eich@suse.com> - 6.4.0-6
|
||||
- On SUSE fix installation of arch dependent files to
|
||||
non arch directories when test is enabled.
|
||||
|
||||
* Thu Aug 7 2025 Egbert Eich <eich@suse.com> - 6.4.0-5
|
||||
- Fix python dependencies for SUSE.
|
||||
|
||||
* Thu Aug 7 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.0-4
|
||||
|
Reference in New Issue
Block a user