Skip to content

Commit d0464f8

Browse files
authored
Sync shim_et/xplat/executorch/kernels/optimized/op_registration_util.bzl (#10924)
Sync with internal: https://www.internalfb.com/code/fbsource/xplat/executorch/kernels/optimized/op_registration_util.bzl
1 parent 8d53a28 commit d0464f8

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

shim_et/xplat/executorch/kernels/optimized/op_registration_util.bzl

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
# Copyright (c) Meta Platforms, Inc. and affiliates.
2-
#
3-
# This source code is licensed under both the MIT license found in the
4-
# LICENSE-MIT file in the root directory of this source tree and the Apache
5-
# License, Version 2.0 found in the LICENSE-APACHE file in the root directory
6-
# of this source tree.
7-
81
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
92
load("@fbsource//xplat/executorch/build:selects.bzl", "selects")
103
load(
@@ -106,7 +99,7 @@ def define_op_library(name, compiler_flags, deps):
10699
# pragma unroll fails with -Os, don't need to warn us and
107100
# fail Werror builds; see https://godbolt.org/z/zvf85vTsr
108101
"-Wno-pass-failed",
109-
] + get_compiler_optimization_flags(),
102+
] + compiler_flags + get_compiler_optimization_flags(),
110103
deps = [
111104
"//executorch/runtime/kernel:kernel_includes",
112105
] + augmented_deps + get_vec_deps(),

0 commit comments

Comments
 (0)