Skip to content

Commit b1994b8

Browse files
authored
Fix IG dynamic shim Ferraris static linkage (pytorch#23378)
Summary: Pull Request resolved: pytorch#23378 Reviewed By: digantdesai, JacobSzwejbka Differential Revision: D123102340 Pull Request resolved: pytorch#23378
1 parent f086509 commit b1994b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎shim_et/xplat/executorch/codegen/codegen.bzl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1184,7 +1184,7 @@ def check_recursive_dependencies(
11841184
runtime.genrule(
11851185
name = name,
11861186
macros_only = False,
1187-
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),
1187+
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),
11881188
define_static_target = False,
11891189
# The path is saved to $OUT/dep.txt and can be accessed via genrule_name[result].
11901190
outs = {"result": ["dep.txt"]},

0 commit comments

Comments
 (0)