Merge pull request #3359 from ronald-cron-arm/tool_versions-2.7

Backport 2.7: Add output of make, cmake and python3 versions
This commit is contained in:
danh-arm 2020-05-27 17:44:15 +01:00 committed by GitHub
commit 64cad2fa07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,7 @@
# This includes:
# - architecture of the system
# - type and version of the operating system
# - version of make and cmake
# - version of armcc, clang, gcc-arm and gcc compilers
# - version of libc, clang, asan and valgrind if installed
# - version of gnuTLS and OpenSSL
@ -71,6 +72,12 @@ echo
echo "** Tool Versions:"
echo
print_version "make" "--version" "" "head -n 1"
echo
print_version "cmake" "--version" "" "head -n 1"
echo
if [ "${RUN_ARMCC:-1}" -ne 0 ]; then
: "${ARMC5_CC:=armcc}"
print_version "$ARMC5_CC" "--vsn" "" "head -n 2"
@ -105,6 +112,9 @@ echo
print_version "python" "--version" "" "head -n 1"
echo
print_version "python3" "--version" "" "head -n 1"
echo
print_version "pylint3" "--version" "" "sed /^.*config/d" "grep pylint"
echo