Files
pytorch/torchgen/BUCK.oss
Linbin Yu 1683a2618d rename BUILD.buck to BUCK.oss (#78792)
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
2022-06-03 07:23:16 +00:00

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",
],
)