This reverts commite7568b68daand relandsc6f7b720ec. The culprit was: missed that libc also had a dependency on one of the copies of `google-benchmark` Also opportunistically fixed indentation from prev. change. Differential Revision: https://reviews.llvm.org/D112012
21 lines
474 B
Plaintext
21 lines
474 B
Plaintext
cc_library(
|
|
name = "pybind11",
|
|
hdrs = glob(
|
|
include = [
|
|
"include/pybind11/*.h",
|
|
"include/pybind11/detail/*.h",
|
|
],
|
|
exclude = [
|
|
"include/pybind11/common.h",
|
|
"include/pybind11/eigen.h",
|
|
],
|
|
),
|
|
copts = [
|
|
"-fexceptions",
|
|
"-Wno-undefined-inline",
|
|
"-Wno-pragma-once-outside-header",
|
|
],
|
|
includes = ["include"],
|
|
visibility = ["//visibility:public"],
|
|
)
|