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 to 10.2
Date: Fri, 27 Nov 2026 17:50:07 GMT	[thread overview]
Message-ID: <179580180704.1.5159144098941817238.rpms-rocm-compilersupport-0328d8a8d76b@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rocm-compilersupport
            Branch : rawhide
            Commit : 0328d8a8d76b84ccdd58ffc61ec68aa167f59416
            Author : Tom Rix <Tom.Rix@amd.com>
            Date   : 2026-11-27T09:49:31-08:00
            Stats  : +35/-291 in 12 file(s)
            URL    : https://src.fedoraproject.org/rpms/rocm-compilersupport/c/0328d8a8d76b84ccdd58ffc61ec68aa167f59416?branch=rawhide

            Log:
            Update to 10.2

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

---
diff --git a/.gitignore b/.gitignore
index a663d18..aa6303e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -31,3 +31,4 @@
 /rocm-compilersupport-7.14.0.tar.gz
 /rocm-compilersupport-10.0.0.tar.gz
 /rocm-compilersupport-10.1.0.tar.gz
+/rocm-compilersupport-10.2.0.tar.gz

diff --git a/0001-SemaConcept.cpp-fix-MSVC-not-all-control-paths-retur.patch b/0001-SemaConcept.cpp-fix-MSVC-not-all-control-paths-retur.patch
deleted file mode 100644
index cba999f..0000000
--- a/0001-SemaConcept.cpp-fix-MSVC-not-all-control-paths-retur.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From 1535da76981c5ee7e9d9897dd0b0a0f53ad20198 Mon Sep 17 00:00:00 2001
-From: Simon Pilgrim <llvm-dev@redking.me.uk>
-Date: Mon, 6 Oct 2025 11:26:51 +0100
-Subject: [PATCH] SemaConcept.cpp - fix MSVC "not all control paths return a
- value" warnings. NFC. (#162060)
-
----
- clang/lib/Sema/SemaConcept.cpp | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/clang/lib/Sema/SemaConcept.cpp b/clang/lib/Sema/SemaConcept.cpp
-index 11d2d5c3938c..999e302c0253 100644
---- a/clang/lib/Sema/SemaConcept.cpp
-+++ b/clang/lib/Sema/SemaConcept.cpp
-@@ -1049,6 +1049,7 @@ ExprResult ConstraintSatisfactionChecker::Evaluate(
-   case NormalizedConstraint::ConstraintKind::Compound:
-     return Evaluate(static_cast<const CompoundConstraint &>(Constraint), MLTAL);
-   }
-+  llvm_unreachable("Unknown ConstraintKind enum");
- }
- 
- static bool CheckConstraintSatisfaction(
-@@ -2141,6 +2142,7 @@ bool SubstituteParameterMappings::substitute(NormalizedConstraint &N) {
-     return substitute(Compound.getRHS());
-   }
-   }
-+  llvm_unreachable("Unknown ConstraintKind enum");
- }
- 
- } // namespace
-@@ -2561,7 +2563,6 @@ FormulaType SubsumptionChecker::Normalize(const NormalizedConstraint &NC) {
-   };
- 
-   switch (NC.getKind()) {
--
-   case NormalizedConstraint::ConstraintKind::Atomic:
-     return {{find(&static_cast<const AtomicConstraint &>(NC))}};
- 
-@@ -2601,6 +2602,7 @@ FormulaType SubsumptionChecker::Normalize(const NormalizedConstraint &NC) {
-     return Res;
-   }
-   }
-+  llvm_unreachable("Unknown ConstraintKind enum");
- }
- 
- void SubsumptionChecker::AddUniqueClauseToFormula(Formula &F, Clause C) {
--- 
-2.52.0
-

diff --git a/0001-comgr-link-with-static-llvm.patch b/0001-comgr-link-with-static-llvm.patch
deleted file mode 100644
index cdcc557..0000000
--- a/0001-comgr-link-with-static-llvm.patch
+++ /dev/null
@@ -1,83 +0,0 @@
-From 62c0ac9c782d3476e7a019f52e4339d879473094 Mon Sep 17 00:00:00 2001
-From: Tom Rix <Tom.Rix@amd.com>
-Date: Thu, 16 Jul 2026 07:09:30 -0700
-Subject: [PATCH] preview comgr link with static llvm
-
----
- amd/comgr/CMakeLists.txt | 53 +++++++++++++++++++---------------------
- 1 file changed, 25 insertions(+), 28 deletions(-)
-
-diff --git a/amd/comgr/CMakeLists.txt b/amd/comgr/CMakeLists.txt
-index c05a4afb7d80..1b453943ba1d 100644
---- a/amd/comgr/CMakeLists.txt
-+++ b/amd/comgr/CMakeLists.txt
-@@ -538,31 +538,27 @@ else()
-   set(SPIRV_STATIC_LIB "")
- endif()
- 
--if (LLVM_LINK_LLVM_DYLIB)
--  set(LLVM_LIBS LLVM ${SPIRV_DYNAMIC_LIB})
--else()
--  llvm_map_components_to_libnames(LLVM_LIBS
--    ${LLVM_TARGETS_TO_BUILD}
--    BinaryFormat
--    BitReader
--    BitWriter
--    CodeGen
--    Core
--    DebugInfoDWARF
--    Demangle
--    IRReader
--    Linker
--    MC
--    MCDisassembler
--    MCParser
--    Object
--    Option
--    Support
--    Symbolize
--    TargetParser
--    ${SPIRV_STATIC_LIB}
--    )
--endif()
-+llvm_map_components_to_libnames(LLVM_LIBS
-+  ${LLVM_TARGETS_TO_BUILD}
-+  BinaryFormat
-+  BitReader
-+  BitWriter
-+  CodeGen
-+  Core
-+  DebugInfoDWARF
-+  Demangle
-+  IRReader
-+  Linker
-+  MC
-+  MCDisassembler
-+  MCParser
-+  Object
-+  Option
-+  Support
-+  Symbolize
-+  TargetParser
-+  ${SPIRV_STATIC_LIB}
-+)
- 
- target_link_options(amd_comgr
-   PUBLIC
-@@ -572,9 +568,10 @@ target_link_options(amd_comgr
- 
- target_link_libraries(amd_comgr
-   PRIVATE
--    ${LLD_LIBS}
--    ${LLVM_LIBS}
--    ${CLANG_LIBS})
-+  ${LLD_LIBS}
-+  ${CLANG_LIBS}
-+  ${LLVM_LIBS}
-+)
- 
- # 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.54.0
-

diff --git a/0001-lld-workaround-.gnu.version-change.patch b/0001-lld-workaround-.gnu.version-change.patch
index 1c7917e..f9f9eed 100644
--- a/0001-lld-workaround-.gnu.version-change.patch
+++ b/0001-lld-workaround-.gnu.version-change.patch
@@ -1,4 +1,4 @@
-From f76e91d21a8cd368fe24ca39598413b51c51790f Mon Sep 17 00:00:00 2001
+From 75f7308a111dc704d1eeea013d2a9c993c0a89ac Mon Sep 17 00:00:00 2001
 From: Tom Rix <Tom.Rix@amd.com>
 Date: Fri, 14 Nov 2025 12:44:23 -0800
 Subject: [PATCH] lld workaround .gnu.version change
@@ -8,10 +8,10 @@ Subject: [PATCH] lld workaround .gnu.version change
  1 file changed, 4 insertions(+), 2 deletions(-)
 
 diff --git a/lld/ELF/InputFiles.cpp b/lld/ELF/InputFiles.cpp
-index a5921feb1829..7de9ff4020be 100644
+index 42d0e4c202ec..b306fde7e14c 100644
 --- a/lld/ELF/InputFiles.cpp
 +++ b/lld/ELF/InputFiles.cpp
-@@ -1698,6 +1698,7 @@ template <class ELFT> void SharedFile::parse() {
+@@ -1581,6 +1581,7 @@ template <class ELFT> void SharedFile::parse() {
        continue;
      }
  
@@ -19,7 +19,7 @@ index a5921feb1829..7de9ff4020be 100644
      if (ver == VER_NDX_LOCAL ||
          (ver != VER_NDX_GLOBAL && idx >= verdefs.size())) {
        // In GNU ld < 2.31 (before 3be08ea4728b56d35e136af4e6fd3086ade17764), the
-@@ -1709,7 +1710,7 @@ template <class ELFT> void SharedFile::parse() {
+@@ -1592,7 +1593,7 @@ template <class ELFT> void SharedFile::parse() {
                       << " for symbol " << name
                       << " is out of bounds\n>>> defined in " << this;
        continue;
@@ -28,7 +28,7 @@ index a5921feb1829..7de9ff4020be 100644
  
      uint32_t alignment = getAlignment<ELFT>(sections, sym);
      if (ver == idx) {
-@@ -1723,7 +1724,8 @@ template <class ELFT> void SharedFile::parse() {
+@@ -1606,7 +1607,8 @@ template <class ELFT> void SharedFile::parse() {
  
      // Also add the symbol with the versioned name to handle undefined symbols
      // with explicit versions.
@@ -39,5 +39,5 @@ index a5921feb1829..7de9ff4020be 100644
  
      StringRef verName =
 -- 
-2.52.0
+2.51.1
 

diff --git a/0001-preview-comgr-link-with-static-llvm.patch b/0001-preview-comgr-link-with-static-llvm.patch
deleted file mode 100644
index cdcc557..0000000
--- a/0001-preview-comgr-link-with-static-llvm.patch
+++ /dev/null
@@ -1,83 +0,0 @@
-From 62c0ac9c782d3476e7a019f52e4339d879473094 Mon Sep 17 00:00:00 2001
-From: Tom Rix <Tom.Rix@amd.com>
-Date: Thu, 16 Jul 2026 07:09:30 -0700
-Subject: [PATCH] preview comgr link with static llvm
-
----
- amd/comgr/CMakeLists.txt | 53 +++++++++++++++++++---------------------
- 1 file changed, 25 insertions(+), 28 deletions(-)
-
-diff --git a/amd/comgr/CMakeLists.txt b/amd/comgr/CMakeLists.txt
-index c05a4afb7d80..1b453943ba1d 100644
---- a/amd/comgr/CMakeLists.txt
-+++ b/amd/comgr/CMakeLists.txt
-@@ -538,31 +538,27 @@ else()
-   set(SPIRV_STATIC_LIB "")
- endif()
- 
--if (LLVM_LINK_LLVM_DYLIB)
--  set(LLVM_LIBS LLVM ${SPIRV_DYNAMIC_LIB})
--else()
--  llvm_map_components_to_libnames(LLVM_LIBS
--    ${LLVM_TARGETS_TO_BUILD}
--    BinaryFormat
--    BitReader
--    BitWriter
--    CodeGen
--    Core
--    DebugInfoDWARF
--    Demangle
--    IRReader
--    Linker
--    MC
--    MCDisassembler
--    MCParser
--    Object
--    Option
--    Support
--    Symbolize
--    TargetParser
--    ${SPIRV_STATIC_LIB}
--    )
--endif()
-+llvm_map_components_to_libnames(LLVM_LIBS
-+  ${LLVM_TARGETS_TO_BUILD}
-+  BinaryFormat
-+  BitReader
-+  BitWriter
-+  CodeGen
-+  Core
-+  DebugInfoDWARF
-+  Demangle
-+  IRReader
-+  Linker
-+  MC
-+  MCDisassembler
-+  MCParser
-+  Object
-+  Option
-+  Support
-+  Symbolize
-+  TargetParser
-+  ${SPIRV_STATIC_LIB}
-+)
- 
- target_link_options(amd_comgr
-   PUBLIC
-@@ -572,9 +568,10 @@ target_link_options(amd_comgr
- 
- target_link_libraries(amd_comgr
-   PRIVATE
--    ${LLD_LIBS}
--    ${LLVM_LIBS}
--    ${CLANG_LIBS})
-+  ${LLD_LIBS}
-+  ${CLANG_LIBS}
-+  ${LLVM_LIBS}
-+)
- 
- # 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.54.0
-

diff --git a/0001-rocm-compilersupport-force-hip-runtime-detection.patch b/0001-rocm-compilersupport-force-hip-runtime-detection.patch
index 0c48f71..ab3f4c1 100644
--- a/0001-rocm-compilersupport-force-hip-runtime-detection.patch
+++ b/0001-rocm-compilersupport-force-hip-runtime-detection.patch
@@ -1,4 +1,4 @@
-From f49602b60c633c6c77787db664520b9827fd503b Mon Sep 17 00:00:00 2001
+From 92e9587663055c40c111fd4c7b37a4fa42884556 Mon Sep 17 00:00:00 2001
 From: Tom Rix <Tom.Rix@amd.com>
 Date: Thu, 18 Sep 2025 10:55:43 -0700
 Subject: [PATCH] rocm-compilersupport force hip runtime detection
@@ -8,10 +8,10 @@ Subject: [PATCH] rocm-compilersupport force hip runtime detection
  1 file changed, 4 insertions(+)
 
 diff --git a/clang/lib/Driver/ToolChains/AMDGPU.cpp b/clang/lib/Driver/ToolChains/AMDGPU.cpp
-index 4f30b532bec5..4ba91edfdfd9 100644
+index 798ea8aad6de..8ef086c61066 100644
 --- a/clang/lib/Driver/ToolChains/AMDGPU.cpp
 +++ b/clang/lib/Driver/ToolChains/AMDGPU.cpp
-@@ -453,6 +453,9 @@ void RocmInstallationDetector::detectHIPRuntime() {
+@@ -455,6 +455,9 @@ void RocmInstallationDetector::detectHIPRuntime() {
      if (!HIPPathEnv->empty())
        HIPSearchDirs.emplace_back(std::move(*HIPPathEnv));
    }
@@ -21,7 +21,7 @@ index 4f30b532bec5..4ba91edfdfd9 100644
    if (HIPSearchDirs.empty())
      HIPSearchDirs.append(getInstallationPathCandidates());
    auto &FS = D.getVFS();
-@@ -511,6 +514,7 @@ void RocmInstallationDetector::detectHIPRuntime() {
+@@ -517,6 +520,7 @@ void RocmInstallationDetector::detectHIPRuntime() {
      }
    }
    HasHIPRuntime = false;
@@ -30,5 +30,5 @@ index 4f30b532bec5..4ba91edfdfd9 100644
  
  void RocmInstallationDetector::print(raw_ostream &OS) const {
 -- 
-2.52.0
+2.51.0
 

diff --git a/0001-rocm-compilersupport-simplify-use-runtime-wrapper-ch.patch b/0001-rocm-compilersupport-simplify-use-runtime-wrapper-ch.patch
index 693ae72..4bed535 100644
--- a/0001-rocm-compilersupport-simplify-use-runtime-wrapper-ch.patch
+++ b/0001-rocm-compilersupport-simplify-use-runtime-wrapper-ch.patch
@@ -1,6 +1,6 @@
-From 82eaa017263911119f0f0f4d77160a5b3c2e7dfb Mon Sep 17 00:00:00 2001
-From: trix <trix@localhost.localdomain>
-Date: Fri, 19 Sep 2025 17:34:31 -0700
+From 60d256690ad1618370b309ca4bccaeff1546f5f2 Mon Sep 17 00:00:00 2001
+From: Tom Rix <Tom.Rix@amd.com>
+Date: Wed, 18 Nov 2026 03:14:29 -0800
 Subject: [PATCH] rocm-compilersupport simplify use runtime wrapper check
 
 ---
@@ -8,10 +8,10 @@ Subject: [PATCH] rocm-compilersupport simplify use runtime wrapper check
  1 file changed, 1 insertion(+), 2 deletions(-)
 
 diff --git a/clang/lib/Driver/ToolChains/AMDGPU.cpp b/clang/lib/Driver/ToolChains/AMDGPU.cpp
-index 4ba91edfdfd9..0929960ada2f 100644
+index 29b840b77b72..9091db394661 100644
 --- a/clang/lib/Driver/ToolChains/AMDGPU.cpp
 +++ b/clang/lib/Driver/ToolChains/AMDGPU.cpp
-@@ -525,8 +525,7 @@ void RocmInstallationDetector::print(raw_ostream &OS) const {
+@@ -534,8 +534,7 @@ void RocmInstallationDetector::print(raw_ostream &OS) const {
  
  void RocmInstallationDetector::AddHIPIncludeArgs(const ArgList &DriverArgs,
                                                   ArgStringList &CC1Args) const {
@@ -20,7 +20,7 @@ index 4ba91edfdfd9..0929960ada2f 100644
 +  bool UsesRuntimeWrapper = !DriverArgs.hasArg(options::OPT_nohipwrapperinc);
    bool HasHipStdPar = DriverArgs.hasArg(options::OPT_hipstdpar);
  
-   if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) {
+   if (DriverArgs.hasFlag(options::OPT_foffload_via_llvm,
 -- 
-2.52.0
+2.56.1
 

diff --git a/0001-rocm-llvm-work-around-new-assert-in-array.patch b/0001-rocm-llvm-work-around-new-assert-in-array.patch
index 0299e4a..a4886d4 100644
--- a/0001-rocm-llvm-work-around-new-assert-in-array.patch
+++ b/0001-rocm-llvm-work-around-new-assert-in-array.patch
@@ -1,4 +1,4 @@
-From 6e3ee79b52e9578d7e152d99ddfc79fdf2a80948 Mon Sep 17 00:00:00 2001
+From 77b60432f85502270252ad997bc7f1086eca422c Mon Sep 17 00:00:00 2001
 From: Tom Rix <Tom.Rix@amd.com>
 Date: Tue, 11 Mar 2025 07:32:44 -0700
 Subject: [PATCH] rocm-llvm: work around new assert in array
@@ -11,10 +11,10 @@ Signed-off-by: Tom Rix <Tom.Rix@amd.com>
  create mode 100644 clang/lib/Headers/cuda_wrappers/array
 
 diff --git a/clang/lib/Headers/CMakeLists.txt b/clang/lib/Headers/CMakeLists.txt
-index 3cde8a024e9d..c96290da4d2c 100644
+index 66c3e5c8f617..937adc8a3f5a 100644
 --- a/clang/lib/Headers/CMakeLists.txt
 +++ b/clang/lib/Headers/CMakeLists.txt
-@@ -340,6 +340,7 @@ set(files
+@@ -288,6 +288,7 @@ set(files
  
  set(cuda_wrapper_files
    cuda_wrappers/algorithm
@@ -68,5 +68,5 @@ index 000000000000..41c1263d8b3b
 +
 +#endif // include guard
 -- 
-2.52.0
+2.48.1
 

diff --git a/0001-rocm-llvm-workaround-__noinline__.patch b/0001-rocm-llvm-workaround-__noinline__.patch
index e26c6e2..8c17c72 100644
--- a/0001-rocm-llvm-workaround-__noinline__.patch
+++ b/0001-rocm-llvm-workaround-__noinline__.patch
@@ -1,6 +1,6 @@
-From 5bb71890754c4dc045ba7203d71fa32fb955bd53 Mon Sep 17 00:00:00 2001
+From cf2ec5ea8167867e1bf81bcece71b64e819569f0 Mon Sep 17 00:00:00 2001
 From: Tom Rix <Tom.Rix@amd.com>
-Date: Tue, 25 Aug 2026 08:48:25 -0700
+Date: Sat, 24 Oct 2026 08:32:00 -0700
 Subject: [PATCH] rocm-llvm workaround __noinline__
 
 ---
@@ -10,10 +10,10 @@ Subject: [PATCH] rocm-llvm workaround __noinline__
  create mode 100644 clang/lib/Headers/cuda_wrappers/format
 
 diff --git a/clang/lib/Headers/CMakeLists.txt b/clang/lib/Headers/CMakeLists.txt
-index ec955c4cef0c..55596776727b 100644
+index 2e911aa41c7c..13ab7a1a801b 100644
 --- a/clang/lib/Headers/CMakeLists.txt
 +++ b/clang/lib/Headers/CMakeLists.txt
-@@ -349,6 +349,7 @@ set(cuda_wrapper_files
+@@ -330,6 +330,7 @@ set(cuda_wrapper_files
    cuda_wrappers/array
    cuda_wrappers/cmath
    cuda_wrappers/complex
@@ -66,5 +66,5 @@ index 000000000000..1d26da455848
 +
 +#endif // include guard
 -- 
-2.55.0
+2.56.0
 

diff --git a/b0baa1d8bd68a2ce2f7c5f2b62333e410e9122a1.patch b/b0baa1d8bd68a2ce2f7c5f2b62333e410e9122a1.patch
deleted file mode 100644
index b0cdd84..0000000
--- a/b0baa1d8bd68a2ce2f7c5f2b62333e410e9122a1.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From b0baa1d8bd68a2ce2f7c5f2b62333e410e9122a1 Mon Sep 17 00:00:00 2001
-From: Vitaly Buka <vitalybuka@google.com>
-Date: Fri, 7 Mar 2025 12:06:03 -0800
-Subject: [PATCH] [gold] Fix compilation (#130334)
-
-After #115331.
----
- llvm/tools/gold/gold-plugin.cpp | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp
-index b42bfbed3b873..256933d3f53f9 100644
---- a/llvm/tools/gold/gold-plugin.cpp
-+++ b/llvm/tools/gold/gold-plugin.cpp
-@@ -1117,10 +1117,10 @@ static std::vector<std::pair<SmallString<128>, bool>> runLTO() {
-         std::make_unique<llvm::raw_fd_ostream>(FD, true));
-   };
- 
--  auto AddBuffer = [&](size_t Task, const Twine &moduleName,
-+  auto AddBuffer = [&](size_t Task, const Twine &ModuleName,
-                        std::unique_ptr<MemoryBuffer> MB) {
--    auto Stream = *AddStream(Task, ModuleName);
--    Stream->OS << MB->getBuffer();
-+    auto Stream = AddStream(Task, ModuleName);
-+    *Stream->OS << MB->getBuffer();
-     check(Stream->commit(), "Failed to commit cache");
-   };
- 

diff --git a/rocm-compilersupport.spec b/rocm-compilersupport.spec
index b053d48..3be157b 100644
--- a/rocm-compilersupport.spec
+++ b/rocm-compilersupport.spec
@@ -26,7 +26,7 @@
 %global rocm_release 10.2
 %global rocm_patch 0
 %else
-%global rocm_release 10.1
+%global rocm_release 10.2
 %global rocm_patch 0
 %endif
 
@@ -132,7 +132,7 @@ Version:        %{llvm_maj_ver}
 %if %{with preview}
 Release:        1000.rocm%{rocm_version}%{?dist}
 %else
-Release:        3.rocm%{rocm_version}%{?dist}
+Release:        4.rocm%{rocm_version}%{?dist}
 %endif
 
 Summary:        Various AMD ROCm LLVM related services
@@ -801,7 +801,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@-lc -ldl@-lclangAST -lLLVMCore -lclangSema -lLLVMCodeGen -lLLVMAnalysis -lLLVMSupport -lclangCodeGen -lLLVMAMDGPUCodeGen -lclangBasic -lLLVMSelectionDAG -lLLVMMC -lclangStaticAnalyzerCore -lLLVMTransformUtils -lclangDriver -lLLVMGlobalISel -lclangStaticAnalyzerCheckers -lLLVMDebugInfoPDB -llldELF -lLLVMVectorize -lLLVMObject -lLLVMX86CodeGen -lLLVMAMDGPUUtils -lclangLex -lLLVMAsmPrinter -lLLVMDebugInfoCodeView -lclangParse -lLLVMipo -lLLVMSPIRVCodeGen -lLLVMOrcJIT -lLLVMDebugInfoDWARF -lclangFrontend -llldMachO -lLLVMX86Desc -lclangSerialization -lLLVMTargetParser -llldCOFF -lLLVMDebugInfoLogicalView -lclangAnalysis -lLLVMScalarOpts -llldWasm -lLLVMSandboxIR -lLLVMProfileData -lLLVMJITLink -lLLVMTableGen -lLLVMBinaryFormat -lLLVMInstCombine -lclangTidyBugproneModule -lLLVMCAS -lclangTidyUtils -lLLVMFrontendOpenMP -lclangASTMatchers -lLLVMTableGenCommon -lclangScalableStaticAnalysisCore -lLLVMAMDGPUDesc -lclangExtractAPI -lLLVMTextAPI -lclangAnalysisFlowSensitive -lclangFormat -lLLVMObjCopy -lLLVMDebugInfoGSYM -lclangTidy -lLLVMInstrumentation -lclangTidyModernizeModule -lLLVMOrcShared -lLLVMObjectYAML -lLLVMDWARFLinkerParallel -lLLVMMCA -lLLVMRuntimeDyld -lclangTidyReadabilityModule -llldCommon -lclangAnalysisLifetimeSafety -lclangDynamicASTMatchers -lLLVMUBAwareInterpreter -lLLVMMCParser -lLLVMOption -lclangTooling -lLLVMTarget -lclangAPINotes -lLLVMCoroutines -lLLVMPasses -lclangDoc -lLLVMDemangle -lLLVMLTO -lclangInterpreter -lLLVMSPIRVDesc -lLLVMCGData -lclangTransformer -lLLVMBitReader -lLLVMExecutionEngine -lclangScalableStaticAnalysisAnalyses -lclangTidyAbseilModule -lclangTidyCppCoreGuidelinesModule -lclangTidyMiscModule -lclangIndex -lclangDependencyScanning -lclangTidyPerformanceModule -lLLVMObjCARCOpts -lLLVMRemarks -lLLVMXRay -lclangToolingCore -lclangToolingRefactoring -lLLVMBitWriter -lclangIncludeCleaner -lclangToolingSyntax -lclangTidyAndroidModule -lLLVMFrontendHLSL -lLLVMMIRParser -lLLVMOrcTargetProcess -lclangRewrite -lruntimes_gtest -lLLVMAsmParser -lLLVMDWARFLinkerClassic -lLLVMHTTP -lLLVMFuzzMutate -lclangEdit -lclangInstallAPI -lclangRewriteFrontend -lclangStaticAnalyzerFrontend -lclangTidyGoogleModule -lLLVMCFIVerify -lLLVMDebugInfoMSF -lLLVMCoverage -lclangTidyLLVMModule -lclangTidyPortabilityModule -lLLVMABI -lLLVMSymbolize -lclangToolingInclusions -lfindAllSymbols -lLLVMDiff -lLLVMMCDisassembler -lLLVMWindowsDriver -lclangCrossTU -lLLVMDebugInfoDWARFLowLevel -lclangQuery -lclangTidyObjCModule -lLLVMDTLTO -lclangAnalysisFlowSensitiveModels -lLLVMTableGenBasic -lclangTidyFuchsiaModule -lclangToolingInclusionsStdlib -lclangOptions -lLLVMInterpreter -lLLVMLinker -lLLVMOptDriver -lclangSupport -lclangTidyAlteraModule -lLLVMBitstreamReader -lLLVMDebugInfoBTF -lLLVMInterfaceStub -lLLVMSPIRVAnalysis -lLLVMWindowsManifest -lclangIncludeFixer -lclangScalableStaticAnalysisSourceTransformation -lclangTidyLLVMLibcModule -lLLVMAMDGPUInfo -lLLVMCFGuard -lLLVMDWARFCFIChecker -lLLVMIRPrinter -lLLVMIRReader -lLLVMOrcDebugging -lLLVMSPIRVInfo -lclangReorderFields -lLLVMCodeGenTypes -lLLVMDWP -lLLVMFrontendAtomic -lLLVMFrontendDriver -lLLVMHipStdPar -lLLVMX86Info -lclangMove -lclangTidyBoostModule -lclangTidyConcurrencyModule -lclangTidyDarwinModule -lclangTidyMPIModule -lclangTidyOpenMPModule -lclangUnifiedSymbolResolution -lLLVMAggressiveInstCombine -lLLVMDWARFLinker -lLLVMFrontendOffloading -lLLVMSupportLSP -lclangDirectoryWatcher -lclangDocSupport -lclangScalableStaticAnalysisFrontend -lclangTidyLinuxKernelModule -lLLVMAMDGPUAsmParser -lLLVMDebuginfod -lLLVMFrontendDirective -lLLVMLibDriver -lLLVMPlugins -lLLVMTextAPIBinaryReader -lLLVMX86AsmParser -lclangFrontendTool -lclangTidyCERTModule -lLLVMAMDGPUDisassembler -lLLVMAMDGPUTargetMCA -lLLVMDlltoolDriver -lLLVMExtensions -lLLVMFileCheck -lLLVMFrontendOpenACC -lLLVMFuzzerCLI -lLLVMIREmbUtils -lLLVMLineEditor -lLLVMMCJIT -lLLVMMIREmbUtils -lLLVMTelemetry -lLLVMX86Disassembler -lLLVMX86TargetMCA -lclangApplyReplacements -lclangChangeNamespace -lclangIncludeFixerPlugin -lclangIndexSerialization -lclangScalableStaticAnalysisTool -lclangTidyMain -lclangTidyPlugin -lclangToolingASTDiff -lc -ldl@' build-comgr/CMakeFiles/amd_comgr.dir/link.txt
+sed -i -e 's@-lc -ldl@ -lc -ldl -lclangAST -lLLVMCore -lclangSema -lLLVMCodeGen -lLLVMAnalysis -lLLVMSupport -lclangCodeGen -lLLVMAMDGPUCodeGen -lclangBasic -lLLVMSelectionDAG -lLLVMMC -lclangStaticAnalyzerCore -lLLVMTransformUtils -lclangDriver -lLLVMGlobalISel -lclangStaticAnalyzerCheckers -lLLVMDebugInfoPDB -lLLVMVectorize -llldELF -lLLVMX86CodeGen -lLLVMObject -lLLVMAMDGPUUtils -lclangLex -lLLVMAsmPrinter -lLLVMDebugInfoCodeView -lclangParse -lLLVMipo -lLLVMSPIRVCodeGen -lLLVMOrcJIT -lclangFrontend -lLLVMDebugInfoDWARF -llldMachO -lLLVMX86Desc -lclangSerialization -lLLVMTargetParser -llldCOFF -lLLVMDebugInfoLogicalView -lclangAnalysis -lLLVMScalarOpts -llldWasm -lLLVMSandboxIR -lLLVMProfileData -lLLVMJITLink -lLLVMTableGen -lLLVMBinaryFormat -lLLVMInstCombine -lclangTidyBugproneModule -lLLVMCAS -lclangTidyUtils -lLLVMFrontendOpenMP -lclangScalableStaticAnalysisCore -lclangASTMatchers -lLLVMTableGenCommon -lLLVMAMDGPUDesc -lclangExtractAPI -lLLVMTextAPI -lclangAnalysisFlowSensitive -lclangFormat -lLLVMObjCopy -lLLVMDebugInfoGSYM -lclangTidy -lLLVMInstrumentation -lclangTidyModernizeModule -lLLVMPasses -lLLVMDWARFLinkerParallel -lLLVMObjectYAML -lLLVMMCA -lclangTidyReadabilityModule -lLLVMRuntimeDyld -llldCommon -lLLVMOrcShared -lclangAnalysisLifetimeSafety -lclangDynamicASTMatchers -lLLVMUBAwareInterpreter -lLLVMMCParser -lclangTooling -lLLVMOption -lLLVMTarget -lclangAPINotes -lLLVMCoroutines -lclangDoc -lLLVMDemangle -lLLVMLTO -lclangInterpreter -lLLVMSPIRVDesc -lLLVMCGData -lclangScalableStaticAnalysisAnalyses -lclangTransformer -lLLVMBitReader -lLLVMExecutionEngine -lclangTidyAbseilModule -lclangTidyCppCoreGuidelinesModule -lclangTidyMiscModule -lclangIndex -lclangDependencyScanning -lclangTidyPerformanceModule -lLLVMObjCARCOpts -lLLVMRemarks -lLLVMXRay -lclangToolingCore -lclangToolingRefactoring -lLLVMFrontendHLSL -lLLVMBitWriter -lLLVMMIRParser -lclangIncludeCleaner -lclangToolingSyntax -lclangTidyAndroidModule -lLLVMAsmParser -lLLVMABI -lLLVMOrcTargetProcess -lclangRewrite -lruntimes_gtest -lLLVMDWARFLinkerClassic -lLLVMHTTP -lclangEdit -lLLVMFuzzMutate -lclangInstallAPI -lclangRewriteFrontend -lclangStaticAnalyzerFrontend -lclangTidyGoogleModule -lLLVMCFIVerify -lLLVMDebugInfoMSF -lclangTidyLLVMModule -lclangTidyPortabilityModule -lclangToolingInclusions -lLLVMCoverage -lLLVMSymbolize -lfindAllSymbols -lLLVMDiff -lLLVMMCDisassembler -lLLVMWindowsDriver -lclangCrossTU -lLLVMDebugInfoDWARFLowLevel -lclangQuery -lclangTidyObjCModule -lLLVMDTLTO -lclangAnalysisFlowSensitiveModels -lLLVMTableGenBasic -lclangTidyFuchsiaModule -lclangToolingInclusionsStdlib -lclangCodeGenUtils -lclangOptions -lclangScalableStaticAnalysisSourceTransformation -lLLVMInterpreter -lLLVMLinker -lLLVMOptDriver -lclangSupport -lclangTidyAlteraModule -lLLVMBitstreamReader -lLLVMDebugInfoBTF -lLLVMInterfaceStub -lLLVMSPIRVAnalysis -lLLVMWindowsManifest -lclangIncludeFixer -lclangTidyLLVMLibcModule -lLLVMAMDGPUInfo -lLLVMCFGuard -lLLVMCodeGenTypes -lLLVMDWARFCFIChecker -lLLVMIRPrinter -lLLVMIRReader -lLLVMOrcDebugging -lLLVMSPIRVInfo -lclangReorderFields -lLLVMDWP -lLLVMFrontendAtomic -lLLVMFrontendDriver -lLLVMFrontendOffloading -lLLVMHipStdPar -lLLVMX86Info -lclangMove -lclangTidyBoostModule -lclangTidyConcurrencyModule -lclangTidyDarwinModule -lclangTidyMPIModule -lclangTidyOpenMPModule -lclangUnifiedSymbolResolution -lLLVMAggressiveInstCombine -lLLVMDWARFLinker -lLLVMLlcDriver -lLLVMSupportLSP -lclangDirectoryWatcher -lclangDocSupport -lclangScalableStaticAnalysisFrontend -lclangTidyLinuxKernelModule -lLLVMAMDGPUAsmParser -lLLVMDebuginfod -lLLVMFrontendDirective -lLLVMLibDriver -lLLVMPlugins -lLLVMTextAPIBinaryReader -lLLVMX86AsmParser -lclangFrontendTool -lclangTidyCERTModule -lLLVMAMDGPUDisassembler -lLLVMAMDGPUTargetMCA -lLLVMDlltoolDriver -lLLVMExtensions -lLLVMFileCheck -lLLVMFrontendOpenACC -lLLVMFuzzerCLI -lLLVMIREmbUtils -lLLVMLineEditor -lLLVMMCJIT -lLLVMMIREmbUtils -lLLVMTelemetry -lLLVMX86Disassembler -lLLVMX86TargetMCA -lclangApplyReplacements -lclangChangeNamespace -lclangIncludeFixerPlugin -lclangIndexSerialization -lclangScalableStaticAnalysisTool -lclangTidyMain -lclangTidyPlugin -lclangToolingASTDiff @' build-comgr/CMakeFiles/amd_comgr.dir/link.txt
 %endif
 
 %cmake_build -j ${JOBS}
@@ -928,11 +928,7 @@ rm -rf %{buildroot}%{bundle_prefix}/share/man/man1/scan-build.1
 rm -f %{buildroot}%{bundle_prefix}/bin/nvptx-arch
 
 # rocm-clang-analyzer.x86_64: E: non-executable-script /usr/lib64/rocm/llvm/share/scan-view/Reporter.py 644 /usr/bin/env python
-%if %{with preview}
 %py3_shebang_fix %{buildroot}%{bundle_prefix}/share/scan-view/
-%else
-sed -i -e 's@/usr/bin/env python@%{_bindir}/python3@' %{buildroot}%{bundle_prefix}/share/scan-view/*.py
-%endif
 chmod a+x %{buildroot}%{bundle_prefix}/share/scan-view/*.py
 
 # rocm-clang-devel.x86_64: E: zero-length /usr/lib64/rocm/llvm/include/clang/Basic/DiagnosticASTCompatIDs.inc
@@ -994,11 +990,7 @@ rm %{buildroot}%{bundle_prefix}/lib/libear/ear.c
 %dir %{bundle_prefix}/lib/clang/%{llvm_maj_ver}/include/openmp_wrappers
 %dir %{bundle_prefix}/lib/clang/%{llvm_maj_ver}/include/ppc_wrappers
 %dir %{bundle_prefix}/lib/clang/%{llvm_maj_ver}/lib
-%if %{with preview}
 %dir %{bundle_prefix}/lib/clang/%{llvm_maj_ver}/lib/x86_64-redhat-linux-gnu
-%else
-%dir %{bundle_prefix}/lib/clang/%{llvm_maj_ver}/lib/linux
-%endif
 %dir %{bundle_prefix}/lib/cmake
 %dir %{bundle_prefix}/lib/cmake/clang
 %dir %{bundle_prefix}/lib/cmake/llvm
@@ -1058,13 +1050,8 @@ rm %{buildroot}%{bundle_prefix}/lib/libear/ear.c
 %files -n %{rocm_clang_name}-runtime-devel
 %license clang/LICENSE.TXT
 %{bundle_prefix}/lib/clang/%{llvm_maj_ver}/include/
-%if %{with preview}
 %{bundle_prefix}/lib/clang/%{llvm_maj_ver}/lib/x86_64-redhat-linux-gnu/clang_rt.*
 %{bundle_prefix}/lib/clang/%{llvm_maj_ver}/lib/x86_64-redhat-linux-gnu/libclang_rt.*
-%else
-%{bundle_prefix}/lib/clang/%{llvm_maj_ver}/lib/linux/clang_rt.*
-%{bundle_prefix}/lib/clang/%{llvm_maj_ver}/lib/linux/libclang_rt.*
-%endif
 
 %files -n %{rocm_clang_name}
 %license clang/LICENSE.TXT
@@ -1153,14 +1140,13 @@ rm %{buildroot}%{bundle_prefix}/lib/libear/ear.c
 
 %files -n %{rocm_omp_name}-devel
 %{bundle_prefix}/lib/cmake/openmp/
-%if %{with preview}
 %{bundle_prefix}/lib/x86_64-redhat-linux-gnu/cmake/openmp/
 %{bundle_prefix}/lib/x86_64-redhat-linux-gnu/libomp*.so
-%else
-%{bundle_prefix}/lib/libomp*.so
-%endif
 
 %changelog
+* Fri Nov 27 2026 Tom Rix <Tom.Rix@amd.com> - 24-4.rocm10.2.0
+- Update to 10.2
+
 * Mon Nov 9 2026 Tim Flink <tflink@fedoraproject.org> - 24-3.rocm10.1.0
 - update obsoletes for rocm-libcxx so that upgrades go smoothly
 

diff --git a/sources b/sources
index e0d2ea5..f312fd6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rocm-compilersupport-10.1.0.tar.gz) = d1919ced18d268ef99d1e9e55f8cc670aa2ad7857f6250b97502d85dfea41bb191aced7c6b9baf5fba7be651c8c782063dce9fad3de06a0525353576ba27d1a1
+SHA512 (rocm-compilersupport-10.2.0.tar.gz) = a64c0b8921e97eb4866ef8ef8f184abc0dcc2fb4f9e2e53b099243056ea8cce974de4400ed7f5fdf12ebfb7b9ebce4fda095b012fec01d80a8a5f5eda6dac56b

                 reply	other threads:[~2026-11-27 17:50 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=179580180704.1.5159144098941817238.rpms-rocm-compilersupport-0328d8a8d76b@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