mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
rename BUILD.buck to BUCK.oss to better reflect that it's the OSS version of BUCK build, not the one shared with Bazel Pull Request resolved: https://github.com/pytorch/pytorch/pull/78792 Approved by: https://github.com/kit1980
24 lines
395 B
Plaintext
24 lines
395 B
Plaintext
python_library(
|
|
name = "torchgen",
|
|
srcs = glob(
|
|
["**/*.py"],
|
|
),
|
|
base_module = "torchgen",
|
|
visibility = ["PUBLIC"],
|
|
deps = [
|
|
"//third_party:pyyaml",
|
|
"//third_party:typing-extensions",
|
|
],
|
|
)
|
|
|
|
python_binary(
|
|
name = "gen",
|
|
main_module = "torchgen.gen",
|
|
visibility = [
|
|
"PUBLIC",
|
|
],
|
|
deps = [
|
|
":torchgen",
|
|
],
|
|
)
|