summaryrefslogtreecommitdiff
path: root/scripts/cmake
diff options
context:
space:
mode:
authoralexander <alexander.efremov@arm.com>2021-07-06 19:47:59 +0100
committerAlexander Efremov <alexander.efremov@arm.com>2021-07-08 17:30:49 +0100
commit80eecfbdaad689c52d5a6d370a322f3d6a6150e4 (patch)
tree3c7d06d1e9e227981fa072fccab5a360a39ad1d7 /scripts/cmake
parent1da52aeb4468ad97c09e383400bbabc8c3c77227 (diff)
downloadml-embedded-evaluation-kit-80eecfbdaad689c52d5a6d370a322f3d6a6150e4.tar.gz
MLECO-1987: Minor refactoring.
ASRSlidingWindow can be used in other use-cases, thus it was renamed to decouple from ASR. Signed-off-by: alexander <alexander.efremov@arm.com> Change-Id: I2df977e4f18f490a532e0f27e3625b153ca464d7
Diffstat (limited to 'scripts/cmake')
-rw-r--r--scripts/cmake/native-sources.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/cmake/native-sources.cmake b/scripts/cmake/native-sources.cmake
index 1b1431a..dc8f263 100644
--- a/scripts/cmake/native-sources.cmake
+++ b/scripts/cmake/native-sources.cmake
@@ -33,6 +33,11 @@ endif()
set(TENSORFLOW_LITE_MICRO_PLATFORM_LIB_NAME "libtensorflow-microlite.a")
set(TENSORFLOW_LITE_MICRO_FLAGS "-DTF_LITE_STATIC_MEMORY -DACTIVATION_BUF_SRAM_SZ=0")
+if (DEFINED VERIFY_TEST_OUTPUT)
+ message(STATUS "Test output verification flag is: ${VERIFY_TEST_OUTPUT}")
+ set(PROFILING_OPT "${PROFILING_OPT} -DVERIFY_TEST_OUTPUT=${VERIFY_TEST_OUTPUT}")
+endif ()
+
set(CMAKE_C_FLAGS
"${PROFILING_OPT} ${LOG_FLAG} ${TENSORFLOW_LITE_MICRO_FLAGS}"
CACHE INTERNAL "")