Unverified Commit 47c93805 authored by Quan (Andy) Gan's avatar Quan (Andy) Gan Committed by GitHub
Browse files

[Performance] Fix Cython not being imported after switching to RTLD_LOCAL (#2608)



* fix

* ?
Co-authored-by: default avatarJinjing Zhou <VoVAllen@users.noreply.github.com>
parent 20d49771
...@@ -90,12 +90,8 @@ def config_cython(): ...@@ -90,12 +90,8 @@ def config_cython():
subdir = "_cy2" subdir = "_cy2"
ret = [] ret = []
path = "dgl/_ffi/_cython" path = "dgl/_ffi/_cython"
if os.name == 'nt':
library_dirs = ['dgl', '../build/Release', '../build'] library_dirs = ['dgl', '../build/Release', '../build']
libraries = ['libtvm'] libraries = ['dgl']
else:
library_dirs = None
libraries = None
for fn in os.listdir(path): for fn in os.listdir(path):
if not fn.endswith(".pyx"): if not fn.endswith(".pyx"):
continue continue
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment