public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/coin-or-Ipopt] rawhide: Keep the original LD_LIBRARY_PATH from the mpi modules
@ 2026-10-13 19:18 Cristian Le
  0 siblings, 0 replies; only message in thread
From: Cristian Le @ 2026-10-13 19:18 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/coin-or-Ipopt
            Branch : rawhide
            Commit : 3c2e623a14377fa794d38620cb50eb8bcd0242b5
            Author : Cristian Le <fedora@lecris.me>
            Date   : 2026-10-12T16:24:58+00:00
            Stats  : +2/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/coin-or-Ipopt/c/3c2e623a14377fa794d38620cb50eb8bcd0242b5?branch=rawhide

            Log:
            Keep the original LD_LIBRARY_PATH from the mpi modules

Normally the mpi libraries should not inject RPATH and the applications should not rely on that being present, but openmpi and mpich have been doing that. Recently in mpich-5.x this injection has been removed.

---
diff --git a/coin-or-Ipopt.spec b/coin-or-Ipopt.spec
index a886186..ecc81f8 100644
--- a/coin-or-Ipopt.spec
+++ b/coin-or-Ipopt.spec
@@ -426,7 +426,7 @@ cd ..
 %if 0%{?with_mpicheck}
 cd %{module}-releases-openmpi
 %{_openmpi_load}
-LD_LIBRARY_PATH=$RPM_BUILD_ROOT$MPI_LIB make test
+LD_LIBRARY_PATH=$RPM_BUILD_ROOT$MPI_LIB:$LD_LIBRARY_PATH make test
 %{_openmpi_unload}
 cd ..
 %endif
@@ -441,7 +441,7 @@ for i in `find . -type f \( -name "Makefile" \)`; do
 done
 #
 %{_mpich_load}
-MPICH_INTERFACE_HOSTNAME=localhost LD_LIBRARY_PATH=$RPM_BUILD_ROOT$MPI_LIB make test
+MPICH_INTERFACE_HOSTNAME=localhost LD_LIBRARY_PATH=$RPM_BUILD_ROOT$MPI_LIB:$LD_LIBRARY_PATH make test
 %{_mpich_unload}
 cd ..
 %endif

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

only message in thread, other threads:[~2026-10-13 19:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-13 19:18 [rpms/coin-or-Ipopt] rawhide: Keep the original LD_LIBRARY_PATH from the mpi modules Cristian Le

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