Skip to content

Commit 3802b0b

Browse files
Linking Cython extensions with DPCTL lib (#1121)
1 parent ceab3dd commit 3802b0b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@
134134
"""
135135
kwargs_common = {
136136
"include_dirs": [numpy.get_include(), dpctl.get_include()] + _project_backend_dir,
137+
"library_dirs": [os.path.dirname(dpctl.get_include()),],
138+
"libraries": ["DPCTLSyclInterface"],
137139
"extra_compile_args": _sdl_cflags,
138140
"extra_link_args": _project_extra_link_args,
139141
"define_macros": [("NPY_NO_DEPRECATED_API", "NPY_1_7_API_VERSION")],

0 commit comments

Comments
 (0)