podio, edm4hep and lcio: add lib and lib64 to LD_LIBRARY_PATH (#37881)
Co-authored-by: jmcarcell <jmcarcell@users.noreply.github.com>
This commit is contained in:
parent
aa9eb33108
commit
f709518916
@ -125,6 +125,7 @@ def cmake_args(self):
|
||||
return args
|
||||
|
||||
def setup_run_environment(self, env):
|
||||
env.prepend_path("LD_LIBRARY_PATH", self.spec["edm4hep"].libs.directories[0])
|
||||
env.prepend_path("PYTHONPATH", self.prefix.python)
|
||||
|
||||
def url_for_version(self, version):
|
||||
|
@ -16,7 +16,7 @@ class Lcio(CMakePackage):
|
||||
|
||||
tags = ["hep"]
|
||||
|
||||
maintainers("gaede", "vvolkl")
|
||||
maintainers("gaede", "vvolkl", "jmcarcell")
|
||||
|
||||
version("master", branch="master")
|
||||
version("2.20", sha256="5ef92c9ef04ce468ffb48be0ec6010377a400b064e352cb50f9f4c9599e7e990")
|
||||
@ -107,6 +107,7 @@ def setup_run_environment(self, env):
|
||||
env.prepend_path("PYTHONPATH", self.prefix.python)
|
||||
# needed for the python bindings to find "Exceptions.h"
|
||||
env.prepend_path("CPATH", self.prefix)
|
||||
env.prepend_path("LD_LIBRARY_PATH", self.spec["lcio"].libs.directories[0])
|
||||
|
||||
@run_after("install")
|
||||
def install_source(self):
|
||||
|
Loading…
Reference in New Issue
Block a user