Skip to content

Commit

Permalink
feat(//third_party/tensorrt): Add back TensorRT static lib in a cross
Browse files Browse the repository at this point in the history
platform friendly way

Signed-off-by: Naren Dasan <naren@narendasan.com>
Signed-off-by: Naren Dasan <narens@nvidia.com>
  • Loading branch information
narendasan committed Aug 6, 2020
1 parent 8eda27d commit d3c2e7e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions third_party/tensorrt/local/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ cc_import(
":windows": "lib/nvinfer.dll",
"//conditions:default": "lib/x86_64-linux-gnu/libnvinfer.so",
}),
static_library = select({
":windows": "lib/nvinfer.lib",
"//conditions:default": ""
}),
visibility = ["//visibility:private"],
)

Expand Down

0 comments on commit d3c2e7e

Please sign in to comment.