public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/llvm] rawhide: Fix flang *.mod file location
@ 2026-06-05  5:47 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-06-05  5:47 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/llvm
            Branch : rawhide
            Commit : e0312a665700372de70e87d9038b14569e817f5e
            Author : Timm Bäder <tbaeder@redhat.com>
            Date   : 2026-06-05T03:46:34+00:00
            Stats  : +8/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/llvm/c/e0312a665700372de70e87d9038b14569e817f5e?branch=rawhide

            Log:
            Fix flang *.mod file location

This is coming from
https://github.com/llvm/llvm-project/pull/171515

---
diff --git a/llvm.spec b/llvm.spec
index aaab091..aa1573b 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -2391,7 +2391,10 @@ rm -v %{buildroot}%{install_libdir}/libFIRAnalysis.a \
       %{buildroot}%{install_libdir}/libFIROpenACCTransforms.a \
       %{buildroot}%{install_libdir}/libMIFDialect.a
 
+
+%if %{maj_ver} < 23
 find %{buildroot}%{install_includedir}/flang -type f -a ! -iname '*.mod' -delete
+%endif
 
 # this is a test binary
 rm -v %{buildroot}%{install_bindir}/f18-parse-demo
@@ -3758,9 +3761,14 @@ fi
     flang-new
 }}
 %{install_bindir}/flang-%{maj_ver}
+
+%if %{maj_ver} < 23
 %{expand_includes %{expand:
     flang/*.mod
 }}
+%else
+%{_prefix}/lib/clang/%{maj_ver}/finclude/flang/%{llvm_triple}/*.mod
+%endif
 
 %{_sysconfdir}/%{pkg_name_clang}/%{_target_platform}-flang.cfg
 %ifarch x86_64

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

only message in thread, other threads:[~2026-06-05  5:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-05  5:47 [rpms/llvm] rawhide: Fix flang *.mod file location 

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