From 2257c09357b4d365bf5e3f407a432cab4dc0b33e Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Thu, 22 Apr 2021 15:51:01 +0000 Subject: [PATCH] chore: Quieter builds --- runtime/tests/CMSIS_5_NN | 2 +- runtime/tests/Makefile | 26 +++++++++++++++++--------- runtime/tests/TinyEKF | 2 +- runtime/tests/sod | 2 +- 4 files changed, 20 insertions(+), 12 deletions(-) diff --git a/runtime/tests/CMSIS_5_NN b/runtime/tests/CMSIS_5_NN index 503fc07..3507d3d 160000 --- a/runtime/tests/CMSIS_5_NN +++ b/runtime/tests/CMSIS_5_NN @@ -1 +1 @@ -Subproject commit 503fc07b2248dc006cc5409ed964632ebd29352a +Subproject commit 3507d3d0001db45eedbb65072f5fe7cad8bcb59b diff --git a/runtime/tests/Makefile b/runtime/tests/Makefile index 0002492..61aa2c0 100644 --- a/runtime/tests/Makefile +++ b/runtime/tests/Makefile @@ -7,31 +7,39 @@ TESTSRT=$(TESTS:%=%_rt) .PHONY: all clean rttests tinyekf cifar10 gocr sod all: rttests tinyekf cifar10 gocr sod - @echo "Compilation done!" + @echo "Test Compilation done!" rttests: $(TESTSRT) clean: + @echo "Cleaning Test Applications" @rm -rf ${TMP_DIR} @rm -rf ${SLEDGE_BIN_DIR}/*_wasm.so + @make clean -C ./TinyEKF/extras/c/ -f wasm.mk + @make clean -C ./CMSIS_5_NN/ -f Makefile + @make clean -C ./gocr/src/ -f wasm.mk + @make clean -C ./sod/ tinyekf: - make gps_ekf_fn.so -C ./TinyEKF/extras/c/ -f wasm.mk - cp ./TinyEKF/extras/c/gps_ekf_fn.so ${SLEDGE_BIN_DIR}/ekf_wasm.so + @echo "Making and Installing tinyekf" + @make gps_ekf_fn.so -C ./TinyEKF/extras/c/ -f wasm.mk + @cp ./TinyEKF/extras/c/gps_ekf_fn.so ${SLEDGE_BIN_DIR}/ekf_wasm.so cifar10: - make cifar10.so -C ./CMSIS_5_NN/ -f Makefile - cp ./CMSIS_5_NN/cifar10.so ${SLEDGE_BIN_DIR}/cifar10_wasm.so + @echo "Making and Installing cifar10" + @make cifar10.so -C ./CMSIS_5_NN/ -f Makefile + @cp ./CMSIS_5_NN/cifar10.so ${SLEDGE_BIN_DIR}/cifar10_wasm.so gocr: @echo "Making and Installing gocr" - make gocr.so -C ./gocr/src/ -f wasm.mk + @make gocr.so -C ./gocr/src/ -f wasm.mk @cp ./gocr/src/gocr.so ${SLEDGE_BIN_DIR}/gocr_wasm.so sod: - make clean dir samples.so -C ./sod/ - cp ./sod/bin/license_plate_detection.so ${SLEDGE_BIN_DIR}/lpd_wasm.so - cp ./sod/bin/resize_image.so ${SLEDGE_BIN_DIR}/resize_wasm.so + @echo "Making and Installing license_plate_detection and image_resize" + @make dir samples.so -C ./sod/ + @cp ./sod/bin/license_plate_detection.so ${SLEDGE_BIN_DIR}/lpd_wasm.so + @cp ./sod/bin/resize_image.so ${SLEDGE_BIN_DIR}/resize_wasm.so %_rt: @mkdir -p ${TMP_DIR} diff --git a/runtime/tests/TinyEKF b/runtime/tests/TinyEKF index 58857dc..76daf1d 160000 --- a/runtime/tests/TinyEKF +++ b/runtime/tests/TinyEKF @@ -1 +1 @@ -Subproject commit 58857dc898e3e2f4cbfd5d12e31e6e2ad273add4 +Subproject commit 76daf1da0546dd04896f20ae630cdeea0280c095 diff --git a/runtime/tests/sod b/runtime/tests/sod index 9728147..2f57d46 160000 --- a/runtime/tests/sod +++ b/runtime/tests/sod @@ -1 +1 @@ -Subproject commit 9728147fe396ab7946909ab0155c4c6dd77ea082 +Subproject commit 2f57d46df4074be9374f6021cef955b17702380e