2 Commits

Author SHA1 Message Date
8e03f87f63 Add Fedora copyright
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2025-08-28 07:40:16 -07:00
53fde2bc35 On SUSE use code from python-tensile to check for msgpack
Signed-off-by: Egbert Eich <eich@suse.com>
2025-08-24 12:33:31 +02:00

View File

@@ -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}
%global hipblaslt_name libhipblaslt0
%else
@@ -68,7 +89,7 @@
Name: %{hipblaslt_name}
Version: %{rocm_version}
Release: 3%{?dist}
Release: 5%{?dist}
Summary: ROCm general matrix operations beyond BLAS
Url: https://github.com/ROCmSoftwarePlatform/%{upstreamname}
License: MIT
@@ -233,7 +254,7 @@ sed -i -e 's@-lgfortran -lflang -lflangrti@-lgfortran@' c
%endif
%if 0%{?suse_version}
sed -i -e 's@msgpack REQUIRED@msgpack-cxx REQUIRED@' tensilelite/Tensile/Source/lib/CMakeLists.txt
sed -i -e 's@\(.*find_package(msgpack \+REQUIRED\))@\1 NAMES msgpack msgpack-cxx msgpack-c)@' tensilelite/Tensile/Source/lib/CMakeLists.txt
%endif
sed -i 's@find_package(LLVM REQUIRED CONFIG)@find_package(LLVM REQUIRED CONFIG PATHS "%{rocmllvm_cmakedir}")@' tensilelite/Tensile/Source/lib/CMakeLists.txt
@@ -354,6 +375,12 @@ fi
%endif
%changelog
* Thu Aug 28 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.3-5
- Add Fedora copyright
* Sun Aug 24 2025 Egbert Eich <eich@suse.com> - 6.4.3-4
- On SUSE use code from python-tensile to check for msgpack.
* Wed Aug 20 2025 Egbert Eich <eich@suse.com> - 6.4.3-3
- On SLE-15 exclusively use python 3.6.
This is since joblib is not even available on PackageHub.