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