1package(default_visibility = ["//visibility:public"]) 2 3cc_library( 4 name = "pybind11", 5 hdrs = glob( 6 include = [ 7 "include/pybind11/*.h", 8 "include/pybind11/detail/*.h", 9 ], 10 exclude = [ 11 "include/pybind11/common.h", 12 "include/pybind11/eigen.h", 13 ], 14 ), 15 copts = [ 16 "-fexceptions", 17 "-Wno-undefined-inline", 18 "-Wno-pragma-once-outside-header", 19 ], 20 includes = ["include"], 21 strip_include_prefix = "include", 22 deps = [ 23 "@org_tensorflow//third_party/python_runtime:headers", 24 ], 25) 26