Skip to content

Commit 2c7ef94

Browse files
authored
[Python] Add library lookup path for tvm installed as a pakcage (#18348)
[Python] Add library lookup path when tvm installed as a pakcage
1 parent fc20c0a commit 2c7ef94

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/tvm/libinfo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ def get_dll_directories():
6666

6767
# Pip lib directory
6868
dll_path.append(ffi_dir)
69+
dll_path.append(os.path.join(ffi_dir, "lib"))
6970
# Default cmake build directory
7071
dll_path.append(os.path.join(source_dir, "build"))
7172
dll_path.append(os.path.join(source_dir, "build", "Release"))

0 commit comments

Comments
 (0)