mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-16 18:36:38 +00:00

Previously these targets were disabled, but with a relatively new rules_python we can build these pointing at a hermetic python, which allows us to build these safely. Users can still access the files directly if they need to customize how these are built.
16 lines
384 B
Plaintext
16 lines
384 B
Plaintext
cc_library(
|
|
name = "pybind11",
|
|
hdrs = glob(
|
|
include = ["include/pybind11/**/*.h"],
|
|
exclude = [
|
|
# Deprecated file that just emits a warning
|
|
"include/pybind11/common.h",
|
|
],
|
|
),
|
|
includes = ["include"],
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"@rules_python//python/cc:current_py_cc_headers",
|
|
],
|
|
)
|