public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tom Stellard <tstellar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/llvm] rawhide: Fix fortran headers
Date: Mon, 15 Jun 2026 17:31:39 GMT	[thread overview]
Message-ID: <178154469921.1.7935238680739767656.rpms-llvm-cd55d27a9ba3@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/llvm
            Branch : rawhide
            Commit : cd55d27a9ba3cbbc894a5365bdcce34259b27808
            Author : Tom Stellard <tstellar@redhat.com>
            Date   : 2026-06-15T16:51:33+00:00
            Stats  : +5/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/llvm/c/cd55d27a9ba3cbbc894a5365bdcce34259b27808?branch=rawhide

            Log:
            Fix fortran headers

Remove some unnecessary headers and make sure to package omp_lib.h.

[skip changelog]

---
diff --git a/llvm.spec b/llvm.spec
index c1f76ec..6c918b9 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -2394,6 +2394,10 @@ rm -v %{buildroot}%{install_libdir}/libFIRAnalysis.a \
 
 %if %{maj_ver} < 23
 find %{buildroot}%{install_includedir}/flang -type f -a ! -iname '*.mod' -delete
+%else
+# Remove header files that are only needed for writing plugins.
+# TODO: Maybe we should package these in the future.
+rm -Rf %{buildroot}%{install_includedir}/flang
 %endif
 
 # this is a test binary
@@ -3769,6 +3773,7 @@ fi
 }}
 %else
 %{_prefix}/lib/clang/%{maj_ver}/finclude/flang/%{llvm_triple}/*.mod
+%{_prefix}/lib/clang/%{maj_ver}/finclude/flang/%{llvm_triple}/omp_lib.h
 %endif
 
 %{_sysconfdir}/%{pkg_name_clang}/%{_target_platform}-flang.cfg

                 reply	other threads:[~2026-06-15 17:31 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=178154469921.1.7935238680739767656.rpms-llvm-cd55d27a9ba3@fedoraproject.org \
    --to=tstellar@redhat.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