mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Move version.h to torch/headeronly (#164381)
Differential Revision: [D83685392](https://our.internmc.facebook.com/intern/diff/D83685392) Pull Request resolved: https://github.com/pytorch/pytorch/pull/164381 Approved by: https://github.com/janeyx99
This commit is contained in:
committed by
PyTorch MergeBot
parent
b13cd141b3
commit
f37a6523ef
12
build.bzl
12
build.bzl
@ -142,18 +142,6 @@ def define_targets(rules):
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
rules.genrule(
|
||||
name = "version_h",
|
||||
srcs = [
|
||||
":torch/csrc/api/include/torch/version.h.in",
|
||||
":version.txt",
|
||||
],
|
||||
outs = ["torch/csrc/api/include/torch/version.h"],
|
||||
cmd = "$(execpath //tools/setup_helpers:gen_version_header) " +
|
||||
"--template-path $(location :torch/csrc/api/include/torch/version.h.in) " +
|
||||
"--version-path $(location :version.txt) --output-path $@ ",
|
||||
tools = ["//tools/setup_helpers:gen_version_header"],
|
||||
)
|
||||
|
||||
#
|
||||
# ATen generated code
|
||||
|
Reference in New Issue
Block a user