From 9e5cdd425902bd9ebc335adf713416b0cb41c141 Mon Sep 17 00:00:00 2001 From: Scott Roy Date: Fri, 2 Oct 2026 15:24:44 -0700 Subject: [PATCH] Fix IG dynamic shim Ferraris static linkage Differential Revision: D123102340 --- shim_et/xplat/executorch/codegen/codegen.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shim_et/xplat/executorch/codegen/codegen.bzl b/shim_et/xplat/executorch/codegen/codegen.bzl index 9eba82e09e0..ce0acf105c6 100644 --- a/shim_et/xplat/executorch/codegen/codegen.bzl +++ b/shim_et/xplat/executorch/codegen/codegen.bzl @@ -1184,7 +1184,7 @@ def check_recursive_dependencies( runtime.genrule( name = name, macros_only = False, - cmd = 'mkdir -p $OUT;paths="$(query_targets allpaths({}, {}))"; echo "$paths" > $OUT/dep.txt; if [ -z "$paths" ]; then echo "Dependencies look good"; else echo {}. This will cause duplicate symbol errors when building with dtype selective build. The dependency path is: "$paths"; fail; fi'.format(parent, child, message), + cmd = 'mkdir -p $OUT;paths="$(query_targets allpaths({}, {}))"; echo "$paths" > $OUT/dep.txt; if [ -z "$paths" ]; then echo "Dependencies look good"; else echo {}. This will cause duplicate symbol errors when building with dtype selective build. The dependency path is: "$paths"; exit 1; fi'.format(parent, child, message), define_static_target = False, # The path is saved to $OUT/dep.txt and can be accessed via genrule_name[result]. outs = {"result": ["dep.txt"]},