aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKen Liu <Ken.Liu@arm.com>2020-11-10 14:19:03 +0800
committerKen Liu <ken.liu@arm.com>2020-11-10 14:21:21 +0800
commit1d6ab65cf5a7e615643c27374d94d35c7eed29ee (patch)
tree6bad6c7dc3704ed159cac8b7f4e9e9b92703ea88 /lib
parentc13a5d81b5a00463b632e9d4cbd91dafe59e7114 (diff)
downloadtrusted-firmware-m-1d6ab65cf5a7e615643c27374d94d35c7eed29ee.tar.gz
Build: Disable SHALLOW fetch for psa_arch_test
SHALLOW fetch won't work if GIT_TAG points to a commit ID instead of a branch or tag. Disable SHALLOW fetch to make commit fetch work. Change-Id: Iecd2419c60e8566165ba598c50cf311fd4fffce8 Signed-off-by: Ken Liu <Ken.Liu@arm.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/ext/psa_arch_tests/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ext/psa_arch_tests/CMakeLists.txt b/lib/ext/psa_arch_tests/CMakeLists.txt
index 9b640e508..cb51a7158 100644
--- a/lib/ext/psa_arch_tests/CMakeLists.txt
+++ b/lib/ext/psa_arch_tests/CMakeLists.txt
@@ -21,7 +21,7 @@ if ("${PSA_ARCH_TESTS_PATH}" STREQUAL "DOWNLOAD")
FetchContent_Declare(psa_arch_tests
GIT_REPOSITORY https://github.com/ARM-software/psa-arch-tests.git
GIT_TAG ${PSA_ARCH_TESTS_VERSION}
- GIT_SHALLOW TRUE
+ GIT_SHALLOW FALSE
GIT_PROGRESS TRUE
GIT_SUBMODULES ""
PATCH_COMMAND ${GIT_EXECUTABLE} apply ${PATCH_FILES}
@@ -30,7 +30,7 @@ if ("${PSA_ARCH_TESTS_PATH}" STREQUAL "DOWNLOAD")
FetchContent_Declare(psa_arch_tests
GIT_REPOSITORY https://github.com/ARM-software/psa-arch-tests.git
GIT_TAG ${PSA_ARCH_TESTS_VERSION}
- GIT_SHALLOW TRUE
+ GIT_SHALLOW FALSE
GIT_PROGRESS TRUE
GIT_SUBMODULES ""
)