From ae062e8fb3cb76707bd9a45432ea441c214b0487 Mon Sep 17 00:00:00 2001 From: Shane Snyder Date: Fri, 26 Apr 2024 10:00:13 -0500 Subject: [PATCH] set LIBRARY_PATH for cibuildwheel [wheel build] --- darshan-util/pydarshan/pyproject.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/darshan-util/pydarshan/pyproject.toml b/darshan-util/pydarshan/pyproject.toml index 3d367bbc2..5333beeb7 100644 --- a/darshan-util/pydarshan/pyproject.toml +++ b/darshan-util/pydarshan/pyproject.toml @@ -91,7 +91,8 @@ before-all = [ "git submodule update --init", "./prepare.sh", "./configure --prefix=$PWD/darshan_install --disable-darshan-runtime --enable-apxc-mod --enable-apmpi-mod", - "make install" + "make install", + "export LD_LIBRARY_PATH=$PWD/darshan_install/lib" ] repair-wheel-command = "auditwheel repair -w {dest_dir} {wheel}" @@ -104,7 +105,8 @@ before-all = [ "git submodule update --init", "./prepare.sh", "./configure --prefix=$PWD/darshan_install --disable-darshan-runtime --enable-apxc-mod --enable-apmpi-mod", - "make install" + "make install", + "export DYLD_FALLBACK_LIBRARY_PATH=$PWD/darshan_install/lib" ] repair-wheel-command = [ "delocate-listdeps {wheel}",