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: Update preview to 7.14
Date: Fri, 17 Jul 2026 15:39:59 GMT	[thread overview]
Message-ID: <178430279922.1.2440085073556292848.rpms-rocm-compilersupport-9efd9888f5b9@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rocm-compilersupport
            Branch : rawhide
            Commit : 9efd9888f5b9248a3a4c94248083682b961b34b2
            Author : Tom Rix <Tom.Rix@amd.com>
            Date   : 2026-07-17T08:39:49-07:00
            Stats  : +19/-20 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/rocm-compilersupport/c/9efd9888f5b9248a3a4c94248083682b961b34b2?branch=rawhide

            Log:
            Update preview to 7.14

Signed-off-by: Tom Rix <Tom.Rix@amd.com>

---
diff --git a/0001-clang-23-link-libamdhip64.patch b/0001-clang-23-link-libamdhip64.patch
index 0a02de7..8ade29c 100644
--- a/0001-clang-23-link-libamdhip64.patch
+++ b/0001-clang-23-link-libamdhip64.patch
@@ -1,6 +1,6 @@
-From fb17ceb984bdf1af589a73dfbc3d60b6d1ac06b8 Mon Sep 17 00:00:00 2001
+From 7e1604b19501052c98ac64004b88c27a24c70433 Mon Sep 17 00:00:00 2001
 From: Tom Rix <Tom.Rix@amd.com>
-Date: Tue, 19 May 2026 06:58:33 -0700
+Date: Thu, 16 Jul 2026 07:14:44 -0700
 Subject: [PATCH] clang 23 link libamdhip64
 
 ---
@@ -8,19 +8,19 @@ Subject: [PATCH] clang 23 link libamdhip64
  1 file changed, 1 insertion(+), 5 deletions(-)
 
 diff --git a/clang/lib/Driver/ToolChains/Linux.cpp b/clang/lib/Driver/ToolChains/Linux.cpp
-index 3d0096d1ff31..2af7accdacfa 100644
+index 80b72abda812..9d5686ec9f64 100644
 --- a/clang/lib/Driver/ToolChains/Linux.cpp
 +++ b/clang/lib/Driver/ToolChains/Linux.cpp
-@@ -1096,7 +1096,7 @@ void Linux::addOffloadRTLibs(unsigned ActiveKinds, const ArgList &Args,
+@@ -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)
-     Libraries.emplace_back(SYCLInstallation->getSYCLRTLibPath(), "libsycl.so");
- 
-@@ -1113,10 +1113,6 @@ void Linux::addOffloadRTLibs(unsigned ActiveKinds, const ArgList &Args,
+     Libraries.emplace_back(SYCLInstallation->getSYCLRTLibPath(),
+                            "libLLVMSYCL.so");
+@@ -1131,10 +1131,6 @@ void Linux::addOffloadRTLibs(unsigned ActiveKinds, const ArgList &Args,
      CmdArgs.push_back(Args.MakeArgString(p));
    }
  
@@ -32,5 +32,5 @@ index 3d0096d1ff31..2af7accdacfa 100644
  
  void Linux::AddIAMCUIncludeArgs(const ArgList &DriverArgs,
 -- 
-2.53.0
+2.54.0
 

diff --git a/0001-preview-comgr-link-with-static-llvm.patch b/0001-preview-comgr-link-with-static-llvm.patch
index 3e053f0..cdcc557 100644
--- a/0001-preview-comgr-link-with-static-llvm.patch
+++ b/0001-preview-comgr-link-with-static-llvm.patch
@@ -1,6 +1,6 @@
-From b1ca21338d42726bc49acc2801949734fbb1848b Mon Sep 17 00:00:00 2001
+From 62c0ac9c782d3476e7a019f52e4339d879473094 Mon Sep 17 00:00:00 2001
 From: Tom Rix <Tom.Rix@amd.com>
-Date: Sat, 16 May 2026 08:55:18 -0700
+Date: Thu, 16 Jul 2026 07:09:30 -0700
 Subject: [PATCH] preview comgr link with static llvm
 
 ---
@@ -8,11 +8,11 @@ Subject: [PATCH] preview comgr link with static llvm
  1 file changed, 25 insertions(+), 28 deletions(-)
 
 diff --git a/amd/comgr/CMakeLists.txt b/amd/comgr/CMakeLists.txt
-index c4b76db2b020..baae3fbfe13b 100644
+index c05a4afb7d80..1b453943ba1d 100644
 --- a/amd/comgr/CMakeLists.txt
 +++ b/amd/comgr/CMakeLists.txt
-@@ -487,31 +487,27 @@ else()
-   set(SPIRV_STATIC_LIB "SPIRVAMDLib")
+@@ -538,31 +538,27 @@ else()
+   set(SPIRV_STATIC_LIB "")
  endif()
  
 -if (LLVM_LINK_LLVM_DYLIB)
@@ -64,7 +64,7 @@ index c4b76db2b020..baae3fbfe13b 100644
  
  target_link_options(amd_comgr
    PUBLIC
-@@ -521,9 +517,10 @@ target_link_options(amd_comgr
+@@ -572,9 +568,10 @@ target_link_options(amd_comgr
  
  target_link_libraries(amd_comgr
    PRIVATE
@@ -76,8 +76,8 @@ index c4b76db2b020..baae3fbfe13b 100644
 +  ${LLVM_LIBS}
 +)
  
- if(TARGET embedded-resource-dir)
-   target_link_libraries(amd_comgr PRIVATE embedded-resource-dir)
+ # hotswap transpiler link edge — must come after the curated LLVM set above so
+ # static-archive resolution pulls in the full set (incl. LLVMCodeGen's -mcpu
 -- 
-2.53.0
+2.54.0
 

diff --git a/rocm-compilersupport.spec b/rocm-compilersupport.spec
index cc79cdc..d6687e0 100644
--- a/rocm-compilersupport.spec
+++ b/rocm-compilersupport.spec
@@ -23,7 +23,7 @@
 # For building earlier snapshots of the compiler
 %bcond_with preview
 %if %{with preview}
-%global rocm_release 7.13
+%global rocm_release 7.14
 %global rocm_patch 0
 %global pkg_src therock-%{rocm_release}
 %else
@@ -830,7 +830,7 @@ sed -i -e 's@libLLVM.so.%{llvm_maj_ver}.0%{llvm_version_suffix}@libLLVMCore.a@' 
 # Remove libclang-cpp.so from link
 sed -i -e 's/[^ ]*libclang-cpp[^ ]*//g' build-comgr/CMakeFiles/amd_comgr.dir/link.txt
 # Add libraries to cover the removal
-sed -i -e 's@-lrt -lm@-lclangSerialization -lclangAST -lclangDriver -lclangOptions -lclangFrontend -lclangFrontendTool -lclangExtractAPI -lclangInstallAPI -lclangIndex -lclangCodeGen -lclangStaticAnalyzerFrontend -lclangStaticAnalyzerCore -lclangStaticAnalyzerCheckers -lclangASTMatchers -lclangCrossTU -lclangUnifiedSymbolResolution -lclangTooling -lclangToolingCore -lclangRewriteFrontend -lclangRewrite -lclangParse -lclangSema -lclangAPINotes -lclangAnalysis -lclangFormat -lclangToolingInclusions -lclangAnalysisLifetimeSafety -lclangLex -lclangEdit -lclangBasic -lclangSupport -lLLVMCoverage -lLLVMFrontendDriver -lLLVMFrontendHLSL -lLLVMDTLTO -lLLVMLTO -lLLVMPlugins -lLLVMOption -lLLVMSymbolize -lLLVMWindowsDriver -lrt -lm@' build-comgr/CMakeFiles/amd_comgr.dir/link.txt
+sed -i -e 's@-lrt -lm@-lclangSerialization -lclangAST -lclangDriver -lclangScalableStaticAnalysisFrameworkAnalyses -lclangDependencyScanning -lclangOptions -lclangFrontend -lclangFrontendTool -lclangScalableStaticAnalysisFrameworkFrontend -lclangScalableStaticAnalysisFrameworkCore -lclangExtractAPI -lclangInstallAPI -lclangIndex -lclangCodeGen -lclangStaticAnalyzerFrontend -lclangStaticAnalyzerCore -lclangStaticAnalyzerCheckers -lclangASTMatchers -lclangCrossTU -lclangUnifiedSymbolResolution -lclangTooling -lclangToolingCore -lclangRewriteFrontend -lclangRewrite -lclangParse -lclangSema -lclangAPINotes -lclangAnalysis -lclangFormat -lclangToolingInclusions -lclangAnalysisLifetimeSafety -lclangLex -lclangEdit -lclangBasic -lclangSupport -lLLVMCoverage -lLLVMFrontendDriver -lLLVMFrontendHLSL -lLLVMDTLTO -lLLVMLTO -lLLVMPlugins -lLLVMOption -lLLVMSymbolize -lLLVMWindowsDriver -lrt -lm@' build-comgr/CMakeFiles/amd_comgr.dir/link.txt
 %else
 sed -i -e 's@-lrt -lm@-lLLVMCoverage -lLLVMFrontendDriver -lLLVMFrontendHLSL -lLLVMLTO -lLLVMOption -lLLVMSymbolize -lLLVMWindowsDriver -lrt -lm@' build-comgr/CMakeFiles/amd_comgr.dir/link.txt
 %endif
@@ -1106,7 +1106,6 @@ rm %{buildroot}%{bundle_prefix}/lib/libear/ear.c
 %{bundle_prefix}/bin/amdlld
 %{bundle_prefix}/bin/amdllvm
 %if %{with preview}
-%{bundle_prefix}/bin/ssaf-format
 %endif
 
 

                 reply	other threads:[~2026-07-17 15:39 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=178430279922.1.2440085073556292848.rpms-rocm-compilersupport-9efd9888f5b9@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