Skip to content

Commit d3c2e7e

Browse files
committed
feat(//third_party/tensorrt): Add back TensorRT static lib in a cross
platform friendly way Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
1 parent 8eda27d commit d3c2e7e

File tree

1 file changed

+4
-0
lines changed
  • third_party/tensorrt/local

1 file changed

+4
-0
lines changed

third_party/tensorrt/local/BUILD

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ cc_import(
6767
":windows": "lib/nvinfer.dll",
6868
"//conditions:default": "lib/x86_64-linux-gnu/libnvinfer.so",
6969
}),
70+
static_library = select({
71+
":windows": "lib/nvinfer.lib",
72+
"//conditions:default": ""
73+
}),
7074
visibility = ["//visibility:private"],
7175
)
7276

0 commit comments

Comments
 (0)