Skip to content

Commit

Permalink
feat(//:libtrtorch): Ship trtorchc with the tarball
Browse files Browse the repository at this point in the history
Signed-off-by: Naren Dasan <[email protected]>
Signed-off-by: Naren Dasan <[email protected]>
  • Loading branch information
narendasan committed May 31, 2020
1 parent f3370c4 commit d647447
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ pkg_tar(
"//core/conversion:include",
"//core/conversion/conversionctx:include",
"//core/conversion/converters:include",
"//core/conversion/var:include",
"//core/conversion/tensorcontainer:include",
"//core/conversion/evaluators:include",
"//core/execution:include",
"//core/lowering:include",
Expand Down Expand Up @@ -35,6 +37,15 @@ pkg_tar(
)


pkg_tar(
name = "bin",
package_dir = "bin/",
srcs = [
"//cpp/trtorchc:trtorchc",
],
mode = "0755",
)



pkg_tar(
Expand All @@ -46,6 +57,7 @@ pkg_tar(
],
deps = [
":lib",
":bin",
":include",
":include_core",
],
Expand Down
2 changes: 1 addition & 1 deletion core/conversion/var/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ load("@rules_pkg//:pkg.bzl", "pkg_tar")

pkg_tar(
name = "include",
package_dir = "core/conversion/arg/",
package_dir = "core/conversion/var/",
srcs = [
"Var.h",
"Var_inl.h"
Expand Down

0 comments on commit d647447

Please sign in to comment.