Skip to content

Commit 17e9e9c

Browse files
tomi-fontadeaarm
authored andcommitted
build: Allow bypassing the tf-m-tests version checks
Introduce the CMake variable TFM_TESTS_REVISION_CHECKS to allow not performing the revision checks in the tf-m-tests repo. This is needed for TF-M forks where the upstream tags are not found, which makes the build fail. Change-Id: I10371841925f9fb811f0d47a2e0dc2c9e8e7cfac Signed-off-by: Tomi Fontanilles <[email protected]>
1 parent 2226cde commit 17e9e9c

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

config/config_base.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ set(INSTALL_PLATFORM_NS_DIR ${CMAKE_INSTALL_PREFIX}/platform)
3030
set(TFM_DEBUG_SYMBOLS ON CACHE BOOL "Add debug symbols. Note that setting CMAKE_BUILD_TYPE to Debug or RelWithDebInfo will also add debug symbols.")
3131
set(TFM_CODE_COVERAGE OFF CACHE BOOL "Whether to build the binary for lcov tools")
3232

33+
set(TFM_TESTS_REVISION_CHECKS ON CACHE BOOL "Whether to perform checks on the tf-m-tests repository revision.")
34+
3335
set(PROJECT_CONFIG_HEADER_FILE "" CACHE FILEPATH "User defined header file for TF-M config")
3436

3537
# External libraries source and version

config/spe_config.cmake.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,4 @@ set(TFM_VERSION @TFM_VERSION@)
7676
set(TFM_NS_MANAGE_NSID @TFM_NS_MANAGE_NSID@)
7777

7878
set(RECOMMENDED_TFM_TESTS_VERSION @TFM_TESTS_VERSION@)
79+
set(CHECK_TFM_TESTS_VERSION @TFM_TESTS_REVISION_CHECKS@)

lib/ext/tf-m-tests/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
# Developers should keep the version value up to date to make sure it fits current TF-M version.
99
# TF-M does not rely on this file to build.
1010

11-
version=ed49ce7
11+
version=d438e9b

0 commit comments

Comments
 (0)