public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/MUMPS] rawhide: Keep the LD_LIBRARY_PATH from the mpi module load
@ 2026-10-21  7:27 Cristian Le
  0 siblings, 0 replies; only message in thread
From: Cristian Le @ 2026-10-21  7:27 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/MUMPS
Branch : rawhide
Commit : fe032cdde9f35a02452e64cd05c177ed5b40770e
Author : Cristian Le <git@lecris.dev>
Date   : 2026-10-20T15:27:51+02:00
Stats  : +4/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/MUMPS/c/fe032cdde9f35a02452e64cd05c177ed5b40770e?branch=rawhide

Log:
Keep the LD_LIBRARY_PATH from the mpi module load

---
diff --git a/MUMPS.spec b/MUMPS.spec
index 41c72b5..2d183e5 100644
--- a/MUMPS.spec
+++ b/MUMPS.spec
@@ -475,12 +475,13 @@ popd
 %if 0%{?with_openmpi_check}
 %{_openmpi_load}
 pushd %{name}-%{version}-openmpi/examples
-export LD_LIBRARY_PATH=$RPM_BUILD_ROOT$MPI_LIB
+export LD_LIBRARY_PATH=$RPM_BUILD_ROOT$MPI_LIB:${LD_LIBRARY_PATH}
 ./ssimpletest < input_simpletest_real
 ./dsimpletest < input_simpletest_real
 ./csimpletest < input_simpletest_cmplx
 ./zsimpletest < input_simpletest_cmplx
 mpirun -np 3 ./c_example
+unset LD_LIBRARY_PATH
 popd
 %{_openmpi_unload}
 %endif
@@ -488,12 +489,13 @@ popd
 %if 0%{?with_mpich_check}
 %{_mpich_load}
 pushd %{name}-%{version}-mpich/examples
-export LD_LIBRARY_PATH=$RPM_BUILD_ROOT$MPI_LIB
+export LD_LIBRARY_PATH=$RPM_BUILD_ROOT$MPI_LIB:${LD_LIBRARY_PATH}
 ./ssimpletest < input_simpletest_real
 ./dsimpletest < input_simpletest_real
 ./csimpletest < input_simpletest_cmplx
 ./zsimpletest < input_simpletest_cmplx
 mpirun -np 3 ./c_example
+unset LD_LIBRARY_PATH
 popd
 %{_mpich_unload}
 %endif

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

only message in thread, other threads:[~2026-10-21  7:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-21  7:27 [rpms/MUMPS] rawhide: Keep the LD_LIBRARY_PATH from the mpi module load Cristian Le

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