SHA256
1
0
forked from ROCm/rocsparse

1 Commits
main ... main

Author SHA256 Message Date
a153974aa2 Improve handling of shared libraries
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2025-11-07 14:48:05 -07:00
2 changed files with 17 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Nov 7 21:45:10 UTC 2025 - Tom Rix <Tom.Rix@amd.com>
- Improve handling of shared libraries
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 27 00:00:00 UTC 2025 - Tom Rix <Tom.Rix@amd.com> Wed Aug 27 00:00:00 UTC 2025 - Tom Rix <Tom.Rix@amd.com>

View File

@@ -115,7 +115,7 @@
-DBUILD_CLIENTS_TESTS_OPENMP=OFF \\\ -DBUILD_CLIENTS_TESTS_OPENMP=OFF \\\
-DBUILD_FORTRAN_CLIENTS=OFF -DBUILD_FORTRAN_CLIENTS=OFF
Name: %{rocsparse_name} Name: rocsparse
Version: %{rocm_version} Version: %{rocm_version}
Release: 8%{?dist} Release: 8%{?dist}
Summary: SPARSE implementation for ROCm Summary: SPARSE implementation for ROCm
@@ -179,13 +179,19 @@ ROCm runtime and toolchains. rocSPARSE is created using
the HIP programming language and optimized for AMD's the HIP programming language and optimized for AMD's
latest discrete GPUs. latest discrete GPUs.
%post -p /sbin/ldconfig %if 0%{?suse_version}
%postun -p /sbin/ldconfig %package -n %{rocsparse_name}
Summary: Shared libraries for %{name}
%description -n %{rocsparse_name}
%{summary}
%ldconfig_scriptlets -n %{rocsparse_name}
%endif
%package devel %package devel
Summary: Libraries and headers for %{name} Summary: Libraries and headers for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{rocsparse_name}%{?_isa} = %{version}-%{release}
Provides: rocsparse-devel = %{version}-%{release}
%description devel %description devel
%{summary} %{summary}
@@ -240,7 +246,7 @@ export LD_LIBRARY_PATH=%{_vpath_builddir}/library:$LD_LIBRARY_PATH
%endif %endif
%endif %endif
%files %files -n %{rocsparse_name}
%license LICENSE.md %license LICENSE.md
%{_libdir}/librocsparse.so.1{,.*} %{_libdir}/librocsparse.so.1{,.*}