public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/llvm] rawhide: Fix fortran headers
@ 2026-06-15 17:31 Tom Stellard
0 siblings, 0 replies; only message in thread
From: Tom Stellard @ 2026-06-15 17:31 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-15 17:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15 17:31 [rpms/llvm] rawhide: Fix fortran headers Tom Stellard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox