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/rocm-compilersupport] rawhide: Refresh patch for 10
Date: Thu, 27 Aug 2026 16:35:37 GMT [thread overview]
Message-ID: <178784853757.1.4100301075263203796.rpms-rocm-compilersupport-dc4eb9959d80@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rocm-compilersupport
Branch : rawhide
Commit : dc4eb9959d802d5794c02ec159adbb7986e7ad24
Author : Tom Rix <Tom.Rix@amd.com>
Date : 2026-08-27T09:35:06-07:00
Stats : +36/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rocm-compilersupport/c/dc4eb9959d802d5794c02ec159adbb7986e7ad24?branch=rawhide
Log:
Refresh patch for 10
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
---
diff --git a/preview/0001-clang-23-link-libamdhip64.patch b/preview/0001-clang-23-link-libamdhip64.patch
new file mode 100644
index 0000000..0b19d63
--- /dev/null
+++ b/preview/0001-clang-23-link-libamdhip64.patch
@@ -0,0 +1,36 @@
+From 91e0d2beb874de1c58139acad4a10fd711907a34 Mon Sep 17 00:00:00 2001
+From: Tom Rix <Tom.Rix@amd.com>
+Date: Wed, 26 Aug 2026 05:28:43 -0700
+Subject: [PATCH] clang 23 link libamdhip64
+
+---
+ clang/lib/Driver/ToolChains/Linux.cpp | 6 +-----
+ 1 file changed, 1 insertion(+), 5 deletions(-)
+
+diff --git a/clang/lib/Driver/ToolChains/Linux.cpp b/clang/lib/Driver/ToolChains/Linux.cpp
+index b67e72409bfe..0883c8eb6161 100644
+--- a/clang/lib/Driver/ToolChains/Linux.cpp
++++ b/clang/lib/Driver/ToolChains/Linux.cpp
+@@ -1113,7 +1113,7 @@ void Linux::addOffloadRTLibs(unsigned ActiveKinds, const ArgList &Args,
+
+ llvm::SmallVector<std::pair<StringRef, StringRef>> Libraries;
+ if (ActiveKinds & Action::OFK_HIP)
+- Libraries.emplace_back(RocmInstallation->getLibPath(), "libamdhip64.so");
++ CmdArgs.push_back("-lamdhip64");
+ else if ((ActiveKinds & Action::OFK_SYCL) &&
+ !Args.hasArg(options::OPT_nolibsycl))
+ Libraries.emplace_back(SYCLInstallation->getSYCLRTLibPath(),
+@@ -1132,10 +1132,6 @@ void Linux::addOffloadRTLibs(unsigned ActiveKinds, const ArgList &Args,
+ CmdArgs.push_back(Args.MakeArgString(p));
+ }
+
+- // FIXME: The ROCm builds implicitly depends on this being present.
+- if (ActiveKinds & Action::OFK_HIP)
+- CmdArgs.push_back(
+- Args.MakeArgString(StringRef("-L") + RocmInstallation->getLibPath()));
+ }
+
+ void Linux::AddIAMCUIncludeArgs(const ArgList &DriverArgs,
+--
+2.55.0
+
reply other threads:[~2026-08-27 16:35 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=178784853757.1.4100301075263203796.rpms-rocm-compilersupport-dc4eb9959d80@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