Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3773e7ebd8 | |||
| f1dcff4ae9 |
@@ -1,24 +1,3 @@
|
|||||||
#
|
|
||||||
# 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
|
||||||
@@ -61,7 +40,7 @@
|
|||||||
|
|
||||||
Name: %{hipsolver_name}
|
Name: %{hipsolver_name}
|
||||||
Version: %{rocm_version}
|
Version: %{rocm_version}
|
||||||
Release: 4%{?dist}
|
Release: 3%{?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
|
||||||
@@ -89,13 +68,15 @@ 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
|
||||||
@@ -161,7 +142,9 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
|
||||||
rm -f %{buildroot}%{_prefix}/share/doc/hipsolver/LICENSE.md
|
if [ -f %{buildroot}%{_prefix}/share/doc/hipsolver/LICENSE.md ]; then
|
||||||
|
rm %{buildroot}%{_prefix}/share/doc/hipsolver/LICENSE.md
|
||||||
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE.md
|
%license LICENSE.md
|
||||||
@@ -183,11 +166,9 @@ rm -f %{buildroot}%{_prefix}/share/doc/hipsolver/LICENSE.md
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Aug 27 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.2-4
|
* Wed Aug 13 2025 Egbert Eich <eich@suse.com> - 6.4.2-3
|
||||||
- Add Fedora copyright
|
- Fix dependency on SUSE when test is enabled.
|
||||||
|
- 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