Update benchmark flash target Update the grep syntax to get all the benchmark tarball targets Change-Id: I4405cd2f6313b3699550c2a51cd08e66e963e02b
diff --git a/platforms/nexus/sim.mk b/platforms/nexus/sim.mk index c493c47..cac9c7e 100644 --- a/platforms/nexus/sim.mk +++ b/platforms/nexus/sim.mk
@@ -171,19 +171,11 @@ ext_flash_model_benchmarks: | $(OUT_BENCHMARKS) cd ml/ml-models && \ bazel query "//benchmarks/..." + "@ml_models_public//benchmarks/..." | \ - grep -E "benchmark_device_fpga$$" | \ - xargs bazel build + grep -E "device_fpga_extflash$$" | \ + xargs bazel build --build_tag_filters=-broken find ml/ml-models/bazel-bin/ \ -type f \ -name '*_extflash.tar' \ -exec cp -f {} "$(OUT_BENCHMARKS)/" \; -ext_flash_public_model_benchmarks: | $(OUT_BENCHMARKS) - cd ml/ml-models-public - bazel build $$(bazel query //benchmarks/... | grep -E "benchmark_device_fpga$$") - find ml/ml-models-public/bazel-bin/benchmarks/ \ - -type f \ - -name '*_extflash.tar' \ - -exec cp -f {} "$(OUT_BENCHMARKS)/" \; - .PHONY:: ext_flash_model_benchmarks ext_flash_public_model_benchmarks