From d64744710ff6b267be88b0005f4a397a6167e26c Mon Sep 17 00:00:00 2001 From: Naren Dasan Date: Sat, 30 May 2020 21:28:59 -0700 Subject: [PATCH] feat(//:libtrtorch): Ship trtorchc with the tarball Signed-off-by: Naren Dasan Signed-off-by: Naren Dasan --- BUILD | 12 ++++++++++++ core/conversion/var/BUILD | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/BUILD b/BUILD index 48f2ae5338..02829531b2 100644 --- a/BUILD +++ b/BUILD @@ -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", @@ -35,6 +37,15 @@ pkg_tar( ) +pkg_tar( + name = "bin", + package_dir = "bin/", + srcs = [ + "//cpp/trtorchc:trtorchc", + ], + mode = "0755", +) + pkg_tar( @@ -46,6 +57,7 @@ pkg_tar( ], deps = [ ":lib", + ":bin", ":include", ":include_core", ], diff --git a/core/conversion/var/BUILD b/core/conversion/var/BUILD index e1c92efb12..247f939e48 100644 --- a/core/conversion/var/BUILD +++ b/core/conversion/var/BUILD @@ -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"