diff --git a/third_party/tensorrt/local/BUILD b/third_party/tensorrt/local/BUILD index 31626a211d..d608063529 100644 --- a/third_party/tensorrt/local/BUILD +++ b/third_party/tensorrt/local/BUILD @@ -63,6 +63,7 @@ cc_library( [ "include/x86_64-linux-gnu/NvInfer*.h", ], + allow_empty = True, exclude = [ "include/x86_64-linux-gnu/NvInferPlugin.h", "include/x86_64-linux-gnu/NvInferPluginUtils.h",