Skip to content

Commit 6abcb53

Browse files
manuelcandalesAdam Ernst
andauthored
Stop using autoglob mode constants (pytorch#18022)
Summary: There's no point to using constants for this, it's an immediate Buck parse error if you use an invalid mode. It's an extra step the AI needs to figure out (and humans!) - just use strings. Reviewed By: d16r Differential Revision: D95399679 Co-authored-by: Adam Ernst <adamjernst@meta.com>
1 parent c385ed0 commit 6abcb53

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

extension/apple/BUCK

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ oncall("executorch")
99

1010
non_fbcode_target(_kind = fb_apple_library,
1111
name = "ExecuTorch",
12-
autoglob_mode = EXPORT_UNLESS_INTERNAL,
12+
autoglob_mode = "EXPORT_UNLESS_INTERNAL",
1313
extension_api_only = True,
1414
frameworks = [
1515
"Foundation",

extension/llm/apple/BUCK

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ oncall("executorch")
1010

1111
non_fbcode_target(_kind = fb_apple_library,
1212
name = "ExecuTorchLLM",
13-
autoglob_mode = EXPORT_UNLESS_INTERNAL,
13+
autoglob_mode = "EXPORT_UNLESS_INTERNAL",
1414
extension_api_only = True,
1515
frameworks = [
1616
"Foundation",

0 commit comments

Comments
 (0)