File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 11load ("@fbsource//xplat/executorch/build:runtime_wrapper.bzl" , "runtime" )
2+ load (
3+ "@fbsource//xplat/executorch/kernels/portable:op_registration_util.bzl" ,
4+ "get_compiler_optimization_flags" ,
5+ )
6+
27
38def define_common_targets ():
49 """Defines targets that should be shared between fbcode and xplat.
@@ -34,7 +39,7 @@ def define_common_targets():
3439 "//executorch/kernels/portable/cpu/util:reduce_util" ,
3540 "//executorch/extension/llm/custom_ops/spinquant:fast_hadamard_transform" ,
3641 ],
37- compiler_flags = ["-Wno-missing-prototypes" , "-Wno-global-constructors" ],
42+ compiler_flags = ["-Wno-missing-prototypes" , "-Wno-global-constructors" ] + get_compiler_optimization_flags () ,
3843 visibility = [
3944 "//executorch/..." ,
4045 "//executorch/extension/llm/custom_ops/..." ,
You can’t perform that action at this time.
0 commit comments