File tree Expand file tree Collapse file tree 3 files changed +2
-9
lines changed
Expand file tree Collapse file tree 3 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -73,17 +73,11 @@ def nanobind_pywrap_extension(
7373 name = name ,
7474 srcs = [src_cc_name ],
7575 deps = [":" + lib_name ],
76+ data = pytype_srcs ,
7677 linkopts = linkopts ,
7778 visibility = visibility ,
7879 default_deps = [],
7980 common_lib_packages = [
8081 "jaxlib" ,
8182 ],
8283 )
83-
84- # Create a py_library with the type stubs as data, on which wheel builds can depend.
85- native .py_library (
86- name = name + "_type_stubs" ,
87- data = pytype_srcs ,
88- deps = pytype_deps ,
89- )
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ py_binary(
6767 "//jaxlib:jaxlib_binaries" ,
6868 "//jaxlib:setup.py" ,
6969 "//jaxlib/xla:xla_client.py" ,
70- "//jaxlib/xla:xla_extension_type_stubs " ,
70+ "//jaxlib/xla:xla_extension " ,
7171 "@xla//xla/ffi/api:api.h" ,
7272 "@xla//xla/ffi/api:c_api.h" ,
7373 "@xla//xla/ffi/api:ffi.h" ,
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ pytype_strict_library(
3737 [],
3838 [
3939 "//jaxlib/mlir/_mlir_libs:_triton_ext" ,
40- "//jaxlib/mlir/_mlir_libs:_triton_ext_type_stubs" ,
4140 ],
4241 ),
4342)
You can’t perform that action at this time.
0 commit comments