File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,10 @@ def tflite_copts():
24
24
"/wd4018" , # -Wno-sign-compare
25
25
],
26
26
"//conditions:default" : [
27
+ "-Wno-deprecated-declarations" ,
27
28
"-Wno-sign-compare" ,
29
+ "-Wno-unused-const-variable" ,
30
+ "-Wno-unused-function" ,
28
31
],
29
32
}) + select ({
30
33
clean_dep ("//tensorflow:optimized" ): ["-O3" ],
Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ cc_library(
26
26
"nnapi_delegate.h" ,
27
27
"nnapi_delegate_kernel.h" ,
28
28
],
29
+ copts = [
30
+ "-Wno-unused-private-field" ,
31
+ ],
29
32
deps = [
30
33
"//tensorflow/lite:allocation" ,
31
34
"//tensorflow/lite:kernel_api" ,
Original file line number Diff line number Diff line change @@ -565,7 +565,10 @@ cc_library(
565
565
"optimized/neon_tensor_utils.h" ,
566
566
"optimized/neon_tensor_utils_impl.h" ,
567
567
],
568
- copts = NEON_FLAGS_IF_APPLICABLE + HARD_FP_FLAGS_IF_APPLICABLE ,
568
+ copts = NEON_FLAGS_IF_APPLICABLE + HARD_FP_FLAGS_IF_APPLICABLE + [
569
+ "-Wno-deprecated-declarations" ,
570
+ "-Wno-unused-function" ,
571
+ ],
569
572
deps = [
570
573
":common" ,
571
574
":compatibility" ,
You can’t perform that action at this time.
0 commit comments