public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/sundials] rawhide: Account for LD_LIBRARY_PATH in mpi module
@ 2026-10-21 7:31 Cristian Le
0 siblings, 0 replies; only message in thread
From: Cristian Le @ 2026-10-21 7:31 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-21 7:31 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:31 [rpms/sundials] rawhide: Account for LD_LIBRARY_PATH in mpi module Cristian Le
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox