Skip to content

Commit 19940da

Browse files
authored
build_tf.py: export LD_LIBRARY_PATH when executing configure (deepmodeling#2185)
In some machines, this is required for Python. Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
1 parent 8e68292 commit 19940da

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

source/install/build_tf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,7 @@ def build(self):
576576
# configure -- need bazelisk in PATH
577577
call([str(src / "configure")], env={
578578
"PATH": list2env([PREFIX / "bin", "/usr/bin", "/bin"]),
579+
"LD_LIBRARY_PATH": os.environ.get("LD_LIBRARY_PATH", ""),
579580
**self._environments,
580581
})
581582
# bazel build

0 commit comments

Comments
 (0)