public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-cramjam] f45: Work around ppc64 vectorization bug in LLVM 23
@ 2026-11-04  8:08 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-11-04  8:08 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-cramjam
Branch : f45
Commit : 9c911bf38f00d01806fe2bbd420e568589da5797
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-11-04T06:31:37+00:00
Stats  : +12/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-cramjam/c/9c911bf38f00d01806fe2bbd420e568589da5797?branch=f45

Log:
Work around ppc64 vectorization bug in LLVM 23

---
diff --git a/python-cramjam.spec b/python-cramjam.spec
index 4e78f12..31a216d 100644
--- a/python-cramjam.spec
+++ b/python-cramjam.spec
@@ -1,5 +1,17 @@
 %bcond tests 1
 
+# Workaround for ppc64 vectorization bug in LLVM 23:
+# https://bugzilla.redhat.com/show_bug.cgi?id=2553620
+#
+# This can be removed in F45 after the fix is backported, and in F46+ after the
+# fix is backported and/or LLVM is updated to version 24. Set the conditional
+# for F45/F46 only, expecting that this will be fixed before F46 branching.
+%if %{defined fc45} || %{defined fc46}
+%ifarch ppc64le
+%global build_rustflags %{build_rustflags} -Cno-vectorize-loops
+%endif
+%endif
+
 # Note: cramjam and cramjam_pure_rust are developed together in the same git
 # repository and are released synchronously with the same version numbers.
 # Therefore, this source RPM produces both python3-cramjam and

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-04  8:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-04  8:08 [rpms/python-cramjam] f45: Work around ppc64 vectorization bug in LLVM 23 Benjamin A. Beasley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox