public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Cristian Le <fedora@lecris.me>
To: git-commits@fedoraproject.org
Subject: [rpms/coin-or-Ipopt] rawhide: Keep the original LD_LIBRARY_PATH from the mpi modules
Date: Tue, 13 Oct 2026 19:18:54 GMT	[thread overview]
Message-ID: <179191913442.1.6424450082821684053.rpms-coin-or-Ipopt-3c2e623a1437@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-10-13 19:18 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=179191913442.1.6424450082821684053.rpms-coin-or-Ipopt-3c2e623a1437@fedoraproject.org \
    --to=fedora@lecris.me \
    --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