public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tom Rix <Tom.Rix@amd.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rocblas] epel10: Install tensile with pip
Date: Thu, 11 Jun 2026 14:33:12 GMT [thread overview]
Message-ID: <178118839230.1.13846717737289801664.rpms-rocblas-8ec901d36e38@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rocblas
Branch : epel10
Commit : 8ec901d36e38e16d40820b44dccdbbf3b38be24e
Author : Tom Rix <Tom.Rix@amd.com>
Date : 2026-03-17T15:03:41-07:00
Stats : +11/-4 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rocblas/c/8ec901d36e38e16d40820b44dccdbbf3b38be24e?branch=epel10
Log:
Install tensile with pip
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
---
diff --git a/rocblas.spec b/rocblas.spec
index 6b58a3e..1fec10c 100644
--- a/rocblas.spec
+++ b/rocblas.spec
@@ -165,7 +165,7 @@ Version: %{rocm_version}
%if %{with preview}
Release: 0%{?dist}
%else
-Release: 4%{?dist}
+Release: 5%{?dist}
%endif
Source0: %{url}/releases/download/%{pkg_src}/%{upstreamname}.tar.gz#/%{upstreamname}-%{version}.tar.gz
@@ -236,6 +236,8 @@ BuildRequires: msgpack-cxx-devel
%else
BuildRequires: python3-devel
BuildRequires: python3dist(setuptools)
+BuildRequires: python3dist(pip)
+BuildRequires: python3dist(wheel)
BuildRequires: msgpack-devel
%if 0%{?fedora} || 0%{?rhel} > 9
BuildRequires: python3dist(joblib)
@@ -395,6 +397,7 @@ sed -i -e 's@if not ignoreCacheCheck and derivedAsmCaps@if False and derivedAsmC
sed -i -e '/joblib/d' requirements.*
sed -i -e '/rich/d' requirements.*
sed -i -e '/msgpack/d' requirements.*
+sed -i -e '/pyyaml/d' requirements.*
# Generalize prefix
%if %{with preview}
@@ -434,9 +437,10 @@ sed -i -e 's@list( APPEND COMMON_LINK_LIBS "-lgfortran")@#list( APPEND COMMON_LI
%if %{with tensile}
%if %{with bundled_tensile}
cd tensile
-TL=$PWD
-python3 setup.py install --root $TL
-TP=${TL}/usr/lib/python%{python3_version}/site-packages/Tensile/
+TL=$PWD/install
+# pip install --no-index --find-links /usr/lib/python%{python3_version}/site-packages --target $TL .
+/usr/bin/python3 -m pip install -vvv --no-build-isolation --no-index --find-links /usr/lib/python%{python3_version}/site-packages --find-links /usr/lib64/python%{python3_version}/site-packages --target $TL .
+TP=${TL}/Tensile/
cd ..
%else
TP=`/usr/bin/TensileGetPath`
@@ -508,6 +512,9 @@ export LD_LIBRARY_PATH=%{_vpath_builddir}/library/src:$LD_LIBRARY_PATH
%endif
%changelog
+* Tue Mar 17 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-5
+- Install tensile with pip
+
* Wed Mar 11 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-4
- Do not strip hsaco files
reply other threads:[~2026-06-11 14:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178118839230.1.13846717737289801664.rpms-rocblas-8ec901d36e38@fedoraproject.org \
--to=tom.rix@amd.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox