1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

Merge pull request #9738 from mpg/drop-armcc5-dev

[dev] Drop building with armcc5 in all.sh
This commit is contained in:
Manuel Pégourié-Gonnard
2024-10-31 08:12:40 +00:00
committed by GitHub
3 changed files with 6 additions and 25 deletions

View File

@ -548,8 +548,9 @@ component_build_arm_clang_thumb () {
}
component_build_armcc () {
msg "build: ARM Compiler 5"
# Common configuration for all the builds below
scripts/config.py baremetal
# armc[56] don't support SHA-512 intrinsics
scripts/config.py unset MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT
@ -566,13 +567,6 @@ component_build_armcc () {
scripts/config.py set MBEDTLS_HAVE_ASM
make CC="$ARMC5_CC" AR="$ARMC5_AR" WARNING_CFLAGS='--strict --c99' lib
msg "size: ARM Compiler 5"
"$ARMC5_FROMELF" -z library/*.o
"$ARMC5_FROMELF" -z ${PSA_CORE_PATH}/*.o
"$ARMC5_FROMELF" -z ${BUILTIN_SRC_PATH}/*.o
# Compile mostly with -O1 since some Arm inline assembly is disabled for -O0.
# ARM Compiler 6 - Target ARMv7-A
@ -605,7 +599,6 @@ component_build_armcc () {
}
support_build_armcc () {
armc5_cc="$ARMC5_BIN_DIR/armcc"
armc6_cc="$ARMC6_BIN_DIR/armclang"
(check_tools "$armc5_cc" "$armc6_cc" > /dev/null 2>&1)
(check_tools "$armc6_cc" > /dev/null 2>&1)
}