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/hipfort] rawhide: Update to 10.1
Date: Sun, 11 Oct 2026 20:38:15 GMT [thread overview]
Message-ID: <179175109578.1.8475790852865466098.rpms-hipfort-1e8b97fd186a@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/hipfort
Branch : rawhide
Commit : 1e8b97fd186aafbeee23d7f067e006faf487c504
Author : Tom Rix <Tom.Rix@amd.com>
Date : 2026-10-11T13:37:42-07:00
Stats : +21/-17 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/hipfort/c/1e8b97fd186aafbeee23d7f067e006faf487c504?branch=rawhide
Log:
Update to 10.1
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
---
diff --git a/.gitignore b/.gitignore
index 21e2328..669687f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
/hipfort-7.2.0.tar.gz
/hipfort-7.14.0.tar.gz
/hipfort-10.0.0.tar.gz
+/hipfort-10.1.0.tar.gz
diff --git a/0001-Handle-cmake-BUILD_SHARED_LIBS-ON.patch b/0001-Handle-cmake-BUILD_SHARED_LIBS-ON.patch
index 26fa90b..06ae1cc 100644
--- a/0001-Handle-cmake-BUILD_SHARED_LIBS-ON.patch
+++ b/0001-Handle-cmake-BUILD_SHARED_LIBS-ON.patch
@@ -1,6 +1,6 @@
-From 96d68c9bd1bf0cb839f2da5ed42ab0727692a609 Mon Sep 17 00:00:00 2001
+From ef67722c49c018b2cd42a53f45daaeadcb10ae29 Mon Sep 17 00:00:00 2001
From: Tom Rix <Tom.Rix@amd.com>
-Date: Mon, 21 Sep 2026 10:35:20 -0700
+Date: Sun, 11 Oct 2026 07:23:05 -0700
Subject: [PATCH] Handle cmake BUILD_SHARED_LIBS ON
---
@@ -8,10 +8,10 @@ Subject: [PATCH] Handle cmake BUILD_SHARED_LIBS ON
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
-index 7e46696b28bd..ee05624c29e5 100644
+index 4ac0bc163db2..5b3d106407e2 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
-@@ -98,13 +98,16 @@ set(HIPFORT_ARCH "amdgcn")
+@@ -119,13 +119,16 @@ set(HIPFORT_ARCH "amdgcn")
# amdgcn
set(HIPFORT_LIB "hipfort-${HIPFORT_ARCH}")
set(CMAKE_Fortran_MODULE_DIRECTORY ${CMAKE_BINARY_DIR}/include/hipfort/${HIPFORT_ARCH})
@@ -27,10 +27,10 @@ index 7e46696b28bd..ee05624c29e5 100644
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/hipfort/amdgcn>
)
+
- IF(HIPFORT_USE_FPOINTER_INTERFACES)
- target_compile_definitions(${HIPFORT_LIB} PRIVATE USE_FPOINTER_INTERFACES)
- IF(HIPFORT_ASSUMED_RANK)
-@@ -190,6 +193,7 @@ macro(hipfort_add_component name imported_target)
+ # One macro per tier, and only one: the bindings select the per-rank set on
+ # USE_ASSUMED_SHAPE and the single dimension(..) form on USE_ASSUMED_RANK, and
+ # an assumed-rank dummy is not distinguishable by rank from the per-rank
+@@ -226,6 +229,7 @@ macro(hipfort_add_component name imported_target)
# The archive is shared by every component, so CMake orders it after the ROCm
# .so files and --as-needed drops them. This dependency puts the archive first.
target_link_libraries(${HIPFORT_BASE_LIB} INTERFACE "$<BUILD_INTERFACE:${imported_target}>")
diff --git a/hipfort.spec b/hipfort.spec
index ebf67d3..79bce3c 100644
--- a/hipfort.spec
+++ b/hipfort.spec
@@ -20,7 +20,7 @@
# THE SOFTWARE.
#
%global upstreamname hipfort
-%global rocm_release 10.0
+%global rocm_release 10.1
%global rocm_patch 0
%global rocm_version %{rocm_release}.%{rocm_patch}
@@ -135,11 +135,11 @@ export LD_LIBRARY_PATH=${PWD}/%{_vpath_builddir}/lib:$LD_LIBRARY_PATH
%install
%cmake_install
# nvidia is not supported on Fedora
-rm -rf %{buildroot}%{pkg_prefix}/include/hipfort/nvptx
-rm -rf %{buildroot}%{pkg_prefix}/%{pkg_libdir}/libhipfort-nvptx*
+rm -rf %{buildroot}%{_includedir}/fortran/f95/hipfort/nvptx
+rm -rf %{buildroot}%{_libdir}/fortran/f95/libhipfort-nvptx*
# rpmbuild has a problem with this file
-rm %{buildroot}%{pkg_prefix}/%{pkg_libdir}/cmake/hipfort/hipfort-config.cmake
+rm %{buildroot}%{_libdir}/fortran/f95/cmake/hipfort/hipfort-config.cmake
# Extra license
rm -f %{buildroot}%{pkg_prefix}/share/doc/hipfort/LICENSE
@@ -147,14 +147,17 @@ rm -f %{buildroot}%{pkg_prefix}/share/doc/hipfort/LICENSE
%files
%license LICENSE
%doc README.md
-%{pkg_prefix}/%{pkg_libdir}/libhipfort-amdgcn.so.*
+%{_libdir}/fortran/f95/libhipfort-amdgcn.so.*
%files devel
-%{pkg_prefix}/include/fortran/f95/hipfort/
-%{pkg_prefix}/%{pkg_libdir}/libhipfort-amdgcn.so
-%{pkg_prefix}/%{pkg_libdir}/cmake/hipfort/
+%{_includedir}/fortran/f95/hipfort/
+%{_libdir}/fortran/f95/libhipfort-amdgcn.so
+%{_libdir}/fortran/f95/cmake/hipfort/
%changelog
+* Sun Oct 11 2026 Tom Rix <Tom.Rix@amd.com> - 10.1.0-1
+- Update to 10.1
+
* Mon Sep 21 2026 Tom Rix <Tom.Rix@amd.com> - 10.0.0-1
- Update to 10.0
diff --git a/sources b/sources
index 342d1cb..2d74eb6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (hipfort-10.0.0.tar.gz) = 8c09df17489b410b78e82690f2699bbfee7448d40d52f237f289f2aee06644cefce0d105e79caba1bfa7e3c16499daaa91b3106d9b83328411d36bc8f63f4320
+SHA512 (hipfort-10.1.0.tar.gz) = ddc0614da5cfbed74d3b00c10673717cef92177ff9de936646cf6180bb0e12216caa3dd196b042b3174788abe391b8ee78a306cb63047e6c487ba9297b1152f3
reply other threads:[~2026-10-11 20:38 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=179175109578.1.8475790852865466098.rpms-hipfort-1e8b97fd186a@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