gaudi: set GAUDI_PLUGIN_PATH for runtime on macos (#48039)

* set GAUDI_PLUGIN_PATH

* [@spackbot] updating style on behalf of vvolkl

---------

Co-authored-by: vvolkl <vvolkl@users.noreply.github.com>
This commit is contained in:
Valentin Volkl 2025-01-23 14:55:21 +01:00 committed by GitHub
parent 21988fbb18
commit effe433c96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -190,6 +190,9 @@ def setup_run_environment(self, env):
# ...but Gaudi additionally requires a path variable about itself
for lib_path in [self.prefix.lib, self.prefix.lib64]:
env.prepend_path("LD_LIBRARY_PATH", lib_path)
# GAUDI_PLUGIN_PATH currently only used on macos
# but may replace LD_LIBRARY_PATH in the future
env.prepend_path("GAUDI_PLUGIN_PATH", lib_path)
def url_for_version(self, version):
major = str(version[0])