public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Cristian Le <git@lecris.dev>
To: git-commits@fedoraproject.org
Subject: [rpms/sundials] rawhide: Account for LD_LIBRARY_PATH in mpi module
Date: Wed, 21 Oct 2026 07:31:40 GMT	[thread overview]
Message-ID: <179256790083.1.12675545558840914901.rpms-sundials-59e19538e979@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/sundials
Branch : rawhide
Commit : 59e19538e979a11f9018ed084cb5cf63c2ee3622
Author : Cristian Le <git@lecris.dev>
Date   : 2026-10-20T18:02:36+02:00
Stats  : +5/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/sundials/c/59e19538e979a11f9018ed084cb5cf63c2ee3622?branch=rawhide

Log:
Account for LD_LIBRARY_PATH in mpi module

---
diff --git a/sundials.spec b/sundials.spec
index 10744da..7ea8f18 100644
--- a/sundials.spec
+++ b/sundials.spec
@@ -367,6 +367,7 @@ cp -a %{name}-%{version} buildmpich_dir
 %endif
 
 %build
+# TODO: Allow build rpath (i.e. drop the `CMAKE_SKIP_RPATH`)
 
 %global _smp_ncpus_max 1
 
@@ -866,7 +867,7 @@ rm -rf %{buildroot}%{python3_sitearch}/include
 %{_openmpi_load}
 %define _vpath_builddir buildopenmpi_dir
 %define _vpath_builddir buildopenmpi_dir/build
-export LD_LIBRARY_PATH=%{buildroot}$MPI_LIB
+export LD_LIBRARY_PATH=%{buildroot}$MPI_LIB:${LD_LIBRARY_PATH}
 %if %{with debug}
 %ctest -VV --debug
 %else
@@ -874,6 +875,7 @@ export LD_LIBRARY_PATH=%{buildroot}$MPI_LIB
 %endif
 %endif
 %{_openmpi_unload}
+unset LD_LIBRARY_PATH
 %endif
 ## if with_openmpicheck
 ## if with_openmpi
@@ -883,7 +885,7 @@ export LD_LIBRARY_PATH=%{buildroot}$MPI_LIB
 %{_mpich_load}
 %define _vpath_builddir buildmpich_dir
 %define _vpath_builddir buildmpich_dir/build
-export LD_LIBRARY_PATH=%{buildroot}$MPI_LIB
+export LD_LIBRARY_PATH=%{buildroot}$MPI_LIB:${LD_LIBRARY_PATH}
 %if %{with debug}
 %ctest -VV --debug
 %else
@@ -891,6 +893,7 @@ export LD_LIBRARY_PATH=%{buildroot}$MPI_LIB
 %endif
 %endif
 %{_mpich_unload}
+unset LD_LIBRARY_PATH
 %endif
 ## if with_mpichcheck
 ## if with_mpich

                 reply	other threads:[~2026-10-21  7: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=179256790083.1.12675545558840914901.rpms-sundials-59e19538e979@fedoraproject.org \
    --to=git@lecris.dev \
    --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