Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 1 addition & 15 deletions shim/xplat/executorch/kernels/portable/op_registration_util.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,7 @@ load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "is_xplat", "runti
load("@fbsource//xplat/executorch/build:selects.bzl", "selects")

def get_compiler_optimization_flags():
# various ovr_configs are not available in oss
if not runtime.is_oss:
compiler_flags = select({
"DEFAULT": [],
"ovr_config//os:android-arm64": [
"-O2",
],
"ovr_config//os:iphoneos": [
"-O2",
],
"ovr_config//os:macos-arm64": [
"-O2",
],
})
return compiler_flags
# App size regressons requires this to be baktraced until I have a better solution
return []

def op_target(name, deps = [], android_deps = [], _allow_third_party_deps = False, _aten_mode_deps = []):
Expand Down
Loading