Skip to content

Commit ae41854

Browse files
lucylqRon Edelstein
andauthored
Set warnings_as_errors to false on remaining unset targets (pytorch#17788)
Summary: This sets warnings_as_errors to False on the remaining targets that have it unset. Since False is the default this is an effective no-op. Differential Revision: D94846286 Co-authored-by: Ron Edelstein <rone@meta.com>
1 parent 30450e9 commit ae41854

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • extension/android

extension/android/BUCK

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ oncall("executorch")
55

66
non_fbcode_target(_kind = fb_android_library,
77
name = "executorch",
8+
warnings_as_errors = False,
89
required_for_source_only_abi = True,
910
srcs = [
1011
"executorch_android/src/main/java/org/pytorch/executorch/DType.java",
@@ -28,6 +29,7 @@ non_fbcode_target(_kind = fb_android_library,
2829

2930
non_fbcode_target(_kind = fb_android_library,
3031
name = "executorch_training",
32+
warnings_as_errors = False,
3133
srcs = [
3234
"executorch_android/src/main/java/org/pytorch/executorch/training/SGD.java",
3335
"executorch_android/src/main/java/org/pytorch/executorch/training/TrainingModule.java",
@@ -43,6 +45,7 @@ non_fbcode_target(_kind = fb_android_library,
4345

4446
non_fbcode_target(_kind = fb_android_library,
4547
name = "executorch_llama",
48+
warnings_as_errors = False,
4649
srcs = [
4750
"executorch_android/src/main/java/org/pytorch/executorch/extension/llm/LlmCallback.java",
4851
"executorch_android/src/main/java/org/pytorch/executorch/extension/llm/LlmGenerationConfig.java",

0 commit comments

Comments
 (0)