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] epel10: Fix build on Tumbleweed
Date: Tue, 09 Jun 2026 23:06:58 GMT [thread overview]
Message-ID: <178104641831.1.7780706362457644191.rpms-rocm-compilersupport-649afb11b259@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rocm-compilersupport
Branch : epel10
Commit : 649afb11b259a509172e3c4f05df6e934b0dd4dd
Author : Tom Rix <Tom.Rix@amd.com>
Date : 2026-02-17T12:38:50-08:00
Stats : +62/-6 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rocm-compilersupport/c/649afb11b259a509172e3c4f05df6e934b0dd4dd?branch=epel10
Log:
Fix build on Tumbleweed
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
---
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
new file mode 100644
index 0000000..cba999f
--- /dev/null
+++ b/0001-SemaConcept.cpp-fix-MSVC-not-all-control-paths-retur.patch
@@ -0,0 +1,49 @@
+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/rocm-compilersupport.spec b/rocm-compilersupport.spec
index 9ce321c..52af2ca 100644
--- a/rocm-compilersupport.spec
+++ b/rocm-compilersupport.spec
@@ -132,7 +132,7 @@ Version: %{llvm_maj_ver}
%if %{with gitcommit}
Release: 0.rocm%{rocm_version}^git%{date0}.%{shortcommit0}%{?dist}.1
%else
-Release: 2.rocm%{rocm_version}%{?dist}
+Release: 3.rocm%{rocm_version}%{?dist}
%endif
Summary: Various AMD ROCm LLVM related services
@@ -161,6 +161,8 @@ Patch3: 0001-rocm-compilersupport-force-hip-runtime-detection.patch
Patch4: 0001-rocm-compilersupport-simplify-use-runtime-wrapper-ch.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=2415065
Patch5: 0001-lld-workaround-.gnu.version-change.patch
+# backport
+Patch6: 0001-SemaConcept.cpp-fix-MSVC-not-all-control-paths-retur.patch
BuildRequires: cmake
%if 0%{?fedora} || 0%{?suse_version}
@@ -829,6 +831,7 @@ rm -rf %{buildroot}%{pkg_prefix}/share/doc/amd_comgr/LICENSE.txt
rm -rf %{buildroot}%{pkg_prefix}/share/doc/amd_comgr/README.md
rm -rf %{buildroot}%{pkg_prefix}/share/doc/hipcc/LICENSE.txt
rm -rf %{buildroot}%{pkg_prefix}/share/doc/hipcc/README.md
+rm -rf %{buildroot}%{bundle_prefix}/share/man/man1/scan-build.1
#Clean up dupes:
%if 0%{?fedora} || 0%{?suse_version}
@@ -883,6 +886,7 @@ rm -rf %{buildroot}%{pkg_prefix}/share/doc/hipcc/README.md
%dir %{bundle_prefix}/lib/cmake
%dir %{bundle_prefix}/lib/cmake/clang
%dir %{bundle_prefix}/lib/cmake/llvm
+%dir %{bundle_prefix}/libexec
%dir %{bundle_prefix}/share
%dir %{bundle_prefix}/share/clang
%dir %{bundle_prefix}/share/opt-viewer
@@ -1010,20 +1014,23 @@ rm -rf %{buildroot}%{pkg_prefix}/share/doc/hipcc/README.md
%{bundle_prefix}/bin/scan-build
%{bundle_prefix}/bin/scan-build-py
%{bundle_prefix}/bin/scan-view
-%{bundle_prefix}/lib/libear/*
-%{bundle_prefix}/lib/libscanbuild/*
+%{bundle_prefix}/lib/libear/
+%{bundle_prefix}/lib/libscanbuild/
%{bundle_prefix}/libexec/analyze-c++
%{bundle_prefix}/libexec/analyze-cc
%{bundle_prefix}/libexec/c++-analyzer
%{bundle_prefix}/libexec/ccc-analyzer
%{bundle_prefix}/libexec/intercept-c++
%{bundle_prefix}/libexec/intercept-cc
-%{bundle_prefix}/share/man/man1/scan-build.1
-%{bundle_prefix}/share/scan-build/*
-%{bundle_prefix}/share/scan-view/*
+%{bundle_prefix}/share/scan-build/
+%{bundle_prefix}/share/scan-view/
%endif
%changelog
+* Mon Feb 16 2026 Tom Rix <Tom.Rix@amd.com> 22-3.rocm7.2.0
+- Fix build on TW
+- Fix dir ownership of clang-analyzer
+
* Thu Feb 12 2026 Tom Rix <Tom.Rix@amd.com> 22-2.rocm7.2.0
- hipcc requires rocminfo to find its default gpu
reply other threads:[~2026-06-09 23:06 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=178104641831.1.7780706362457644191.rpms-rocm-compilersupport-649afb11b259@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