Build:`no_merge` Workarond for psa-arch-test
Global `no_merge` increased tfm-test test code size much. Create
a temp workaround specific for psa-arch-test. The final solution
is under investigating.
Change-Id: I9c8853c39e322d57ba8e29b9d8c3caedd987d75c
Signed-off-by: Shawn Shan <Shawn.Shan@arm.com>
diff --git a/toolchain_ARMCLANG.cmake b/toolchain_ARMCLANG.cmake
index 13df5bd..68e320a 100644
--- a/toolchain_ARMCLANG.cmake
+++ b/toolchain_ARMCLANG.cmake
@@ -60,7 +60,7 @@
--strict
--symbols
--xref
- $<$<VERSION_GREATER:${TFM_ISOLATION_LEVEL},1>:--no-merge>
+ $<$<AND:$<VERSION_GREATER:${TFM_ISOLATION_LEVEL},1>,$<STREQUAL:"${TEST_PSA_API}","IPC">>:--no-merge>
# Suppress link warnings that are consistant (and therefore hopefully
# harmless)
# https://developer.arm.com/documentation/100074/0608/linker-errors-and-warnings/list-of-the-armlink-error-and-warning-messages