dd4hep: add LD_LIBRARY_PATH for plugins for Gaudi (#37824)

Co-authored-by: jmcarcell <jmcarcell@users.noreply.github.com>
This commit is contained in:
Juan Miguel Carceller 2023-05-23 11:28:26 +02:00 committed by GitHub
parent c17fc3c0c1
commit 5400b49ed6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -223,6 +223,8 @@ def setup_run_environment(self, env):
env.set("DD4HEP", self.prefix.examples)
env.set("DD4hep_DIR", self.prefix)
env.set("DD4hep_ROOT", self.prefix)
env.set("LD_LIBRARY_PATH", self.prefix.lib)
env.set("LD_LIBRARY_PATH", self.prefix.lib64)
def url_for_version(self, version):
# dd4hep releases are dashes and padded with a leading zero