Buildify tensorrt's generated BUILD file.
Ran buildifier and manually fixed the package location. PiperOrigin-RevId: 240188658
This commit is contained in:
parent
97bebc917b
commit
f665d09225
15
third_party/tensorrt/BUILD.tpl
vendored
15
third_party/tensorrt/BUILD.tpl
vendored
@ -3,12 +3,12 @@
|
||||
|
||||
licenses(["notice"])
|
||||
|
||||
exports_files(["LICENSE"])
|
||||
|
||||
load("@local_config_cuda//cuda:build_defs.bzl", "cuda_default_copts")
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
exports_files(["LICENSE"])
|
||||
|
||||
cc_library(
|
||||
name = "tensorrt_headers",
|
||||
hdrs = [%{tensorrt_headers}],
|
||||
@ -18,15 +18,14 @@ cc_library(
|
||||
cc_library(
|
||||
name = "tensorrt",
|
||||
srcs = %{tensorrt_libs},
|
||||
copts = cuda_default_copts(),
|
||||
data = %{tensorrt_libs},
|
||||
copts= cuda_default_copts(),
|
||||
deps = [
|
||||
"@local_config_cuda//cuda:cuda",
|
||||
":tensorrt_headers",
|
||||
],
|
||||
linkstatic = 1,
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
":tensorrt_headers",
|
||||
"@local_config_cuda//cuda",
|
||||
],
|
||||
)
|
||||
|
||||
%{copy_rules}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user