From e238d51eb9ac6eaad2ae3d9394fc395e7081e8c1 Mon Sep 17 00:00:00 2001 From: apbose Date: Wed, 23 Jul 2025 11:57:57 -0700 Subject: [PATCH 1/2] addressing ngc aarch64 error --- third_party/tensorrt/local/BUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/third_party/tensorrt/local/BUILD b/third_party/tensorrt/local/BUILD index 31626a211d..3388cda214 100644 --- a/third_party/tensorrt/local/BUILD +++ b/third_party/tensorrt/local/BUILD @@ -63,7 +63,8 @@ cc_library( [ "include/x86_64-linux-gnu/NvInfer*.h", ], - exclude = [ + allow_empty = True, + exclude = [ "include/x86_64-linux-gnu/NvInferPlugin.h", "include/x86_64-linux-gnu/NvInferPluginUtils.h", ], From 9fb2432bf745c56576de519b6fd8680c4a68a746 Mon Sep 17 00:00:00 2001 From: apbose Date: Thu, 28 Aug 2025 14:34:19 -0700 Subject: [PATCH 2/2] correct indentation --- third_party/tensorrt/local/BUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/tensorrt/local/BUILD b/third_party/tensorrt/local/BUILD index 3388cda214..d608063529 100644 --- a/third_party/tensorrt/local/BUILD +++ b/third_party/tensorrt/local/BUILD @@ -64,7 +64,7 @@ cc_library( "include/x86_64-linux-gnu/NvInfer*.h", ], allow_empty = True, - exclude = [ + exclude = [ "include/x86_64-linux-gnu/NvInferPlugin.h", "include/x86_64-linux-gnu/NvInferPluginUtils.h", ],