Skip to content

Commit 20c3dd9

Browse files
authored
Fix ninja build, and use it (#325)
Signed-off-by: Edward Z. Yang <ezyang@meta.com>
1 parent 13d7a2c commit 20c3dd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def get_extensions():
112112
if suffix == 'cuda' and osp.exists(path):
113113
sources += [path]
114114

115-
phmap_dir = "third_party/parallel-hashmap"
115+
phmap_dir = osp.abspath("third_party/parallel-hashmap")
116116

117117
Extension = CppExtension if suffix == 'cpu' else CUDAExtension
118118
extension = Extension(
@@ -167,7 +167,7 @@ def get_extensions():
167167
ext_modules=get_extensions() if not BUILD_DOCS else [],
168168
cmdclass={
169169
'build_ext':
170-
BuildExtension.with_options(no_python_abi_suffix=True, use_ninja=False)
170+
BuildExtension.with_options(no_python_abi_suffix=True)
171171
},
172172
packages=find_packages(),
173173
include_package_data=include_package_data,

0 commit comments

Comments
 (0)