Logo
Explore Help
Sign In
OSSForks/tensorflow
1
0
Fork 0
You've already forked tensorflow
mirror of https://github.com/zebrajr/tensorflow.git synced 2026-01-15 12:15:41 +00:00
Code Issues Actions 5 Packages Projects Releases Wiki Activity
Files
c88e65287124863a6440a493ec9ec8441240b4b5
tensorflow/third_party/systemlibs/pybind11.BUILD

9 lines
174 B
Plaintext
Raw Normal View History

systemlibs: unbundle pybind11 If pybind11 is installed on the system its headers are already captured by @local_config_python//:python_headers, so the system lib only needs to depend on that. When installed correctly, includes should be #include "pybind11/...", the bundled pybind11 is based off the source repo which does not match the install paths. Use bazels strip_include_prefix to align the bundled headers correctly. Signed-off-by: Jason Zaman <jason@perfinion.com>
2020-01-25 21:16:23 +08:00
package(default_visibility = ["//visibility:public"])
cc_library(
name = "pybind11",
deps = [
Internal dir restructure PiperOrigin-RevId: 756084150
2025-05-07 18:22:09 -07:00
"@xla@local_xla//third_party/python_runtime:headers",
systemlibs: unbundle pybind11 If pybind11 is installed on the system its headers are already captured by @local_config_python//:python_headers, so the system lib only needs to depend on that. When installed correctly, includes should be #include "pybind11/...", the bundled pybind11 is based off the source repo which does not match the install paths. Use bazels strip_include_prefix to align the bundled headers correctly. Signed-off-by: Jason Zaman <jason@perfinion.com>
2020-01-25 21:16:23 +08:00
],
)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 8111ms Template: 69ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API