public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/llvm] rawhide: Enable s390x flang on LLVM >= 24
@ 2026-09-30 19:15 Tulio Magno Quites Machado Filho
  0 siblings, 0 replies; only message in thread
From: Tulio Magno Quites Machado Filho @ 2026-09-30 19:15 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/llvm
            Branch : rawhide
            Commit : 1d67414a1d335118fb9f4c90a91d0021dadfbd7d
            Author : Tulio Magno Quites Machado Filho <tuliom@redhat.com>
            Date   : 2026-09-30T16:13:25-03:00
            Stats  : +8/-4 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/llvm/c/1d67414a1d335118fb9f4c90a91d0021dadfbd7d?branch=rawhide

            Log:
            Enable s390x flang on LLVM >= 24

Flang recently received support for s390x [1].

[1] https://github.com/llvm/llvm-project/pull/208618

---
diff --git a/llvm.spec b/llvm.spec
index 2a966b5..7a0e51f 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -113,14 +113,18 @@
 
 #region flang
 %if %{without compat_build} && %{defined fedora} && 0%{?fedora} >= 44
-# Link error on i686.
-# s390x is not supported upstream yet.
-%ifarch i686 s390x
-%bcond_with flang
+%if %{maj_ver} >= 24
+# Flang is not supported on i686
+%ifnarch i686
+%bcond_without flang
+%endif
 %else
+# Flang is not supported on s390x either prior to LLVM 24
+%ifnarch i686 s390x
 %bcond_without flang
 %endif
 %endif
+%endif
 
 %if %{with flang}
 

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

only message in thread, other threads:[~2026-09-30 19:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-30 19:15 [rpms/llvm] rawhide: Enable s390x flang on LLVM >= 24 Tulio Magno Quites Machado Filho

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