public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/netcdf] f45: Fix build without MPI
@ 2026-10-20 21:52 Yaakov Selkowitz
0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-10-20 21:52 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/netcdf
Branch : f45
Commit : 6c23372244bc56a3ff881e23f69b3d42b42a94c8
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2026-10-20T17:50:50-04:00
Stats : +3/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/netcdf/c/6c23372244bc56a3ff881e23f69b3d42b42a94c8?branch=f45
Log:
Fix build without MPI
Flatpak builds do not enable any MPI, and some regressions arose in that
build configuration.
---
diff --git a/netcdf.spec b/netcdf.spec
index d594564..2d0ce77 100644
--- a/netcdf.spec
+++ b/netcdf.spec
@@ -195,7 +195,7 @@ done
%build
%cmake_build
-for mpi in %{mpi_list}
+for mpi in %{?mpi_list}
do
module load mpi/$mpi-%{_arch}
%cmake_build
@@ -210,9 +210,9 @@ do
module load mpi/$mpi-%{_arch}
%cmake_install
module purge
+ # rpaths are still present in MPI builds
+ chrpath --delete %{buildroot}%{_libdir}/$mpi/hdf5/plugin/lib__*.so %{buildroot}%{_libdir}/$mpi/bin/nc[cdg]*
done
-# rpaths are still present in MPI builds
-chrpath --delete %{buildroot}%{_libdir}/*/hdf5/plugin/lib__*.so %{buildroot}%{_libdir}/*/bin/nc[cdg]*
%check
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-20 21:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-20 21:52 [rpms/netcdf] f45: Fix build without MPI Yaakov Selkowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox