Skip to content

Commit 496e431

Browse files
author
Michael Andreas Dagitses
committed
move setup_helpers programs to shared build structure
Pull Request resolved: #74849 ghstack-source-id: 152377144 Differential Revision: [D35191356](https://our.internmc.facebook.com/intern/diff/D35191356/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35191356/)!
1 parent 7f1ef8e commit 496e431

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

tools/setup_helpers/build.bzl

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
def define_targets(rules):
2+
rules.py_binary(
3+
name = "generate_code",
4+
srcs = ["generate_code.py"],
5+
visibility = ["//:__pkg__"],
6+
deps = [
7+
rules.requirement("PyYAML"),
8+
rules.requirement("setuptools"),
9+
"//tools/autograd",
10+
"//tools/codegen",
11+
],
12+
)
13+
14+
rules.py_binary(
15+
name = "gen_version_header",
16+
srcs = ["gen_version_header.py"],
17+
visibility = ["//:__pkg__"],
18+
)

0 commit comments

Comments
 (0)