Adding rocm-opencl prefix lib path to LD_LIBRARY_PATH for run_environment (#35011)

This commit is contained in:
renjithravindrankannath
2023-01-31 16:26:42 -08:00
committed by GitHub
parent 5dc5db6679
commit aea2c73b04

View File

@@ -235,6 +235,7 @@ def cmake_args(self):
return args
def setup_run_environment(self, env):
env.prepend_path("LD_LIBRARY_PATH", self.prefix.lib),
env.set("OCL_ICD_VENDORS", self.prefix.vendors + "/")
@run_after("install")