public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/llvm] rawhide: Fix flang *.mod file location
Date: Fri, 05 Jun 2026 05:47:44 GMT [thread overview]
Message-ID: <178063846434.1.1365084890673248620.rpms-llvm-e0312a665700@fedoraproject.org> (raw)
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
reply other threads:[~2026-06-05 5:47 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=178063846434.1.1365084890673248620.rpms-llvm-e0312a665700@fedoraproject.org \
--to=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