mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-16 02:56:30 +00:00

Reverts revert #118517 after (hopefully) fixing builders (https://github.com/llvm/llvm-zorg/pull/328, https://github.com/llvm/llvm-zorg/pull/327) This reverts commit 61bf308cf2fc32452f14861c102ace89f5f36fec.
26 lines
494 B
Plaintext
26 lines
494 B
Plaintext
cc_library(
|
|
name = "nanobind",
|
|
srcs = glob(
|
|
[
|
|
"src/*.cpp",
|
|
],
|
|
exclude = ["src/nb_combined.cpp"],
|
|
),
|
|
defines = [
|
|
"NB_BUILD=1",
|
|
"NB_SHARED=1",
|
|
],
|
|
includes = ["include"],
|
|
textual_hdrs = glob(
|
|
[
|
|
"include/**/*.h",
|
|
"src/*.h",
|
|
],
|
|
),
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"@robin_map",
|
|
"@rules_python//python/cc:current_py_cc_headers",
|
|
],
|
|
)
|