From e54ecfe204eb32c0c5691f39f3371107e8220d37 Mon Sep 17 00:00:00 2001 From: abhiTronix Date: Mon, 26 Aug 2024 01:11:35 +0530 Subject: [PATCH] Fixed validate environment variables check in `CIBB_64b` build script --- build-scripts/CI/CIBB_64b | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/build-scripts/CI/CIBB_64b b/build-scripts/CI/CIBB_64b index feda642..6d24371 100644 --- a/build-scripts/CI/CIBB_64b +++ b/build-scripts/CI/CIBB_64b @@ -110,16 +110,15 @@ FOLDER_VERSION=64 KERNEL=kernel8 ARCH=armv8-a+fp+simd TARGET=aarch64-linux-gnu -GDB_VERSION=10.2 +GDB_VERSION=15.1 #validate env variables if ! [[ "$GCC_VERSION" =~ ^(8.3.0|10.2.1|12.2.0)$ ]]; then exit 1; fi if ! [[ "$GLIBC_VERSION" =~ ^(2.28|2.31|2.36)$ ]]; then exit 1; fi if ! [[ "$BINUTILS_VERSION" =~ ^(2.31.1|2.35.2|2.40)$ ]]; then exit 1; fi -if ! [[ "$FOLDER_VERSION" =~ ^(0|1|2)$ ]]; then exit 1; fi -if ! [[ "$KERNEL" =~ ^(kernel|kernel7)$ ]]; then exit 1; fi -if ! [[ "$ARCH" =~ ^(armv6|armv7-a|armv8-a)$ ]]; then exit 1; fi -if ! [[ "$FPU" =~ ^(vfp|neon-vfpv4|neon-fp-armv8)$ ]]; then exit 1; fi +if [ "$KERNEL" != "kernel8" ]; then exit 1; fi +if [ "$ARCH" != "armv8-a+fp+simd" ]; then exit 1; fi +if [ "$FOLDER_VERSION" != "64" ]; then exit 1; fi if [ "$BUILDDIR" = "" ]; then exit 1; fi if [ "$LANGUAGES" = "" ]; then exit 1; fi