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 patch
Date: Wed, 23 Sep 2026 23:21:37 GMT [thread overview]
Message-ID: <179020569720.1.10388909179195154516.rpms-hipfort-fd88e813e9c5@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/hipfort
Branch : rawhide
Commit : fd88e813e9c589a40ed6063d49699788d8ab426c
Author : Tom Rix <Tom.Rix@amd.com>
Date : 2026-09-23T16:21:12-07:00
Stats : +23/-15 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/hipfort/c/fd88e813e9c589a40ed6063d49699788d8ab426c?branch=rawhide
Log:
Update patch
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
---
diff --git a/0001-Handle-cmake-BUILD_SHARED_LIBS-ON.patch b/0001-Handle-cmake-BUILD_SHARED_LIBS-ON.patch
index 646f44f..26fa90b 100644
--- a/0001-Handle-cmake-BUILD_SHARED_LIBS-ON.patch
+++ b/0001-Handle-cmake-BUILD_SHARED_LIBS-ON.patch
@@ -1,35 +1,43 @@
-From 263ae181eb1fdd95acee0b47a4836d3afa032d0a Mon Sep 17 00:00:00 2001
+From 96d68c9bd1bf0cb839f2da5ed42ab0727692a609 Mon Sep 17 00:00:00 2001
From: Tom Rix <Tom.Rix@amd.com>
-Date: Thu, 20 Aug 2026 16:52:46 -0700
+Date: Mon, 21 Sep 2026 10:35:20 -0700
Subject: [PATCH] Handle cmake BUILD_SHARED_LIBS ON
---
- lib/CMakeLists.txt | 7 +++++--
- 1 file changed, 5 insertions(+), 2 deletions(-)
+ lib/CMakeLists.txt | 8 ++++++--
+ 1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
-index e7fb7db109e2..4089da30079d 100644
+index 7e46696b28bd..ee05624c29e5 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
-@@ -39,13 +39,16 @@ set(HIPFORT_ARCH "amdgcn")
+@@ -98,13 +98,16 @@ set(HIPFORT_ARCH "amdgcn")
# amdgcn
set(HIPFORT_LIB "hipfort-${HIPFORT_ARCH}")
set(CMAKE_Fortran_MODULE_DIRECTORY ${CMAKE_BINARY_DIR}/include/hipfort/${HIPFORT_ARCH})
-- ADD_LIBRARY(${HIPFORT_LIB} STATIC
-+ ADD_LIBRARY(${HIPFORT_LIB} SHARED
- ${HIPFORT_SRC_HIP}
- )
+- ADD_LIBRARY(${HIPFORT_LIB} STATIC
++ ADD_LIBRARY(${HIPFORT_LIB} SHARED
+ ${HIPFORT_SRC_AMDGCN}
+- )
++ )
++ set_target_properties(${HIPFORT_LIB} PROPERTIES VERSION ${hipfort_VERSION} SOVERSION ${hipfort_VERSION})
++
target_include_directories(${HIPFORT_LIB}
PUBLIC
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/hipfort/amdgcn>
-- )
-+ )
-+ target_link_libraries(${HIPFORT_LIB} -lhipblas -lhipsparse -lhipsolver -lhipfft -lhiprand)
-+ set_target_properties(${HIPFORT_LIB} PROPERTIES VERSION ${hipfort_VERSION} SOVERSION ${hipfort_VERSION})
+ )
+
IF(HIPFORT_USE_FPOINTER_INTERFACES)
target_compile_definitions(${HIPFORT_LIB} PRIVATE USE_FPOINTER_INTERFACES)
- ENDIF(HIPFORT_USE_FPOINTER_INTERFACES)
+ IF(HIPFORT_ASSUMED_RANK)
+@@ -190,6 +193,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}>")
++
+ rocm_install(
+ TARGETS
+ hipfort-${name}
--
2.55.0
reply other threads:[~2026-09-23 23:21 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=179020569720.1.10388909179195154516.rpms-hipfort-fd88e813e9c5@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