Build ENV: Output current build env before start
Print the build environment of the host machine.
This may help when issues cause by different tool versions.
Change-Id: If27cd3ab42dc1c963ed9a6991d7e92b623323bc3
Signed-off-by: Karl Zhang <karl.zhang@arm.com>
diff --git a/run-build.sh b/run-build.sh
index c239bbb..a7f84f2 100755
--- a/run-build.sh
+++ b/run-build.sh
@@ -20,6 +20,18 @@
exit 1
fi
+set +e
+echo "output current build environment"
+cat /etc/issue
+uname -a
+grep -c ^processor /proc/cpuinfo
+armclang --version
+arm-none-eabi-gcc --version
+cmake --version
+python --version
+make --version
+
+set -ex
build_commands=$(python3 tf-m-ci-scripts/configs.py -b -g all $CONFIG_NAME)
if [ -z "$build_commands" ] ; then