From fffdcf032030620e57329f54a13a8cc49658ee1a Mon Sep 17 00:00:00 2001 From: Rajasekaran Kalidoss Date: Wed, 10 Apr 2024 11:31:47 +0200 Subject: Print useful core_platform build variables To make it easier to verify the settings used for a build, additional prints of useful cmake variables has been added to the CmakeLists.txt file. Change-Id: I147144ed9eea07ad2d90e5f7eaa3f665e0220c95 Signed-off-by: Rajasekaran Kalidoss --- applications/CMakeLists.txt | 9 +++++++-- targets/common/CMakeLists.txt | 12 +++++++++++- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/applications/CMakeLists.txt b/applications/CMakeLists.txt index 1fa2b2e..a017575 100644 --- a/applications/CMakeLists.txt +++ b/applications/CMakeLists.txt @@ -1,6 +1,5 @@ # -# SPDX-FileCopyrightText: Copyright 2021, 2023 Arm Limited and/or its affiliates -# +# SPDX-FileCopyrightText: Copyright 2021, 2023-2024 Arm Limited and/or its affiliates # SPDX-License-Identifier: Apache-2.0 # # Licensed under the Apache License, Version 2.0 (the License); you may @@ -32,3 +31,9 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "ARMClang") # Only armclang supported for now add_subdirectory(trustzone_inference) endif() + +message(STATUS "*******************************************************") +message(STATUS "PROJECT_NAME : ${PROJECT_NAME}") +message(STATUS "TR_ARENA_SIZE : ${TR_ARENA_SIZE}") +message(STATUS "MESSAGE_HANDLER_ARENA_SIZE : ${MESSAGE_HANDLER_ARENA_SIZE}") +message(STATUS "*******************************************************") diff --git a/targets/common/CMakeLists.txt b/targets/common/CMakeLists.txt index 0001172..eb7916b 100644 --- a/targets/common/CMakeLists.txt +++ b/targets/common/CMakeLists.txt @@ -1,6 +1,5 @@ # # SPDX-FileCopyrightText: Copyright 2021, 2024 Arm Limited and/or its affiliates -# # SPDX-License-Identifier: Apache-2.0 # # Licensed under the Apache License, Version 2.0 (the License); you may @@ -69,3 +68,14 @@ add_library(ethosu_target_init INTERFACE) target_link_libraries(ethosu_target_init INTERFACE ethosu_target_startup) target_sources(ethosu_target_init INTERFACE src/init.cpp) +# +# Print build status +# + +message(STATUS "*******************************************************") +message(STATUS "PROJECT_NAME : ${PROJECT_NAME}") +message(STATUS "FAST_MEMORY_SIZE : ${FAST_MEMORY_SIZE}") +message(STATUS "MEMORY_MODEL : ${MEMORY_MODEL}") +message(STATUS "MEMORY_ARENA : ${MEMORY_ARENA}") +message(STATUS "TARGET_CPU : ${TARGET_CPU}") +message(STATUS "*******************************************************") -- cgit v1.2.1