Skip to content

Commit f8bddd7

Browse files
cccclaifacebook-github-bot
authored andcommitted
Add demo backend to size_test_all_ops
Summary: For pp we can share size_test_all_ops binary running a lowered model and it needs the demo backend. Reviewed By: dbort Differential Revision: D47652404 fbshipit-source-id: 563b15e82a94719d0faef729f2dd647c68deafc6
1 parent 2c9391c commit f8bddd7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

runtime/executor/test/targets.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ def define_common_targets():
2020
"//executorch/runtime/backend/...",
2121
"//executorch/extension/pybindings/...",
2222
"//executorch/sdk/runners/...",
23+
"//executorch/test/...",
2324
],
2425
# registration of backends is done through a static global
2526
compiler_flags = ["-Wno-global-constructors"],

test/targets.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ def define_common_targets():
3636
srcs = SIZE_TEST_SOURCES,
3737
deps = SIZE_TEST_DEPS + [
3838
"//executorch/kernels/portable:generated_lib_all_ops",
39+
"//executorch/runtime/executor/test:test_backend_compiler_lib",
3940
],
4041
define_static_target = True,
4142
)

0 commit comments

Comments
 (0)