Check if the license server is available for armcc

Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
This commit is contained in:
Pengyu Lv 2023-02-24 18:31:50 +08:00
parent df07003c49
commit 55c4fa4f41

View file

@ -3506,9 +3506,11 @@ component_build_armcc () {
armc6_build_test "-O1 --target=aarch64-arm-none-eabi -march=armv8.2-a+crypto"
}
support_build_armcc () {
arm5_cc="$ARMC5_BIN_DIR/armcc"
arm6_cc="$ARMC6_BIN_DIR/armclang"
`check_tools "$arm5_cc" "$arm6_cc" > /dev/null 2>&1`
armc5_cc="$ARMC5_BIN_DIR/armcc"
armc6_cc="$ARMC6_BIN_DIR/armclang"
# check if Arm Compiler is installed and license server is available.
("$armc5_cc" --help > /dev/null 2>&1) && \
("$armc6_cc" --help > /dev/null 2>&1)
}
component_test_tls13_only () {