File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ buck2 query "//backends/apple/... + //backends/example/... + \
15
15
//kernels/optimized/... + //kernels/portable/... + //kernels/quantized/... + \
16
16
//kernels/test/... + //runtime/... + //schema/... + //test/... + //util/..."
17
17
18
- UNBUILDABLE_OPTIMIZED_OPS_REGEX=" gelu|fft_r2c |log_softmax"
18
+ UNBUILDABLE_OPTIMIZED_OPS_REGEX=" _elu| gelu|fft |log_softmax"
19
19
BUILDABLE_OPTIMIZED_OPS=$( buck2 query //kernels/optimized/cpu/... | grep -E -v $UNBUILDABLE_OPTIMIZED_OPS_REGEX )
20
20
21
21
# TODO: build prim_ops_test_cpp again once supported_features works in
@@ -24,6 +24,8 @@ BUILDABLE_KERNELS_PRIM_OPS_TARGETS=$(buck2 query //kernels/prim_ops/... | grep -
24
24
# TODO: expand the covered scope of Buck targets.
25
25
# //runtime/kernel/... is failing because //third-party:torchgen_files's shell script can't find python on PATH.
26
26
# //runtime/test/... requires Python torch, which we don't have in our OSS buck setup.
27
- buck2 test $BUILDABLE_OPTIMIZED_OPS //kernels/portable/... \
28
- $BUILDABLE_KERNELS_PRIM_OPS_TARGETS //runtime/backend/... //runtime/core/... \
29
- //runtime/executor: //runtime/kernel/... //runtime/platform/...
27
+ for op in " build" " test" ; do
28
+ buck2 $op $BUILDABLE_OPTIMIZED_OPS //kernels/portable/... \
29
+ $BUILDABLE_KERNELS_PRIM_OPS_TARGETS //runtime/backend/... //runtime/core/... \
30
+ //runtime/executor: //runtime/kernel/... //runtime/platform/...
31
+ done
Original file line number Diff line number Diff line change @@ -78,9 +78,11 @@ def define_common_targets():
78
78
"@EXECUTORCH_CLIENTS" ,
79
79
],
80
80
deps = [
81
- "//executorch/runtime/core/exec_aten:lib" ,
82
81
"//executorch/runtime/core/exec_aten/util:scalar_type_util" ,
83
82
],
83
+ exported_deps = [
84
+ "//executorch/runtime/core/exec_aten:lib" ,
85
+ ],
84
86
)
85
87
86
88
# Used for dtype selective build. Collect source and header files.
You can’t perform that action at this time.
0 commit comments