Skip to content

Commit 0189a6f

Browse files
Update on "Move version.h to torch/headeronly"
Differential Revision: [D83685392](https://our.internmc.facebook.com/intern/diff/D83685392) [ghstack-poisoned]
1 parent 82b5cf8 commit 0189a6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,12 +145,12 @@ def define_targets(rules):
145145
rules.genrule(
146146
name = "version_h",
147147
srcs = [
148-
":torch/headeronly/version.h.in",
148+
":torch/headeronly:version.h.in",
149149
":version.txt",
150150
],
151151
outs = ["torch/csrc/api/include/torch/version.h"],
152152
cmd = "$(execpath //tools/setup_helpers:gen_version_header) " +
153-
"--template-path $(location :torch/headeronly/version.h.in) " +
153+
"--template-path $(location :torch/headeronly:version.h.in) " +
154154
"--version-path $(location :version.txt) --output-path $@ ",
155155
tools = ["//tools/setup_helpers:gen_version_header"],
156156
)

0 commit comments

Comments
 (0)