Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7dc6fcf1e0 | |||
| 441ac41b70 |
@@ -1,3 +1,24 @@
|
|||||||
|
#
|
||||||
|
# Copyright Fedora Project Authors.
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to
|
||||||
|
# deal in the Software without restriction, including without limitation the
|
||||||
|
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||||
|
# sell copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in
|
||||||
|
# all copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
# THE SOFTWARE.
|
||||||
|
#
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
%global hipsolver_name libhipsolver0
|
%global hipsolver_name libhipsolver0
|
||||||
%else
|
%else
|
||||||
@@ -40,7 +61,7 @@
|
|||||||
|
|
||||||
Name: %{hipsolver_name}
|
Name: %{hipsolver_name}
|
||||||
Version: %{rocm_version}
|
Version: %{rocm_version}
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: ROCm SOLVER marshalling library
|
Summary: ROCm SOLVER marshalling library
|
||||||
Url: https://github.com/ROCm/%{upstreamname}
|
Url: https://github.com/ROCm/%{upstreamname}
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -68,15 +89,13 @@ BuildRequires: suitesparse-devel
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
|
BuildRequires: gtest-devel
|
||||||
BuildRequires: hipsparse-devel
|
BuildRequires: hipsparse-devel
|
||||||
BuildRequires: rocminfo
|
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
BuildRequires: gtest
|
|
||||||
BuildRequires: blas-devel
|
BuildRequires: blas-devel
|
||||||
BuildRequires: cblas-devel
|
BuildRequires: cblas-devel
|
||||||
BuildRequires: lapack-devel
|
BuildRequires: lapack-devel
|
||||||
%else
|
%else
|
||||||
BuildRequires: gtest-devel
|
|
||||||
BuildRequires: blas-static
|
BuildRequires: blas-static
|
||||||
BuildRequires: lapack-static
|
BuildRequires: lapack-static
|
||||||
%endif
|
%endif
|
||||||
@@ -142,9 +161,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
|
||||||
if [ -f %{buildroot}%{_prefix}/share/doc/hipsolver/LICENSE.md ]; then
|
rm -f %{buildroot}%{_prefix}/share/doc/hipsolver/LICENSE.md
|
||||||
rm %{buildroot}%{_prefix}/share/doc/hipsolver/LICENSE.md
|
|
||||||
fi
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE.md
|
%license LICENSE.md
|
||||||
@@ -166,9 +183,11 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Aug 13 2025 Egbert Eich <eich@suse.com> - 6.4.2-3
|
* Wed Aug 27 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.2-4
|
||||||
- Fix dependency on SUSE when test is enabled.
|
- Add Fedora copyright
|
||||||
- Add rocminfo package when test is enabled.
|
|
||||||
|
* Mon Aug 25 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.2-3
|
||||||
|
- Simplify file removal
|
||||||
|
|
||||||
* Wed Jul 30 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.2-2
|
* Wed Jul 30 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.2-2
|
||||||
- Remove -mtls-dialect cflag
|
- Remove -mtls-dialect cflag
|
||||||
|
|||||||
Reference in New Issue
Block a user