Skip to content

Commit d647447

Browse files
committed
feat(//:libtrtorch): Ship trtorchc with the tarball
Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
1 parent f3370c4 commit d647447

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

BUILD

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ pkg_tar(
88
"//core/conversion:include",
99
"//core/conversion/conversionctx:include",
1010
"//core/conversion/converters:include",
11+
"//core/conversion/var:include",
12+
"//core/conversion/tensorcontainer:include",
1113
"//core/conversion/evaluators:include",
1214
"//core/execution:include",
1315
"//core/lowering:include",
@@ -35,6 +37,15 @@ pkg_tar(
3537
)
3638

3739

40+
pkg_tar(
41+
name = "bin",
42+
package_dir = "bin/",
43+
srcs = [
44+
"//cpp/trtorchc:trtorchc",
45+
],
46+
mode = "0755",
47+
)
48+
3849

3950

4051
pkg_tar(
@@ -46,6 +57,7 @@ pkg_tar(
4657
],
4758
deps = [
4859
":lib",
60+
":bin",
4961
":include",
5062
":include_core",
5163
],

core/conversion/var/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ load("@rules_pkg//:pkg.bzl", "pkg_tar")
3030

3131
pkg_tar(
3232
name = "include",
33-
package_dir = "core/conversion/arg/",
33+
package_dir = "core/conversion/var/",
3434
srcs = [
3535
"Var.h",
3636
"Var_inl.h"

0 commit comments

Comments
 (0)