Skip to content

Commit ed5e2fb

Browse files
ai-edge-botcopybara-github
authored andcommitted
Build LiteRT benchmark with litert_bin
benchmark_model is 4KB aligned on arm64 in OSS version, but we would it to be 16KB aligned on Android and using litert_bin to build can resolve this. LiteRT-PiperOrigin-RevId: 826310315
1 parent 42f1026 commit ed5e2fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

litert/tools/BUILD

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,8 +590,9 @@ cc_library(
590590
],
591591
)
592592

593-
cc_binary(
593+
litert_bin(
594594
name = "benchmark_model",
595+
export_litert_only = True,
595596
deps = [":benchmark_model_main"] + GPU_ACCELERATOR_DEPS,
596597
)
597598

0 commit comments

Comments
 (0)