Skip to content

Commit

Permalink
[Performance] Fix Cython not being imported after switching to RTLD_L…
Browse files Browse the repository at this point in the history
…OCAL (dmlc#2608)

* fix

* ?

Co-authored-by: Jinjing Zhou <[email protected]>
  • Loading branch information
BarclayII and VoVAllen authored Feb 2, 2021
1 parent 20d4977 commit 47c9380
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,8 @@ def config_cython():
subdir = "_cy2"
ret = []
path = "dgl/_ffi/_cython"
if os.name == 'nt':
library_dirs = ['dgl', '../build/Release', '../build']
libraries = ['libtvm']
else:
library_dirs = None
libraries = None
library_dirs = ['dgl', '../build/Release', '../build']
libraries = ['dgl']
for fn in os.listdir(path):
if not fn.endswith(".pyx"):
continue
Expand Down

0 comments on commit 47c9380

Please sign in to comment.